Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_mesh_msg_t Struct Reference

Struct to communicate a mesh message. More...

#include <cs_PacketsInternal.h>

Collaboration diagram for cs_mesh_msg_t:

Public Attributes

cs_mesh_model_msg_type_t type
 
mesh_control_command_packet_flags_t flags
 
uint8_t reliability = 0
 
cs_mesh_msg_urgency urgency = CS_MESH_URGENCY_LOW
 
uint8_t idCount = 0
 
stone_id_ttargetIds = nullptr
 
size16_t size = 0
 
uint8_t * payload = nullptr
 

Detailed Description

Struct to communicate a mesh message.

  • type Type of message.
  • flags How to send the message.
  • reliability Timeout in seconds for acked messages, number of transmission for unacked messages. Use 0 for the default value.
  • urgency How quick the message should be sent.
  • idCount Number of IDs, for targeted messages.
  • targetIds Pointer to array with targeted stone IDs.
  • size Size of the payload.
  • payload The payload.

Member Data Documentation

◆ flags

◆ idCount

uint8_t cs_mesh_msg_t::idCount = 0

◆ payload

uint8_t* cs_mesh_msg_t::payload = nullptr

◆ reliability

uint8_t cs_mesh_msg_t::reliability = 0

◆ size

size16_t cs_mesh_msg_t::size = 0

◆ targetIds

stone_id_t* cs_mesh_msg_t::targetIds = nullptr

◆ type

◆ urgency

cs_mesh_msg_urgency cs_mesh_msg_t::urgency = CS_MESH_URGENCY_LOW

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