From b8d0ce96311af673125482310c33ce59db6bcfe7 Mon Sep 17 00:00:00 2001 From: GUVWAF Date: Sat, 20 Jan 2024 10:46:07 +0100 Subject: [PATCH] Add `via_mqtt` tag to MeshPacket --- meshtastic/mesh.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index e8c2f43..488b3bd 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -972,6 +972,11 @@ message MeshPacket { * Describe if this message is delayed */ Delayed delayed = 13 [deprecated = true]; + + /* + * Describes whether this packet passed via MQTT somewhere along the path it currently took. + */ + bool via_mqtt = 14; } /* @@ -1508,4 +1513,4 @@ message DeviceMetadata { * Has Remote Hardware enabled */ bool hasRemoteHardware = 10; -} +} \ No newline at end of file