Exact sequence of Peer Manager events at time of pairing.

Hi,

I am performing "just pairing" using peer manager ( SDK 11.0 ) in my custom board which uses nrf52 chip.

I am getting this events

  1. PM_EVT_CONN_SEC_START,
  2. PM_EVT_CONN_SEC_SUCCEEDED,
  3. PM_EVT_PEER_DATA_UPDATE_SUCCEEDED - this events i am getting 4 times but sometimes i am not getting this event 4 times.

Please help me to find the correct sequence of pairing procedure and to find the correct sequence when already paired device gets connected.