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

whitelist for perihperal

hello,
I'm working on the nrf52832 and sdk15.0.0 , I made my first custom perihperal with custom services, and now i want the device to be connected only to the first device (mobile phone) and after add the possibility to add another one with a button for example, so first i did some research and i found that my solution is with whitelist,
how to integrate it or add it . please explain to me as a beginner.

Parents Reply
  • Hi. 

    Apologize for the delay. 

    Yes, delete_bonds() will in turn call pm_peers_delete() which will clear the bond information from persistent storage. You can follow the function call in the example code to get more information about that. 

    ble_advertising_restart_without_whitelist() is meant to be used when you want to temporarily disable whitelist advertising to allow a new device to connect.

    achraf said:
    my question is when im in IOS we dont have the bond things

     Not sure what you mean by this, could you elaborate?

    Br, 
    Joakim

Children
Related