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
  • FormerMember
    0 FormerMember

    It is not possible to advertise to the devices in the whitelist only. When adding device to a whitelist, advertising will be normal, but the advertising device will only accept connect requests from the devices in the whitelist. If you want to advertise towards specific devices, you will have to use directed advertising. With directed advertising, you will only be able advertise towards one device at the time and only towards devices that don't change their address (devices with another address type than private resolvable).

Reply
  • FormerMember
    0 FormerMember

    It is not possible to advertise to the devices in the whitelist only. When adding device to a whitelist, advertising will be normal, but the advertising device will only accept connect requests from the devices in the whitelist. If you want to advertise towards specific devices, you will have to use directed advertising. With directed advertising, you will only be able advertise towards one device at the time and only towards devices that don't change their address (devices with another address type than private resolvable).

Children
No Data
Related