nRF Connect SDK Bare Metal API 3.0.0-rc1
Loading...
Searching...
No Matches
Bluetooth LE support in SoftDevice Handler

Declarations of types and functions required for Bluetooth LE stack support. More...

Data Structures

struct  nrf_sdh_ble_evt_observer
 Bluetooth LE event observer. More...
 

Macros

#define NRF_SDH_BLE_EVT_BUF_SIZE   BLE_EVT_LEN_MAX(CONFIG_NRF_SDH_BLE_GATT_MAX_MTU_SIZE)
 Size of the buffer for a Bluetooth LE event.
 
#define NRF_SDH_BLE_OBSERVER(_observer, _handler, _ctx, _prio)
 Register a SoftDevice Bluetooth LE event observer.
 

Typedefs

typedef void(* nrf_sdh_ble_evt_handler_t) (const ble_evt_t *ble_evt, void *context)
 Bluetooth LE stack event handler.
 

Functions

int nrf_sdh_ble_enable (uint8_t conn_cfg_tag)
 Enable the SoftDevice Bluetooth stack.
 
const char * nrf_sdh_ble_evt_to_str (uint32_t evt)
 Stringify a SoftDevice Bluetooth LE event.
 
uint32_t nrf_sdh_ble_sd_ram_usage_get (void)
 Get the SoftDevice RAM usage.
 
int nrf_sdh_ble_idx_get (uint16_t conn_handle)
 Get the assigned index for a connection handle.
 
uint16_t nrf_sdh_ble_conn_handle_get (int idx)
 Get the connection handle for an assigned index.
 

Detailed Description

Declarations of types and functions required for Bluetooth LE stack support.