This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

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.

Parents
  • You should get:

    1. PM_EVT_BONDED_PEER_CONNECTED - A connected peer has been identified as one with which we have a bond.
    2. PM_EVT_CONN_SEC_START - A security procedure has started on a link, initiated either locally or remotely.
    3. PM_EVT_CONN_SEC_SUCCEEDED - A link has been encrypted, either as a result of a call to @ref pm_conn_secure or a result of an action by the peer.

    PM_EVT_PEER_DATA_UPDATE_SUCCEEDED - A piece of peer data was stored, updated, or cleared in flash storage.

Reply
  • You should get:

    1. PM_EVT_BONDED_PEER_CONNECTED - A connected peer has been identified as one with which we have a bond.
    2. PM_EVT_CONN_SEC_START - A security procedure has started on a link, initiated either locally or remotely.
    3. PM_EVT_CONN_SEC_SUCCEEDED - A link has been encrypted, either as a result of a call to @ref pm_conn_secure or a result of an action by the peer.

    PM_EVT_PEER_DATA_UPDATE_SUCCEEDED - A piece of peer data was stored, updated, or cleared in flash storage.

Children
Related