nRF5 SDK for Mesh v5.0.0
Data Fields
serial_evt_mesh_message_received_t Struct Reference

Mesh message received event parameters. More...

#include <serial_evt.h>

Data Fields

uint16_t src
 Source address of the received packet. More...
 
uint16_t dst
 Destination unicast address or subscription handle. More...
 
uint16_t appkey_handle
 Handle of the application the message was received on. More...
 
uint16_t subnet_handle
 Handle of the subnetwork the message was received on. More...
 
uint8_t ttl
 Packet time to live value when first received. More...
 
uint8_t adv_addr_type
 Advertisement address type of the last hop sender. More...
 
uint8_t adv_addr [BLE_GAP_ADDR_LEN]
 Advertisement address of the last hop sender. More...
 
int8_t rssi
 RSSI value of the message when received. More...
 
uint16_t actual_length
 Length of the received message, may be larger than the data reported if SERIAL_EVT_MESH_MESSAGE_RECEIVED_DATA_MAXLEN is not big enough. More...
 
uint8_t data [SERIAL_EVT_MESH_MESSAGE_RECEIVED_DATA_MAXLEN]
 Data payload of the packet. More...
 

Detailed Description

Mesh message received event parameters.

Definition at line 273 of file serial_evt.h.

Field Documentation

◆ src

uint16_t serial_evt_mesh_message_received_t::src

Source address of the received packet.

Definition at line 276 of file serial_evt.h.

◆ dst

uint16_t serial_evt_mesh_message_received_t::dst

Destination unicast address or subscription handle.

Definition at line 278 of file serial_evt.h.

◆ appkey_handle

uint16_t serial_evt_mesh_message_received_t::appkey_handle

Handle of the application the message was received on.

Definition at line 280 of file serial_evt.h.

◆ subnet_handle

uint16_t serial_evt_mesh_message_received_t::subnet_handle

Handle of the subnetwork the message was received on.

Definition at line 282 of file serial_evt.h.

◆ ttl

uint8_t serial_evt_mesh_message_received_t::ttl

Packet time to live value when first received.

Definition at line 284 of file serial_evt.h.

◆ adv_addr_type

uint8_t serial_evt_mesh_message_received_t::adv_addr_type

Advertisement address type of the last hop sender.

Definition at line 286 of file serial_evt.h.

◆ adv_addr

uint8_t serial_evt_mesh_message_received_t::adv_addr[BLE_GAP_ADDR_LEN]

Advertisement address of the last hop sender.

Definition at line 288 of file serial_evt.h.

◆ rssi

int8_t serial_evt_mesh_message_received_t::rssi

RSSI value of the message when received.

Definition at line 290 of file serial_evt.h.

◆ actual_length

uint16_t serial_evt_mesh_message_received_t::actual_length

Length of the received message, may be larger than the data reported if SERIAL_EVT_MESH_MESSAGE_RECEIVED_DATA_MAXLEN is not big enough.

Definition at line 293 of file serial_evt.h.

◆ data

uint8_t serial_evt_mesh_message_received_t::data[SERIAL_EVT_MESH_MESSAGE_RECEIVED_DATA_MAXLEN]

Data payload of the packet.

Definition at line 295 of file serial_evt.h.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated