Closed augustozanellato closed 4 years ago
That is obviously a bluetooth connection problem. Adapter not powered on? Maybe wrong address? Already connected to something else?
btw: You don't need root for the serial, just for scanning.
Adapter not powered on?
The adapter is on, rfkill says it's unblocked, Gnome also says that Bluetooth is enabled
Maybe wrong address?
It was copy-pasted from ble-scan
output
Already connected to something else?
Nope
Edit: the device I'm trying to connect to is an AT-09 dongle flashed with genuine HM-10 firmware, I can connect to it and exchange data without any problems with my phone
Hmm, in theory this should work. ble-serial just passes the address to the bluepy library and this log indicates that it throws a BTLEDisconnectError almost immediately, so possibly a bug in the library...
Does it work with bluetoothctl
and connect 5c:f8:21:96:f0:c2
? Just to rule out issues with the host setup.
Closing because of inactivity.
When I try to connect to an HM-10 module using
sudo ble-serial -v -d 5c:f8:21:96:f0:c2
I get the following output