78#define printMeshQueueItem(modelName, meshQueueItemMetaData) \
80 modelName " id=%u type=%u priority=%u transmissionsOrTimeout=%u", \
81 meshQueueItemMetaData.id, \
82 meshQueueItemMetaData.type, \
83 meshQueueItemMetaData.priority, \
84 meshQueueItemMetaData.transmissionsOrTimeout);
@ CTRL_CMD_UNKNOWN
Definition: cs_CommandTypes.h:88
@ CS_MESH_MODEL_TYPE_UNKNOWN
Definition: cs_MeshModelPackets.h:96
uint16_t cs_control_cmd_t
Definition: cs_Typedefs.h:22
uint8_t stone_id_t
Definition: cs_Typedefs.h:23
Mesh utils without dependencies on mesh SDK.
Definition: cs_MeshCommon.h:17
Struct to queue an item.
Definition: cs_MeshCommon.h:48
bool doNotRelay
Whether this message should be sent to direct neighbours only.
Definition: cs_MeshCommon.h:59
stone_id_t * stoneIdsPtr
Pointer to the list of target stone IDs.
Definition: cs_MeshCommon.h:72
cs_data_t msgPayload
The message payload.
Definition: cs_MeshCommon.h:75
cs_control_cmd_t controlCommand
If this mesh message is sent because of a Mesh command, then set this field to the control command pa...
Definition: cs_MeshCommon.h:66
bool acked
Whether the message should be acked.
Definition: cs_MeshCommon.h:53
bool broadcast
Whether the message should be broadcasted.
Definition: cs_MeshCommon.h:56
uint8_t numStoneIds
Number of target stone IDs.
Definition: cs_MeshCommon.h:69
cs_mesh_queue_item_meta_data_t metaData
Metadata.
Definition: cs_MeshCommon.h:50
Packets (structs) that are used internally in the firmware, and can be changed freely.
Definition: cs_PacketsInternal.h:27