![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| void pm_handler_disconnect_on_insufficient_sec | ( | const struct pm_evt * | pm_evt, |
| struct pm_conn_sec_status * | min_conn_sec ) |
#include <peer_manager_handler.h>
Auxiliary standard function for disconnecting on insufficient connection security.
This function disconnects whenever the connection security succeeds, that is whenever it receives a PM_EVT_CONN_SEC_SUCCEEDED, but the established security does not fulfill the provided criteria.
| [in] | pm_evt | Peer Manager event to handle. |
| [in] | min_conn_sec | Minimum security status below which to disconnect the link. |