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

Adding IRK to whitelist

I have enabled the whitelist feature based on the ble_hids_keyboard example, but when I load the application it is not advertising anywhere. It is paired with my iPhone, but it is still not advertising. How do you add the irk to the whitelist and then use it to advertise to those devices on the whitelist only?

Parents
  • Also, correct me if I am wrong, but if you erase the entire board and re-program the soft device and bootloader the bonds are deleted right? So the first time you connect after that it is not advertising using the whitelist. Once you connect and bond, it then begins using the whitelist? If you want to add multiple devices to the whitelist you should disable it, bond with all the correct devices, and then enable the whitelist again. Is that a correct understanding? Because sometimes I feel like the whitelist is working so I erase the board and try to reconnect and rebond to see if it will work again but it doesn't.

Reply
  • Also, correct me if I am wrong, but if you erase the entire board and re-program the soft device and bootloader the bonds are deleted right? So the first time you connect after that it is not advertising using the whitelist. Once you connect and bond, it then begins using the whitelist? If you want to add multiple devices to the whitelist you should disable it, bond with all the correct devices, and then enable the whitelist again. Is that a correct understanding? Because sometimes I feel like the whitelist is working so I erase the board and try to reconnect and rebond to see if it will work again but it doesn't.

Children
No Data
Related