![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint16_t ble_conn_state_conn_idx | ( | uint16_t | conn_handle | ) |
#include <ble_conn_state.h>
Translate a connection handle to a value that can be used as an array index.
Function for mapping connection handles onto the range <0 - MAX_CONNECTIONS>.
| [in] | conn_handle | The connection for which to retrieve an index. |
conn_handle refers to an invalid connection.