Skip to content

Commit a4c92d9

Browse files
Update protobufs (#8707)
Co-authored-by: caveman99 <[email protected]>
1 parent 186cbe6 commit a4c92d9

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

protobufs

src/mesh/generated/meshtastic/mesh.pb.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,12 @@ typedef enum _meshtastic_HardwareModel {
288288
meshtastic_HardwareModel_WISMESH_TAP_V2 = 116,
289289
/* RAK3401 */
290290
meshtastic_HardwareModel_RAK3401 = 117,
291+
/* RAK6421 Hat+ */
292+
meshtastic_HardwareModel_RAK6421 = 118,
293+
/* Elecrow ThinkNode M4 */
294+
meshtastic_HardwareModel_THINKNODE_M4 = 119,
295+
/* Elecrow ThinkNode M6 */
296+
meshtastic_HardwareModel_THINKNODE_M6 = 120,
291297
/* ------------------------------------------------------------------------------------------------------------------------------------------
292298
Reserved ID For developing private Ports. These will show up in live traffic sparsely, so we can use a high number. Keep it within 8 bits.
293299
------------------------------------------------------------------------------------------------------------------------------------------ */
@@ -825,7 +831,11 @@ typedef struct _meshtastic_MeshPacket {
825831
Note: Our crypto implementation uses this field as well.
826832
See [crypto](/docs/overview/encryption) for details. */
827833
uint32_t from;
828-
/* The (immediate) destination for this packet */
834+
/* The (immediate) destination for this packet
835+
If the value is 4,294,967,295 (maximum value of an unsigned 32bit integer), this indicates that the packet was
836+
not destined for a specific node, but for a channel as indicated by the value of `channel` below.
837+
If the value is another, this indicates that the packet was destined for a specific
838+
node (i.e. a kind of "Direct Message" to this node) and not broadcast on a channel. */
829839
uint32_t to;
830840
/* (Usually) If set, this indicates the index in the secondary_channels table that this packet was sent/received on.
831841
If unset, packet was on the primary channel.

0 commit comments

Comments
 (0)