![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
API for initializing and disabling the SoftDevice. More...
Topics | |
| Bluetooth LE support in SoftDevice Handler | |
| Declarations of types and functions required for Bluetooth LE stack support. | |
| SoC support in SoftDevice Handler | |
| Declarations of types and functions required for SoftDevice Handler SoC support. | |
| SoftDevice Information utility in SoftDevice Handler | |
| Declarations of types and function for getting SoftDevice information structure values. | |
| SoftDevice event observer priority levels | |
Data Structures | |
| struct | nrf_sdh_state_evt_observer |
| SoftDevice Handler state observer. More... | |
| struct | nrf_sdh_stack_evt_observer |
| SoftDevice stack event observer. More... | |
Macros | |
| #define | NRF_SDH_STATE_EVT_OBSERVER(_observer, _handler, _ctx, _prio) |
| Register a SoftDevice state observer. | |
| #define | NRF_SDH_STACK_EVT_OBSERVER(_observer, _handler, _ctx, _prio) |
| Register a SoftDevice stack event observer. | |
Typedefs | |
| typedef int(* | nrf_sdh_state_evt_handler_t) (enum nrf_sdh_state_evt state, void *context) |
| SoftDevice Handler state event handler. | |
| typedef void(* | nrf_sdh_stack_evt_handler_t) (void *context) |
| SoftDevice stack event handler. | |
Enumerations | |
| enum | nrf_sdh_state_evt { NRF_SDH_STATE_EVT_ENABLE_PREPARE , NRF_SDH_STATE_EVT_ENABLED , NRF_SDH_STATE_EVT_BLE_ENABLED , NRF_SDH_STATE_EVT_DISABLE_PREPARE , NRF_SDH_STATE_EVT_DISABLED } |
| SoftDevice Handler state events. More... | |
Functions | |
| int | nrf_sdh_enable_request (void) |
| Enable the SoftDevice. | |
| int | nrf_sdh_disable_request (void) |
| Disable the SoftDevice. | |
| int | nrf_sdh_observer_ready (struct nrf_sdh_state_evt_observer *observer) |
| Mark an observer ready for a SoftDevice state change. | |
| void | nrf_sdh_suspend (void) |
| Stop processing SoftDevice events. | |
| void | nrf_sdh_resume (void) |
| Resuming processing SoftDevice events. | |
| bool | nrf_sdh_is_suspended (void) |
| Retrieve the module state. | |
| void | nrf_sdh_evts_poll (void) |
| Poll the SoftDevice for events. | |
API for initializing and disabling the SoftDevice.