Do I need to clear bonded devices?
Posted: Fri Jul 13, 2018 7:40 am
Hi,
When using ble with encryption a bond is made and the long term keys are stored in NVS.
First question: How many bonds can be stored?
Seconds question: What happens when we reach that limit, does it delete the oldest bond to make room for the new one or do I need to clear the bonds with the "esp_ble_remove_bond_device" command?
In the example below it looks like you never need to call the remove bond function. But I can't find anything else about it.
https://github.com/espressif/esp-idf/bl ... emo.c#L537
Thank you.
When using ble with encryption a bond is made and the long term keys are stored in NVS.
First question: How many bonds can be stored?
Seconds question: What happens when we reach that limit, does it delete the oldest bond to make room for the new one or do I need to clear the bonds with the "esp_ble_remove_bond_device" command?
In the example below it looks like you never need to call the remove bond function. But I can't find anything else about it.
https://github.com/espressif/esp-idf/bl ... emo.c#L537
Thank you.