This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Maximum Bonded Device

Hi,

I am facing an issue. I have an iOS app and a glucose application. When i pair with the iOS device it works fine. If i do forget device and again pair after forgetting the device after 8-10 times, i get an error connection error time out. The issue i think is due to the limitation of #define DEVICE_MANAGER_MAX_BONDS 7.

How can i solve this issue.

Best Regards, Sumit Singhal

  • With DEVICE_MANAGER_MAX_BONDS set to 7, the nRF5 can store 7 bonds. If you delete the bond information on the smart phone the nRF5 will see it as an unknown device and create a new bond. The old bond(s) will still be there. When you have stored 7 bonds, you will not be able to store anymore bonds.

    The issue is solved by deleting bonds. How and when you delete bonds depends on your application.

    This is one way of handling bonds.

Related