Hello,
I am using NRF52840 with SDK 16. In my project I need to restart the chip after a successful pairing but I can't find any event that can make me sure about pairing being done and its data saved. I checked PM_EVT_CONN_SEC_SUCCEEDED and PM_EVT_PEER_DATA_UPDATE_SUCCEEDED however PM_EVT_CONN_SEC_SUCCEEDED happens before pairing data being saved and PM_EVT_PEER_DATA_UPDATE_SUCCEEDED happens many times during the procedure and I don't know if it's OK to restart the chip with this event.
So can you please tell me when can I be sure that the peer is saved successfully? is there another event in Peer manager that I can use or is there a way that I can know which PM_EVT_PEER_DATA_UPDATE_SUCCEEDED event indicates that the peer saving procedure is completed correctly ?
thank you