Bluetooth unpairing after reset

Hello,

I am trying to get the peripheral_lbs example to unpair all devices (delete all bond informations) using VSCode and nrf connect sdk version 2.0.2.

I tried using bt_unpair(BT_ID_DEFAULT, NULL); 
It only works when the device is still running but when I try to delete bond information immediately after a reset, it doesn't work

I tried updating to v2.1.2 but it still doesn't work

What should I do to remove bond informations after a reset?

Thank you.

Dhafer

Related