Hi,
How to automatically delete the bond between a central and a peripheral after disconnection? I'm using zephyr.
Thanks
Hi,
How to automatically delete the bond between a central and a peripheral after disconnection? I'm using zephyr.
Thanks
Hi Reginaldo,
Based on the samples that do have bonding. on the peripheral and central side you need to ensure that you are not using settings to store the bonding information, so please make sure you are not activating the following configs:
#Enable to Save BLE Settings CONFIG_BT_SETTINGS=y
If you are also not using settings for other contexts and not using flash for other purposes, please also remove:
CONFIG_FLASH=y CONFIG_FLASH_PAGE_LAYOUT=y CONFIG_FLASH_MAP=y CONFIG_NVS=y CONFIG_SETTINGS=y
Please, also make sure that you are not calling setting_load() in your applications not using any settings context.
Additionally, on the central side you need to add the following config:
CONFIG_BT_BONDABLE=n
Hi Reginaldo,
Based on the samples that do have bonding. on the peripheral and central side you need to ensure that you are not using settings to store the bonding information, so please make sure you are not activating the following configs:
#Enable to Save BLE Settings CONFIG_BT_SETTINGS=y
If you are also not using settings for other contexts and not using flash for other purposes, please also remove:
CONFIG_FLASH=y CONFIG_FLASH_PAGE_LAYOUT=y CONFIG_FLASH_MAP=y CONFIG_NVS=y CONFIG_SETTINGS=y
Please, also make sure that you are not calling setting_load() in your applications not using any settings context.
Additionally, on the central side you need to add the following config:
CONFIG_BT_BONDABLE=n
Thanks Joao, it worked as expected.