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

Enabling whitelisting

S110 v8.0.0 / ble_app_hrs_with_dfu

I want to enable whitelisting.

In the advertising_init() function I have:

ble_adv_modes_config_t options = {0};
options.ble_adv_whitelist_enabled = BLE_ADV_WHITELIST_ENABLED; //added this
options.ble_adv_fast_enabled  = BLE_ADV_FAST_ENABLED;
options.ble_adv_fast_interval = APP_ADV_INTERVAL;
options.ble_adv_fast_timeout  = APP_ADV_TIMEOUT_IN_SECONDS;

Is there anything else that needs to be done to make whitelisting work?

I paired with an Iphone4s and then disconnected, but was still able to pair with a Nexus4 afterwards.

whitelist->addr_count + whitelist->irk_count = 0 even after both bonds.

Related