Message received event structure. More...
#include <nrf_mesh_events.h>
Data Fields | |
const uint8_t * | p_buffer |
Buffer containing the message data. More... | |
uint16_t | length |
Message length. More... | |
nrf_mesh_address_t | src |
Source address of the message. More... | |
nrf_mesh_address_t | dst |
Destination address of the message. More... | |
nrf_mesh_secmat_t | secmat |
Security material used in the decryption of the payload. More... | |
uint8_t | ttl |
Time-to-live for the message. More... | |
const nrf_mesh_rx_metadata_t * | p_metadata |
Metadata for the received packet. More... | |
Message received event structure.
Definition at line 133 of file nrf_mesh_events.h.
const uint8_t* nrf_mesh_evt_message_t::p_buffer |
Buffer containing the message data.
Definition at line 136 of file nrf_mesh_events.h.
uint16_t nrf_mesh_evt_message_t::length |
Message length.
Definition at line 138 of file nrf_mesh_events.h.
nrf_mesh_address_t nrf_mesh_evt_message_t::src |
Source address of the message.
Definition at line 140 of file nrf_mesh_events.h.
nrf_mesh_address_t nrf_mesh_evt_message_t::dst |
Destination address of the message.
Definition at line 142 of file nrf_mesh_events.h.
nrf_mesh_secmat_t nrf_mesh_evt_message_t::secmat |
Security material used in the decryption of the payload.
Definition at line 144 of file nrf_mesh_events.h.
uint8_t nrf_mesh_evt_message_t::ttl |
Time-to-live for the message.
This is a 7-bit value.
Definition at line 146 of file nrf_mesh_events.h.
const nrf_mesh_rx_metadata_t* nrf_mesh_evt_message_t::p_metadata |
Metadata for the received packet.
In case of a segmented message, the metadata represents the last packet.
Definition at line 148 of file nrf_mesh_events.h.