mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Move ok_to_mqtt from flag to bitfield (#574)
This commit is contained in:
parent
96b10c0364
commit
0acaec6eff
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
*ChunkedPayload.payload_chunk max_size:228
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue