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

How to Delete Whitelist from Devices

HI All,

Using Nordic devices and with my mobile I am able to do bounding and pairing.

But, after that, I have deleated the bounding information from Mobile.

Now, If I am again trying to do connect using "nRF Connect tool"on my mobile to the devices.

I am getting a message on Debug Terminal as <info> app: Disconnected. I think this is because the whilelist in devices is not been clear.

So please correct me , if i am wrong. And suggest how to clear the whitelist from devices.

Thank you.

  • Hi,

    Usually the whitelist corresponds to the set of bonded devices, which is the behavior of Peer Manager, the module handling peer devices in the nRF5 SDK. BLE examples in the SDK typically clears bonding data if pressing button 2 while resetting the device. See e.g. the HID Keyboard Application, which uses whitelist functionality and bonding. (The example also restricts the number of bonds, so in order to bond with new devices you must delete the bonding data for the old one.)

    Behavior and method to delete bonds is device specific. Note that providing a way to wirelessly delete the old bond is a bad idea, as it lets an attacker invalidate the bond requiring the legitimate user to perform bonding again. Therefore, for deleting bonding info, requiring reset of the device and/or using physical buttons is recommended.

    Regards,
    Terje

Related