diff --git a/mesh.options b/mesh.options index c1a36e6e8f..ae00066b20 100644 --- a/mesh.options +++ b/mesh.options @@ -9,8 +9,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 radiohead packet. The 16 byte header is outside of this envelope +# 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 # Big enough for 1.2.28.568032c-d diff --git a/mesh.proto b/mesh.proto index b677237714..ef0fdbe611 100644 --- a/mesh.proto +++ b/mesh.proto @@ -527,10 +527,10 @@ enum Constants { /* * From mesh.options - * note: this payload length is ONLY the bytes that are sent inside of the radiohead packet - * Data.payload max_size:240 + * 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_LEN = 240; + DATA_PAYLOAD_LEN = 237; } /*