How to delete bonding info from central device

I am working with an nRF52832 board, and my application uses BLE to communicate with a central device. After performing a Device Firmware Update (DFU) over-the-air (OTA), I want to automate the process of clearing the bonding information on both the peripheral (nRF52832) and the central device.

The current setup clears bonding info on the peripheral side, but the central device still holds outdated bonding info, requiring manual intervention to clear it.

Is it possible to delete bonding information from central device automatically?

Parents
  • Hello,

    I apologize for the misunderstanding. I initially assumed you were working with a central device, specifically a device acting as a central unit with your own custom application. However, you've shared a screenshot from a mobile application. Does this mean your central device is a mobile device? AFAIK, the mobile application (nRF Connect App) can only act as a central device. Are you trying to clear the bond information from the mobile device? Please clarify this, and I will respond accordingly. Sorry for the confusion.

    Regards,
    Abhijith

  • I am using nRF52832 as peripheral device and nRF connect app as central device. I am able to remove bonding info from peripheral device using bt_unpair, but I also want to remove bonding info from central device as well.

    Because, after removing bonding info from peripheral device, I am not able to connect to Central device without manually removing bonding info from central device.

  • Is there any function to reset the bonding info of peripheral on disconnection, so that central can not recognize the old key and repairing start with initial phase. 

    Is it possible to use bt_id_reset(), so that I can do repairing from start.

Reply Children
No Data
Related