You can get the GetBondedDeviceList API to retrieve the list of the device you have bonded and check if the peripheral is in the list or not.
- Madhu Sudhan
If I connect to a peripheral with bonded information stored, but the peripheral no longer has the bond information stored, what will happen? Is there a way to tell if the remote device no longer has the "matching" bond information? Or do I need to just catch an event for invalid bond information, and rebond?
Specifically, I'm looking for a way to re-write bond information stored in the RAM/flash data if the remote side refuses the current bond credentials.
Do I just re-attempy the CyBle_GapAuthReq() with authInfo set to CYBLE_GAP_BONDING_NONE to rerequest the bonding information?