I think this event should pass to application level when the device lost bonding data. Now the stack just reject the security connection, but pass no event to stack, so user can not initiate a new pairing request using CyBle_GapAuthReq?
I have the same question. Here's the senerio I want to handle:
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.