From 5ea20fc1f774f3d5d4de301c74cd491fb30f4fb0 Mon Sep 17 00:00:00 2001 From: andrekir Date: Mon, 25 Nov 2024 12:52:24 -0300 Subject: [PATCH] update payload max length --- meshtastic/mesh.options | 4 ++-- meshtastic/mesh.proto | 2 +- meshtastic/storeforward.options | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meshtastic/mesh.options b/meshtastic/mesh.options index 26182a21..e2c905dd 100644 --- a/meshtastic/mesh.options +++ b/meshtastic/mesh.options @@ -17,7 +17,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.payload max_size:233 *Data.bitfield int_size:8 *NodeInfo.channel int_size:8 @@ -62,7 +62,7 @@ # or fixed_length or fixed_count, or max_count #This value may want to be a few bytes smaller to compensate for the parent fields. -*Compressed.data max_size:237 +*Compressed.data max_size:233 *Waypoint.name max_size:30 *Waypoint.description max_size:100 diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 24b84746..b1bdd596 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1268,7 +1268,7 @@ enum Constants { * 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 = 237; + DATA_PAYLOAD_LEN = 233; } /* diff --git a/meshtastic/storeforward.options b/meshtastic/storeforward.options index 8580aab3..57a122cf 100644 --- a/meshtastic/storeforward.options +++ b/meshtastic/storeforward.options @@ -1 +1 @@ -*StoreAndForward.text max_size:237 \ No newline at end of file +*StoreAndForward.text max_size:233 \ No newline at end of file