HI Richard
Sorry, we do have an example to list the Classic link keys, but it's not so obvious how to delete all bonding information for LE.
You can use the le_device_db.h API.
First, get the max number of devices via le_device_db_max_count
Then, for each 0..max devices-1, call le_device_db_info
if the addr type differs from BD_ADDR_TYPE_UNKNOWN, call le_device_db_remove
Cheers
Matthias
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
btstack-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/btstack-dev/4b0b9975-7f05-4222-9269-167091b48541n%40googlegroups.com.