Runtime events in the core mesh. More...
Data Structures | |
struct | nrf_mesh_evt_message_t |
Message received event structure. More... | |
struct | nrf_mesh_evt_iv_update_notification_t |
IV update event structure. More... | |
struct | nrf_mesh_evt_key_refresh_notification_t |
Key refresh notification structure. More... | |
struct | nrf_mesh_evt_net_beacon_received_t |
Network beacon received structure. More... | |
struct | nrf_mesh_evt_hb_message_t |
Heartbeat received event structure. More... | |
struct | nrf_mesh_evt_tx_complete_t |
Transmission complete event structure. More... | |
union | nrf_mesh_evt_dfu_t |
DFU event parameters. More... | |
struct | nrf_mesh_evt_rx_failed_t |
RX failed event structure. More... | |
struct | nrf_mesh_evt_sar_failed_t |
SAR failed event structure. More... | |
struct | nrf_mesh_evt_flash_failed_t |
struct | nrf_mesh_evt_config_storage_failure_t |
struct | nrf_mesh_evt_config_load_failure_t |
struct | nrf_mesh_evt_t |
Mesh event structure. More... | |
struct | nrf_mesh_evt_handler_t |
Mesh event handler context structure. More... | |
Typedefs | |
typedef void(* | nrf_mesh_evt_handler_cb_t) (const nrf_mesh_evt_t *p_evt) |
Mesh event handler callback type. More... | |
Functions | |
void | nrf_mesh_evt_handler_add (nrf_mesh_evt_handler_t *p_handler_params) |
Registers an event handler to get events from the core stack. More... | |
void | nrf_mesh_evt_handler_remove (nrf_mesh_evt_handler_t *p_handler_params) |
Removes an event handler. More... | |
Runtime events in the core mesh.
typedef void(* nrf_mesh_evt_handler_cb_t) (const nrf_mesh_evt_t *p_evt) |
Mesh event handler callback type.
To forward mesh events to the application, register a callback of this type using the nrf_mesh_evt_handler_add() function.
[in] | p_evt | Mesh event pointer. |
Definition at line 373 of file nrf_mesh_events.h.
enum nrf_mesh_evt_type_t |
Mesh event types.
Definition at line 57 of file nrf_mesh_events.h.
RX failure reason codes.
Enumerator | |
---|---|
NRF_MESH_RX_FAILED_REASON_REPLAY_CACHE_FULL | The replay protection cache is full. |
Definition at line 236 of file nrf_mesh_events.h.
SAR session cancelled reason codes.
Definition at line 258 of file nrf_mesh_events.h.
User tokens for the flash manager.
Enumerator | |
---|---|
NRF_MESH_FLASH_USER_CORE | Mesh core flash user. |
NRF_MESH_FLASH_USER_DEVICE_STATE_MANAGER | Device state manager flash user. |
NRF_MESH_FLASH_USER_ACCESS | Access layer flash user. |
Definition at line 288 of file nrf_mesh_events.h.
void nrf_mesh_evt_handler_add | ( | nrf_mesh_evt_handler_t * | p_handler_params | ) |
Registers an event handler to get events from the core stack.
[in,out] | p_handler_params | Event handler parameters. |
void nrf_mesh_evt_handler_remove | ( | nrf_mesh_evt_handler_t * | p_handler_params | ) |
Removes an event handler.
[in,out] | p_handler_params | Event handler parameters. |