I have successfully discovered, paired, and trusted the device, but when I attempt to connect I get the following log:
Code: Select all
[bluetooth]# connect 00:13:43:42:D6:8B
Attempting to connect to 00:13:43:42:D6:8B
[CHG] Device 00:13:43:42:D6:8B Connected: yes
[CHG] Device 00:13:43:42:D6:8B ServicesResolved: yes
Failed to connect: org.bluez.Error.NotAvailable
[CHG] Device 00:13:43:42:D6:8B ServicesResolved: no
[CHG] Device 00:13:43:42:D6:8B Connected: no
[CHG] Device 00:13:43:42:D6:8B LegacyPairing: yes
[CHG] Device 00:13:43:42:D6:8B LegacyPairing: no
[CHG] Device 00:13:43:42:D6:8B LegacyPairing: yes
[CHG] Device 00:13:43:42:D6:8B LegacyPairing: no
[CHG] Device 00:13:43:42:D6:8B LegacyPairing: yes
[CHG] Device 00:13:43:42:D6:8B LegacyPairing: noHow can I get bluez to connect to this device, as well as give me utilities such as RFCOMM.
Thanks.
Edit:: After a little more digging I edited `/etc/init.d/bluetooth` to run the bluetoothd command with -C compatibility mode, and It seems to connect, but after removing the bluetooth device (untrust, remove) and repairing and attempting to connect again, I get `Failed to connect: org.bluez.Error.NotAvailable` after pairing and attempting to connect.
Edit2:: I seem to be getting a lot of `[ 4323.138748] Bluetooth: hci0: last event is not cmd complete (0x0f)` in my dmesg. Not sure what it means.
Edit3:: I got the rfcomm tool installed, I must of typod the depreciated use flag. Although when trying to pair now via bluetoothctl I get `Failed to pair: org.bluez.Error.AuthenticationCanceled` after about 10 seconds of it being "connected"
Edit4:: After a bit of digging this piece of hardware uses the createInsecureRfcommSocket method in Android, Is there a way to mimic this connection standard? I am not positive, but I think I need to authenticate using a UUID? Might explain the reason for the AuthenticationCanceled error?
