Delete bonding/pairing information of all bonded devices except the currently connected one

Hi all,

I am working on a project using nrf52832 and NCS v2.1.0. My device is acting as a peripheral with fixed passkey and I need to delete information about all the previous bonding/pairing information except the currently connected one. I could have used bt_unpair() but then that would delete all the connections including current one if I understand it right. I found a similar question but that is from nrf5 SDK. Is there any function call that I am missing in NCS that helps to get what I want ?

Thank you for the help.

Related