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

Device manager: What is similar event to PM_EVT_CONN_SEC_FAILED in a device_manage_central?

Hi,

I use nrf52832QFAA, SDK 11.0.0, Softdevice 132 v2.0.0. I need to add a device_manager_central to my project (in my project it's easier and faster than adding a peer_manager).

The peer_manager have event "PM_EVT_CONN_SEC_FAILED". This event I can use to identify that bonding was not enabled on the remote peer.
What event can I use for understand that a pairing or encryption procedure has failed if I use the device_manager_central?

Parents
  • Hi!

    As you can see from the list of events, there is no event that is equal to the PM_EVT_CONN_SEC_FAILED.

    "Event result associated with the event is provided along with the event in the callback to provide more details of whether a procedure succeeded or failed and assist the application in decision making of how to proceed."

    I haven't tested it myself, but can't see anything wrong with the way you solved it. If it works for you I don't see any reason to why you should change it.

    Best regards.

Reply
  • Hi!

    As you can see from the list of events, there is no event that is equal to the PM_EVT_CONN_SEC_FAILED.

    "Event result associated with the event is provided along with the event in the callback to provide more details of whether a procedure succeeded or failed and assist the application in decision making of how to proceed."

    I haven't tested it myself, but can't see anything wrong with the way you solved it. If it works for you I don't see any reason to why you should change it.

    Best regards.

Children
No Data
Related