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

◆ ble_conn_state_mitm_protected()

bool ble_conn_state_mitm_protected ( uint16_t conn_handle)

#include <ble_conn_state.h>

Check whether a connection encryption is protected from Man in the Middle (MITM) attacks.

Parameters
[in]conn_handleHandle of connection to get the MITM state for.
Return values
trueIf the connection is encrypted with MITM protection.
falseIf the connection is not encrypted, or encryption is not MITM protected, or conn_handle is invalid.