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

how to avoid bonding of device more then one time.

Hello iam using softdevice 110 and SDK 10.0.0, i want to know the way to avoid bonding of device more then once, or deleting the bonding information from persistent memory if bonded device requests for bond again. Iam using device manage APIs.

Parents
  • Hi Sunil,

    In SDK v10 device manager actually will replace old bond with new one if the device request to pair again. But if your master uses Random Resolable Addess, device manager only manages to find the central if you use whitelist when advertising and the IRK matches is returned.

    In SDK v11, we changed the behaviour and device manager will deny the central to pair again, but still whitelist is needed.

    You can either modify the device manager, to add code to resolve the IRK on its own to find the previously bonded master or you can use peer manager.

    With peer manager in SDK v11 and later, all master who want to rebond will be rejected, regardless if you advertise with whitelist or not.

  • I want to allow central to bond if it is requesting for second time, but not to store bonding information again, will using whitelist solve this.

Reply Children
No Data
Related