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

◆ nrf_sdh_ble_evt_to_str()

const char * nrf_sdh_ble_evt_to_str ( uint32_t evt)

#include <nrf_sdh_ble.h>

Stringify a SoftDevice Bluetooth LE event.

If :option:CONFIG_NRF_SDH_STR_TABLES is enabled, returns the event name. Otherwise, returns the supplied integer as a string.

Parameters
evtA BLE_GAP_EVTS, BLE_GATTS_EVTS, or BLE_GATTC_EVTS enumeration value.
Returns
A statically allocated string containing the event name or numerical value.