I will check this internally and update you tomorrow.
I have the same question. Here's the senerio I want to handle:
- I use my iPhone to pair with a Cypress device (BLE v3.10/PSoC 3.3) device is set to unauthenticated pairing with encription + bonding).
- As the bonding data is successfully stored somewhere in the device flash, I can reconnect without pairing, even after power cycling the device.
- However, if I re-flash the device, I’ll wipe out the stored bonding data. If I try to reconnect with my iPhone I’ll get a connection timeout.
The only workaround is to “Forget” the device on my iPhone which will trigger a new pairing on the next connection attempt.
I'm looking for a way for the device in #2 to detect that the stored pairing/bonding information is gone, and force a repairing.