Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cornrow will no longer pair with a device which has removed it #41

Open
i-h8-github opened this issue Dec 19, 2024 · 5 comments
Open

cornrow will no longer pair with a device which has removed it #41

i-h8-github opened this issue Dec 19, 2024 · 5 comments

Comments

@i-h8-github
Copy link

Hello,

When a device pairs with cornrow, then "forgets" cornrow, then tries to pair with it again, it becomes impossible due to "incorrect pairing code". This was tested on an Android phone.

Thank you for your software.

@mincequi
Copy link
Owner

Hello,
not quite sure about your setup, but this might be an issue with the pairing policy of your system.

@i-h8-github
Copy link
Author

I guess it's whatever the pairing policy of an Android phone is. That phone is now permanently unable to pair with cornrow, regardless of any number of restarts. Only thing I haven't tried is factory resetting the phone.

I don't know what else there is to try with cornrow except restarting, but that also has no effect. I tried looking around the system for some kind of file related to cornrow to see if removing that could have an effect, but couldn't find any.

@KuabeM
Copy link
Contributor

KuabeM commented Dec 25, 2024

Can you check if it's still remembered by the system running cornrow? I guess it's rather a problem that this system still knows about this device.

I usually manage bluetooth devices with bluetoothctl:

bluetoothctl devices
bluetoothctl remove <device id>

@i-h8-github
Copy link
Author

The phone still won't pair after having removed it via bluetoothctl.

@KuabeM
Copy link
Contributor

KuabeM commented Jan 5, 2025

You could try connecting/paring your phone from the cornrow-system also via bluetoothctl. The comands should be along something like this:

# enter interactive menu
bluetoothctl
$ scan on
# scanning for discoverable/pairable devices, wait a bit until your phone shows up
$ devices
$ pair <mac-address>
$ trust <mac-address> # enable auto-connect

Make sure that your phone is discoverable.

You can also check the logs, maybe journalctl -fu bluetooth.service shows something relevant when you try to connect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants