diff --git a/meshtastic/mesh.options b/meshtastic/mesh.options index 541e4c9..cb85daa 100644 --- a/meshtastic/mesh.options +++ b/meshtastic/mesh.options @@ -18,6 +18,7 @@ # note: this payload length is ONLY the bytes that are sent inside of the Data protobuf (excluding protobuf overhead). The 16 byte header is # outside of this envelope *Data.payload max_size:237 +*Data.bitfield int_size:8 *NodeInfo.channel int_size:8 *NodeInfo.hops_away int_size:8 @@ -72,4 +73,4 @@ *ChunkedPayload.chunk_count int_size:16 *ChunkedPayload.chunk_index int_size:16 -*ChunkedPayload.payload_chunk max_size:228 \ No newline at end of file +*ChunkedPayload.payload_chunk max_size:228 diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index ed2e3aa..ae8631b 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -890,9 +890,9 @@ message Data { fixed32 emoji = 8; /* - * Defaults to false. Indicates the user approves the packet being uploaded to MQTT. + * Bitfield for extra flags. First use is to indicate that user approves the packet being uploaded to MQTT. */ - optional bool ok_to_mqtt = 9; + optional uint32 bitfield = 9; } /*