Skip to content

Commit

Permalink
Merge pull request #627 from meshtastic/payload_length_233
Browse files Browse the repository at this point in the history
update payload max length
  • Loading branch information
thebentern authored Nov 25, 2024
2 parents c952f8a + 5ea20fc commit 02e6576
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions meshtastic/mesh.options
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion meshtastic/storeforward.options
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*StoreAndForward.text max_size:237
*StoreAndForward.text max_size:233

0 comments on commit 02e6576

Please sign in to comment.