Hi all! I want to allow only 1 device to bond at a time. If another device bonding, I want to delete the previously bonded one. I tried to use dm_device_delete_all() in DM_EVT_SECURITY_SETUP_COMPLETE event, but it delete the current device too. I want to use dm_device_delete to delete the previous one, but I haven't p_handle for the previously bonded device. Is there any api function to get all bonded device handle, or something similar?
Thanks!!!