Bonding Issue :Unauthenticated Pairing with Encryption doesn't work

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

cross mob
lock attach
Attachments are accessible only for community members.
shrac_2642471
Level 4
Level 4
5 likes given First like received First like given

Hi I have a problem with bonding issue. I have created a BLE device with following configuration

img1.JPG

Now the device I am implementing doesn't have input and output to perform authentication. As a result when I go for secure connection, I chose pairing as Unauthenticated Pairing with Encryption

img2.JPG

Now I am trying to pair it with LightBlue Application running on my Mobile phone. So I see that the connection to my BLE device happens successfully. However there is no Bonding that happens although I have enabled bonding in the configuration. Also I am not even getting CYBLE_EVT_GAP_ENCRYPT_CHANGE event. I am not sure if there is something I am missing in the configuration. For your information I am attaching my stack handler code as well.

Please let me know what I am doing in correct out here. I had a look at the PSoC 100 projects in 100 days as well PSoC-4-BLE/100_Projects_in_100_Days at master · cypresssemiconductorco/PSoC-4-BLE · GitHub but couldn't find too much information regarding my problem. I am not sure what am I doing incorrect.

Best Regards,
Shrey

0 Likes
1 Reply
shrac_2642471
Level 4
Level 4
5 likes given First like received First like given

Okay,

I figured this out. Looks like I had to clean up the pairing on my old Samsung Galaxy J3. Once I did that it started working after the above changes. I see that it even works for iPhone as well.