Hello!
I'm currently working on a project similar to the nrfReady Desktop keyboard and I'm trying to apply bonding/whitelist so that it would only reconnect to only one central device unless the pairing button is pressed (goes into undirected bonding advertising).
I've noticed that the application would go into the app_error_handler immediately after continuous pairing and forgetting with an iOS device. The error read from the error handler is 0x5 and in order to recover from this, I would always have to reflash the softdevice and application.
I have a suspicion that the issue I'm experiencing has something to do with the IRK and multiple bonds/whitelistings on the device, and am currently testing if this is the case by limiting the amount of bonds/whitelist my device can hold.
Since I'm working with SDK9.0, I am working with only device manager. Would the only adjustments be modifying the definitions?
- DEVICE_MANAGER_MAX_BONDS
- BLE_GAP_WHITELIST_ADDR_MAX_COUNT
- BLE_GAP_WHITELIST_IRK_MAX_COUNT
The example did mention that up to DEVICE_MANAGER_MAX_BONDS-1 number of bonds can be kept at any time. would this mean I set the value of 2 for all the definitions above in order to achieve a total amount of whitelist bond to 1?