Merge pull request #98 from mc-hamster/group-chat

Move max_length and max_count into .options
This commit is contained in:
Jm Casler 2022-02-19 23:10:28 -08:00 committed by GitHub
commit ce81bb93ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -12,6 +12,9 @@
# 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.int_size:8
*GroupInfo.group max_length:16 max_count:10
# Big enough for 1.2.28.568032c-d
*MyNodeInfo.firmware_version max_size:18
@ -39,4 +42,3 @@
*MyNodeInfo.air_period_tx max_count:24
*MyNodeInfo.air_period_rx max_count:24
# *MyNodeInfo.air_period_rx_all max_count:12

View file

@ -891,7 +891,7 @@ enum CriticalErrorCode {
* GroupInfo for group chats like #FoodFreaks and #CoolPeopleOnly
*/
message GroupInfo {
repeated string group = 1 [(nanopb).max_length = 16, (nanopb).max_count = 10];
repeated string group = 1;
}