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... | |
Detailed Description
Message received event structure.
Definition at line 133 of file nrf_mesh_events.h.
Field Documentation
◆ p_buffer
| 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.
◆ length
| uint16_t nrf_mesh_evt_message_t::length |
Message length.
Definition at line 138 of file nrf_mesh_events.h.
◆ src
| 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.
◆ dst
| 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.
◆ secmat
| 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.
◆ ttl
| 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.
◆ p_metadata
| 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.
- mesh/core/api/nrf_mesh_events.h