To the kind attention of Nordic support team,
we are doing ble bonding using passkeys.
We noticed that when starting the passkey phase, a ble connection event is generated by the stack. Still it is not a 'normal' connection,
I mean we should avoid to go to sleep in that phase so that passkey is inserted and after that peer manager has got enough time to store and update
ble database. I think we need to find a condition when the connection is 'really' established, because during the passkey phase it is not.
Is there a way you could suggest to find this condition? A peer manager event that could be useful? Manually keeping track of all peer manager database updates?
Otherwise could happen that a ble connection event is arrived, we already set the device to go to sleep. But peer manager hasn't already finished to update everything.
And we risk to wait the next waking up to finish db update, and this can affect the quality of the connection process.
Sorry if I didn't use the right ble terminology, but I hope that my meaning is clear. I d like to use an event that is telling me everything is done to properly establish
a useful connection and peer manager has finished all is work, bonding db has been updated, everything is done.
Best regards