This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

failed pm_peers_delete causes NRF_ERROR_STORAGE_FULL error from pm_conn_secure

I'm using SDK 12.3 and SoftDevice S130 2.0.1 and trying to secure a BLE link with OOB. The nordic board is running as a central and makes a new bonding to a peripheral every time it runs.

My code also runs pm_peers_delete every time to delete stored bonding data before initiating any ble connections and it returns no error.

It runs fine for a couple of times, then pm_conn_secure starts to failed returning the NRF_ERROR_STORAGE_FULL error.

Am I missing any steps to delete stored bonding data and to avoid the NRF_ERROR_STORAGE_FULL error?

Any help would be much appreciated.

Related