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

Mesh packet send command parameters. More...

#include <serial_cmd.h>

Data Fields

uint16_t appkey_handle
 Appkey or devkey handle to use for packet sending. More...
 
uint16_t src_addr
 Raw unicast address to use as source address. More...
 
uint16_t dst_addr_handle
 Handle of destination address to use in packet. More...
 
uint8_t ttl
 Time To Live value to use in packet. More...
 
uint8_t force_segmented
 Whether or not to force use of segmented message type for the transmission. More...
 
uint8_t transmic_size
 Transport MIC size used enum. More...
 
uint8_t friendship_credential_flag
 Control parameter for credentials used to publish messages from a model. More...
 
uint8_t data [NRF_MESH_SERIAL_PAYLOAD_MAXLEN - SERIAL_CMD_MESH_PACKET_SEND_OVERHEAD]
 Payload of the packet. More...
 

Detailed Description

Mesh packet send command parameters.

Definition at line 492 of file serial_cmd.h.

Field Documentation

◆ appkey_handle

uint16_t serial_cmd_mesh_packet_send_t::appkey_handle

Appkey or devkey handle to use for packet sending.

Subnetwork will be picked automatically.

Definition at line 494 of file serial_cmd.h.

◆ src_addr

uint16_t serial_cmd_mesh_packet_send_t::src_addr

Raw unicast address to use as source address.

Must be in the range of local unicast addresses.

Definition at line 495 of file serial_cmd.h.

◆ dst_addr_handle

uint16_t serial_cmd_mesh_packet_send_t::dst_addr_handle

Handle of destination address to use in packet.

Definition at line 496 of file serial_cmd.h.

◆ ttl

uint8_t serial_cmd_mesh_packet_send_t::ttl

Time To Live value to use in packet.

Definition at line 497 of file serial_cmd.h.

◆ force_segmented

uint8_t serial_cmd_mesh_packet_send_t::force_segmented

Whether or not to force use of segmented message type for the transmission.

Definition at line 498 of file serial_cmd.h.

◆ transmic_size

uint8_t serial_cmd_mesh_packet_send_t::transmic_size

Transport MIC size used enum.

SMALL=0, LARGE=1, DEFAULT=2. LARGE may only be used with segmented packets.

Definition at line 499 of file serial_cmd.h.

◆ friendship_credential_flag

uint8_t serial_cmd_mesh_packet_send_t::friendship_credential_flag

Control parameter for credentials used to publish messages from a model.

0 for master, 1 for friendship.

Definition at line 500 of file serial_cmd.h.

◆ data

uint8_t serial_cmd_mesh_packet_send_t::data[NRF_MESH_SERIAL_PAYLOAD_MAXLEN - SERIAL_CMD_MESH_PACKET_SEND_OVERHEAD]

Payload of the packet.

Definition at line 501 of file serial_cmd.h.


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

Documentation feedback | Developer Zone | Subscribe | Updated