Pairing issue with Bluetooth in CYW43455

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
SaKr_4783036
Level 1
Level 1
First like given

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

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.

Hi SaKr_4783036 ,

  1. 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

  1. 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

View solution in original post

0 Likes
7 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

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:

https://askubuntu.com/questions/865487/pairing-bluetooth-keyboard-that-needs-code-failed-to-pair-org...

https://community.intel.com/t5/Intel-Makers/How-do-I-solve-Failed-to-pair-org-bluez-Error/td-p/49888...

persistent org.bluez.Error.AuthenticationFailed on Debian Sid · Issue #677 · blueman-project/blueman...

- Can you try using hcitool utility and see if you are facing same type of errors (Running BlueZ on CY Part )

Regards,

Anjana

0 Likes

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

0 Likes

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

0 Likes

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

0 Likes
SaKr_4783036
Level 1
Level 1
First like given

Am I using the right firmware? Is anything missing?

Can you please help me to resolve this issue?

VinayakS_26

ZhengbaoZ_96

GauravS_31

KaNa_3391246

RyKi_1693141

CarlosT_06

AnjanaM_61

MichaelF_56

SheetalJ_96

Thanks,

Sakthi

0 Likes
lock attach
Attachments are accessible only for community members.

Hi SaKr_4783036 ,

  1. 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

  1. 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

0 Likes

Hi SaKr_4783036 ,

Were you able to fix the issue ?

Regards,

Anjana

0 Likes