Delete one side bond info,Cannot pair again

Dear Nordic Team,

I am programming with ncs V2.9.0 and nrf52833.

There is a trouble happend when one side delete the pairing info,but the other not.

Peripheral has already forgot the info,But central still maintain it.And then central side will report this LOG.

I want to pair with it again WHENEVER WHATEVER happened.HOW I can do to avoid it?

Best regard.

Martin

Parents
  • Hi Martin

    This is the expected behavior when doing bonding with BLE. If one device still remembers the bonding it won't be able to bond with the device that has deleted the bonding information again as it still thinks it is bonded. This is part of the Bluetooth LE specification.

    If you add a way to erase the bonds on the other side either upon a disconnect or upon a failed connection/bonding attempt. Alternatively, don't erase the bonding info from one side in the first place.

    Best regards,

    Simon

Reply
  • Hi Martin

    This is the expected behavior when doing bonding with BLE. If one device still remembers the bonding it won't be able to bond with the device that has deleted the bonding information again as it still thinks it is bonded. This is part of the Bluetooth LE specification.

    If you add a way to erase the bonds on the other side either upon a disconnect or upon a failed connection/bonding attempt. Alternatively, don't erase the bonding info from one side in the first place.

    Best regards,

    Simon

Children
Related