There is a "peer removed pairing information" error

I'm developing an app that communicates with iOS apps using Nordic's services.
I got this error during development. 
I have three questions about the "peer removed pairing information" error.
 1. Can this error occur due to a bug in the implementation of the app?
 2. Is there a way to intentionally reproduce and debug? 
 3. Is there anything the app can do to prevent this error from occurring?
 How to deal with it after it happened was discussed in other threads,
 but I would like to know if there is a way to avoid it.
Parents Reply
  • I consider your issue as working as intended. It is a security measure, to ensure that no attacker can fake/impersonate a bonded peer device. I assume it is intended that the user should delete previously bonded devices in iOS if the peer device have erased it's bond. The only way to avoid this would be if the peer device change the gap address, however this will leave the existing bond on iOS intact and instead create a new (it will thereby look like two peer devices have bonded to iOS).

    Kenneth

Children
Related