- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
I am trying to bring up Bluetooth in UART using CYW43455 module.
I have done the following steps:
1. Enabled BT_REG_ON to output high.
2. Bluez has been set up in the board.
3. Copied the firmware from cyw-bt-patch/BCM4345C0_003.001.025.0144.0266.1MW.hcd at master · murata-wireless/cyw-bt-patch · GitH... to /etc/firmware folder.
4. I did hciattach and following are the logs.
$ 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
5. Then I tried pairing 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 ". Can you help me resolving this issue?
Thanks,
Sakthi
Solved! Go to Solution.
- Tags:
- bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SaKr_4783036 ,
- Based on the information provided, looks like the BT stack is up and running and patchram was downloaded successfully?
However can you please confirm if you have followed the steps as in attached doc.
2. Unfortunately, there is no other additional information to know why the pairing failed, the message alone “Failed to pair: org.bluez.Error.AuthenticationFailed” is not helpful.
[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
- It would be helpful if you could check additional details such as:
a. what type of device he is trying to pair with?
b. Can you capture HCI snoop log (btmon) – see section on “Bluez HCI logging” in the attached presentation pages 11 – 14.
i. You can then analyze snoop / btmon log for other errors
c. If possible an OTA logs with help of LE sniffer also helps to figure out issue
d. Get a kernel log to see if there are any errors - dmesg
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello SaKr_4783036 ,
- Can you please try initiate the connect request first and then try pair.
- Please check the peer device pair settings or try to connect to any other device and see if it works or still getting error
- Can you please try suggestions in below threads having similar issue:
- Can you try using hcitool utility and see if you are facing same type of errors (Running BlueZ on CY Part )
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
I have tried the solutions mentioned in the links mentioned above. It didn't help. And also I tried to connect before pair. It also didn't work. Even I tried hcitool utility mentioned in the above link. That also didn't resolve this issue. Is there any bluetooth driver needed for CYW43455? If yes, Can please tell which one to use? AnjanaM_61
Thanks,
Sakthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SaKr_4783036
What exactly is the peer device you are trying to connect? Did you checked the pairing method & IO capabilities that peer device is expecting?
Did you tried connecting the peer device with any other Central device?
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using custom board with Jetson Nano module. I tried to connect my board to laptop,mobile and bluetooth headse. I got the same issue as above in alll the case.
Thanks,
Sakthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Am I using the right firmware? Is anything missing?
Can you please help me to resolve this issue?
Thanks,
Sakthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SaKr_4783036 ,
- Based on the information provided, looks like the BT stack is up and running and patchram was downloaded successfully?
However can you please confirm if you have followed the steps as in attached doc.
2. Unfortunately, there is no other additional information to know why the pairing failed, the message alone “Failed to pair: org.bluez.Error.AuthenticationFailed” is not helpful.
[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
- It would be helpful if you could check additional details such as:
a. what type of device he is trying to pair with?
b. Can you capture HCI snoop log (btmon) – see section on “Bluez HCI logging” in the attached presentation pages 11 – 14.
i. You can then analyze snoop / btmon log for other errors
c. If possible an OTA logs with help of LE sniffer also helps to figure out issue
d. Get a kernel log to see if there are any errors - dmesg
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content