![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t pm_conn_sec_status_get | ( | uint16_t | conn_handle, |
| struct pm_conn_sec_status * | conn_sec_status ) |
#include <peer_manager.h>
Get the security status of a connection.
| [in] | conn_handle | Connection handle of the link as provided by the SoftDevice. |
| [out] | conn_sec_status | Security status of the link. |
| NRF_SUCCESS | If pairing was initiated successfully. |
| BLE_ERROR_INVALID_CONN_HANDLE | If the connection handle is invalid. |
| NRF_ERROR_NULL | If conn_sec_status was NULL. |
| NRF_ERROR_INVALID_STATE | If the Peer Manager is not initialized. |