nRF Connect SDK Bare Metal API
2.0.99
Loading...
Searching...
No Matches
◆
ble_conn_state_role()
uint8_t ble_conn_state_role
(
uint16_t
conn_handle
)
#include <ble_conn_state.h>
Get the role of the local device in a connection.
Parameters
[in]
conn_handle
Handle of the connection to get the role for.
Returns
The role of the local device in the connection (see BLE_GAP_ROLES). If conn_handle is not valid, the function returns BLE_GAP_ROLE_INVALID.
Bluetooth LE connection state functions
Generated on Wed Jun 17 2026 10:54:29 for nRF Connect SDK Bare Metal API by
1.12.0