Move ok_to_mqtt from flag to bitfield (#574)

This commit is contained in:
Jonathan Bennett 2024-09-06 18:27:22 -05:00 committed by GitHub
parent 96b10c0364
commit 0acaec6eff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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;
}
/*