Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PM_EVT_CONN_SEC_SUCCEEDED once when first connect but twice After this

I use a bas service and a custom service for the sdk14.2 52832 master. PM_EVT_CONN_SEC_SUCCEEDED happens once after the first connection, but every connection on the second connection and behind it happens twice. I call pm_conn_secure on every service discovery, that is, I call twice, refer to the central hrs example. Cheng wrote, I do not understand is that the call will have a PM_EVT_CONN_SEC_SUCCEEDED event, or. . . Why is the first connection different from the one after it?

Related