This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Understanding Pairing and Bonding.

I am trying to implement pairing and bonding feature on my application. I have referred to few questions on the forum regarding the same but I am unable to find a complete test procedure.

I have checked my code with the one mentioned here

My security parameters are similar to the ones mentioned for Just Works bonding.

However, I do not have peer_manager_event_handler() in my code. Not sure if this is necessary.

The biggest issue I am facing is in a strong testing procedure.

The link here says that BLE_APP_HRS comes with peer_manager library and is configured to work in Just Works bonding mode.

The problem is, when I try to bond the device using nRF Connect Android application, the device is able to bond but the behaviour is not consistent with that of bonding. The device does not connect automatically on resetting the device or relaunching the application.

Any insight on this would be much appreciated.

Thanks.

Related