nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ pm_sec_is_sufficient()

bool pm_sec_is_sufficient ( uint16_t conn_handle,
struct pm_conn_sec_status * sec_status_req )

#include <peer_manager.h>

Compare the security status of a connection against a baseline.

Parameters
[in]conn_handleConnection handle of the link as provided by the SoftDevice.
[out]sec_status_reqTarget baseline security status to compare against.
Return values
trueIf the security status of the connection matches or exceeds the baseline on all points.
falseIf the security status of the connection does not fulfill the baseline, or could not be retrieved.