What's the best way to ask the device manager how many bonds it has? Or even, whether it has any bonds at all?
I can see nothing in the API docs here:
developer.nordicsemi.com/.../a00983.html
I'm using SDK 8.1.0, gcc, S110, BLE peripheral.
What's the best way to ask the device manager how many bonds it has? Or even, whether it has any bonds at all?
I can see nothing in the API docs here:
developer.nordicsemi.com/.../a00983.html
I'm using SDK 8.1.0, gcc, S110, BLE peripheral.
dm_whitelist_create(). It will return a ble_gap_whitelist_t struct with the irk_count and addr_count. Together they should represent the number of bonds. This question may provide some more information.