Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
Struct to queue an item. More...
#include <cs_MeshCommon.h>
Public Attributes | |
cs_mesh_queue_item_meta_data_t | metaData = {} |
Metadata. More... | |
bool | acked = false |
Whether the message should be acked. More... | |
bool | broadcast = true |
Whether the message should be broadcasted. More... | |
bool | doNotRelay = false |
Whether this message should be sent to direct neighbours only. More... | |
cs_control_cmd_t | controlCommand = CTRL_CMD_UNKNOWN |
If this mesh message is sent because of a Mesh command, then set this field to the control command payload of that mesh command. More... | |
uint8_t | numStoneIds = 0 |
Number of target stone IDs. More... | |
stone_id_t * | stoneIdsPtr = nullptr |
Pointer to the list of target stone IDs. More... | |
cs_data_t | msgPayload = {} |
The message payload. More... | |
Struct to queue an item.
Data is temporary, so has to be copied.
bool MeshUtil::cs_mesh_queue_item_t::acked = false |
Whether the message should be acked.
bool MeshUtil::cs_mesh_queue_item_t::broadcast = true |
Whether the message should be broadcasted.
cs_control_cmd_t MeshUtil::cs_mesh_queue_item_t::controlCommand = CTRL_CMD_UNKNOWN |
If this mesh message is sent because of a Mesh command, then set this field to the control command payload of that mesh command.
It is used to send back the result of the mesh command.
bool MeshUtil::cs_mesh_queue_item_t::doNotRelay = false |
Whether this message should be sent to direct neighbours only.
cs_mesh_queue_item_meta_data_t MeshUtil::cs_mesh_queue_item_t::metaData = {} |
Metadata.
cs_data_t MeshUtil::cs_mesh_queue_item_t::msgPayload = {} |
The message payload.
uint8_t MeshUtil::cs_mesh_queue_item_t::numStoneIds = 0 |
Number of target stone IDs.
stone_id_t* MeshUtil::cs_mesh_queue_item_t::stoneIdsPtr = nullptr |
Pointer to the list of target stone IDs.