![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| #define NRF_SDH_STACK_EVT_OBSERVER | ( | _observer, | |
| _handler, | |||
| _ctx, | |||
| _prio ) |
#include <nrf_sdh.h>
Register a SoftDevice stack event observer.
A SoftDevice stack event observer receives all events from the SoftDevice. These events can be either Bluetooth LE or SoC events. If you need to receive Bluetooth LE or SoC events separately, use NRF_SDH_BLE_OBSERVER or NRF_SDH_SOC_OBSERVER respectively.
| _observer | Name of the observer. |
| _handler | Stack event handler. |
| _ctx | A context passed to the state request handler. |
| _prio | Priority of the observer's event handler. Allowed input: HIGHEST, HIGH, USER, USER_LOW, LOWEST. |