Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Bluetooth never pairs
#1
Hello. Pairing with 6 digit PIN never success. Phone keep asking pin again and again. 
Pairing with None suceeds, but then fails to connect second time. Read some info about sspmode and just gave up, seems like just protocol incompatibility in rpi bt software.
How to manually pair my phone and turn off discovery and guard with pin so just my already paired devices are trusted and listed as auto-connect?
Reply
#2
Doesn't work from my iPhone either but when this option was introduced in the initial 9.0.0 release back in May some users reported it was working for their Android phone.

The pairing agent being used is bt-agent from the bluez-tools package
https://packages.debian.org/bookworm/bluez-tools
https://github.com/khvzak/bluez-tools

There is also another custom developed pairing agent in the source tree that was used prior to 9.0.0 and the switch to bt-agent. The file is  /var/www/daemon/blu-agent.py. It didn't work for PIN code pairing either when I tested it.

I don't have much bluetooth expertise but maybe another dev that knows the bluetooth stack and pairing protocols can provide some insights.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(07-27-2024, 12:51 PM)Tim Curtis Wrote: Doesn't work from my iPhone either but when this option was introduced in the initial 9.0.0 release back in May some users reported it was working for their Android phone.

The pairing agent being used is bt-agent from the bluez-tools package
https://packages.debian.org/bookworm/bluez-tools
https://github.com/khvzak/bluez-tools

There is also another custom developed pairing agent in the source tree that was used prior to 9.0.0 and the switch to bt-agent. The file is  /var/www/daemon/blu-agent.py. It didn't work for PIN code pairing either when I tested it.

I don't have much bluetooth expertise but maybe another dev that knows the bluetooth stack and pairing protocols can provide some insights.

I don't have much bluetooth expertise either so take the following for what it's worth.

- Pixel 6a, Android 14 - connects when I enter the 6-diit PIN I preset in moOde.

- iPhone SE, iOS 17.5.1 - does not connect when I enter the 6-digit PIN

- iPad 9.7, iPadOS 17.5.1 - does not connect when I enter the 6-digit PIN

All three show up in moOde's Bluetooth Control screen when I ask to "LIST paired" devices.

Same result if I delete all devices, start the BT process over, and try to connect only the iPhone SE: no connection.

Regards,
Kent
Reply
#4
Hello, did you manage to find any solution? I can't pair anything actually: I have a Raspberry Pi 3B, but impossible to pair (failure) and then Moode Audio is stuck. I can't do anything but rebooting the Pi.

I managed to use bluetooth in the past with my laptop, not anymore with Moode 9.
Reply
#5
(11-18-2024, 03:37 PM)sisim Wrote: Hello, did you manage to find any solution? I can't pair anything actually: I have a Raspberry Pi 3B, but impossible to pair (failure) and then Moode Audio is stuck. I can't do anything but rebooting the Pi.

I managed to use bluetooth in the past with my laptop, not anymore with Moode 9.


You haven't given any details. I feel like I'm missing something since I don't know how one could make moOde become "stuck" after a failed attempt to pair with a Bluetooth device.

Are you trying to use a Bluetooth PIN code for authentication of the connecting device? Did you try connecting without setting a PIN (displayed in the webUI as "None")? Works for me with 64-bit moOde 9.1.4 on Zero 2W, 3A+, 3B, 3B+, 4B, 5B.


As an aside, its always better to start a new thread rather than tailgate on a zombie one. If necessary you can include links to old threads.


Regards,
Kent
Reply


Forum Jump: