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

◆ ble_conn_state_encrypted()

bool ble_conn_state_encrypted ( uint16_t conn_handle)

#include <ble_conn_state.h>

Check whether a connection is encrypted.

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