$ sudo hciattach -t 30 /dev/ttyTHS1 bcm43xx 3000000 flow
bcm43xx_init
Set Controller UART speed to 3000000 bit/s>
Flash firmware /etc/firmware/BCM4345C0_003.001.025.0144.0266.1MW.hcd>
Set Controller UART speed to 3000000 bit/s
Device setup complete
Then I tried pairing from board to device with bluetoothctl and got the following logs:
$ sudo bluetoothctl>
[NEW] Controller 48:EB:62:C2:B8:C7 BlueZ 5.48 [default]
Agent registered [bluetooth]# agent on>
Agent is already registered> [bluetooth]# default-agent
Default agent request successful [bluetooth]# scan on
Discovery started
[CHG] Controller 48:EB:62:C2:B8:C7 Discovering: yes
[NEW] Device 75:6E:A7:64:9C:05 75-6E-A7-64-9C-05
[NEW] Device 94:65:2D:99:CD:12 793ffad1
[NEW] Device 0D:61:95:00:1C:9B boAt Rockerz 600> [bluetooth]# scan off
[CHG] Device 0D:61:95:00:1C:9B RSSI is nil
[CHG] Device 94:65:2D:99:CD:12 RSSI is nil
[CHG] Device 75:6E:A7:64:9C:05 RSSI is nil
[CHG] Controller 48:EB:62:C2:B8:C7 Discovering: no
Discovery stopped [bluetooth]# pair 0D:61:95:00:1C:9B
Attempting to pair with 0D:61:95:00:1C:9B>
[CHG] Device 0D:61:95:00:1C:9B Connected: yes
Failed to pair: org.bluez.Error.AuthenticationFailed>
[CHG] Device 0D:61:95:00:1C:9B Connected: no
I am getting the above issue " Failed to pair: org.bluez.Error.AuthenticationFailed ". But If I try to pair and connect from the device to my board it is successful. Can you help me to resolve this issue?
There is a note on this page that says if the device does not have a pin, then you may need to manully ‘trust’ the device first by executing the ‘trust’ command.
Thanks for your reply. I have tried the commands that you have mentioned, the output is as follows:
#bluetoothctl
Agent registered
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[NEW] Device D8:BB:2C:3C:88:8F iPhone
[bluetooth]# scan off
[CHG] Device D8:BB:2C:3C:88:8F RSSI is nil
[CHG] Controller 48:EB:62:C3:A0:D7 Discovering: no
Discovery stopped
[bluetooth]# devices
Device D8:BB:2C:3C:88:8F iPhone
[bluetooth]# remove D8:BB:2C:3C:88:8F
[DEL] Device D8:BB:2C:3C:88:8F iPhone
Device has been removed
[bluetooth]# trust D8:BB:2C:3C:88:8F
Device D8:BB:2C:3C:88:8F not available
I am getting the error “device not available”, if I try to remove the device and trust the device. Could you please let me know what other things I need to check?
I’m also facing the same issue as reported by @sakthikrishna.b.
I’m using CYM43455 module with the customized board and Jetson Nano SoM.
When I try to pair bluetooth with other bluetooth supported device like mobile, the pairing does not occur.
The bluez version I am using is 5.48
The problem is when the “pair” command is issued, it connects for one instance and disconnects immediately in less than 30seconds. But the device is not getting paired and the connection is also not established.
( Below logs for reference)
[bluetooth]# pair F4:F5:F6:F3:88:3C
Attempting to pair with F4:F5:F6:F3:88:3C
[CHG] Device F4:F5:F6:F3:88:3C Connected: yes
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device F4:F5:F6:F3:88:3C Connected: no
I tried using connect <bt-adrs> command too and got the below error. Failed to pair: org.bluez.Error.ConnectionAttemptFailed
I have also tried the above solutions mentioned in this question chain. Still the issue exists.
Can anyone please help me find the cause of the issue?