kopia lustrzana https://github.com/meshtastic/protobufs
Add compressed payload variant
rodzic
ccd065cb50
commit
2946f6e5c3
|
@ -12,6 +12,8 @@
|
|||
# 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.payload_compressed max_size:237
|
||||
*Data.payloadVariant anonymous_oneof:true
|
||||
|
||||
# Big enough for 1.2.28.568032c-d
|
||||
*MyNodeInfo.firmware_version max_size:18
|
||||
|
|
16
mesh.proto
16
mesh.proto
|
@ -628,10 +628,18 @@ message Data {
|
|||
*/
|
||||
PortNum portnum = 1;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
bytes payload = 2;
|
||||
oneof payloadVariant {
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
bytes payload = 2;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
bytes payload_compressed = 10;
|
||||
}
|
||||
|
||||
/*
|
||||
* Not normally used, but for testing a sender can request that recipient
|
||||
|
|
Ładowanie…
Reference in New Issue