I know that I am supposed to use an IRK for bonding with devices like iPhones, how do I actually add it to a whitelist and resolve it?
I am using SDK 10 and softdevice s130.
I know that I am supposed to use an IRK for bonding with devices like iPhones, how do I actually add it to a whitelist and resolve it?
I am using SDK 10 and softdevice s130.
If you use device manager and the advertising the whitelisting is handled by them.
See the ble_app_hids_keyboard example. You have to enable whitelist advertising when you call ble_advertising_init(), see advertising_init().
From the documentation you can see that the advertising moduel will request a whitelist by sending an event to the application, the BLE_ADV_EVT_WHITELIST_REQUEST event. You can see how this is handled in on_adv_evt(). The device manager creates the whitelist and you give it to the advertising module.
If you use device manager and the advertising the whitelisting is handled by them.
See the ble_app_hids_keyboard example. You have to enable whitelist advertising when you call ble_advertising_init(), see advertising_init().
From the documentation you can see that the advertising moduel will request a whitelist by sending an event to the application, the BLE_ADV_EVT_WHITELIST_REQUEST event. You can see how this is handled in on_adv_evt(). The device manager creates the whitelist and you give it to the advertising module.