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

Repair/Bond when bonds erased from peripheral

Hello

I have 2 custom boards both with nRF82532. One is central and the other a peripheral. I use LESC. When no bonding information is stored in either of the devices, pairing and bonding is executed  whithout problem. When I erase the bonding information from the peripheral I can not make it to repair/bond. I allways get a disconnection error event. Secure connection is triggered by central with pm_conn_secure(p_evt->conn_handle,false); function. Erasing the bond from the peripheral by the user is mantatory for our product.

Please advice  

Parents
  • Hi

    This is because the cantral still thinks it is bonded to the peripheral, but the peripheral does not have this data anymore, resulting in a failure.

    So if you erase the bonding information from the peripheral you should make sure that the central erases its bonding information as well, either manually or whenever the peripheral disconnects or signals it somehow.

    Best regards,

    Simon

Reply
  • Hi

    This is because the cantral still thinks it is bonded to the peripheral, but the peripheral does not have this data anymore, resulting in a failure.

    So if you erase the bonding information from the peripheral you should make sure that the central erases its bonding information as well, either manually or whenever the peripheral disconnects or signals it somehow.

    Best regards,

    Simon

Children
Related