kopia lustrzana https://github.com/meshtastic/protobufs
Fix data payload len to match mesh.options, also update docs
rodzic
f604be5bb2
commit
f5b3d0643b
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
*RouteDiscovery.route max_count:8
|
*RouteDiscovery.route max_count:8
|
||||||
|
|
||||||
# FIXME, max out based on total Data size And do fragmentation and reassembly (for larger payloads) at the Android layer, not the esp32 layer.
|
# note: this payload length is ONLY the bytes that are sent inside of the Data protobuf (excluding protobuf overhead). The 16 byte header is
|
||||||
# note: this payload length is ONLY the bytes that are sent inside of the radiohead packet. The 16 byte header is outside of this envelope
|
# outside of this envelope
|
||||||
*Data.payload max_size:237
|
*Data.payload max_size:237
|
||||||
|
|
||||||
# Big enough for 1.2.28.568032c-d
|
# Big enough for 1.2.28.568032c-d
|
||||||
|
|
|
@ -527,10 +527,10 @@ enum Constants {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* From mesh.options
|
* From mesh.options
|
||||||
* note: this payload length is ONLY the bytes that are sent inside of the radiohead packet
|
* note: this payload length is ONLY the bytes that are sent inside of the Data protobuf (excluding protobuf overhead). The 16 byte header is
|
||||||
* Data.payload max_size:240
|
* outside of this envelope
|
||||||
*/
|
*/
|
||||||
DATA_PAYLOAD_LEN = 240;
|
DATA_PAYLOAD_LEN = 237;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Ładowanie…
Reference in New Issue