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

Move max_length and max_count into .options
pull/100/head^2
Jm Casler 2022-02-19 23:10:28 -08:00 zatwierdzone przez GitHub
commit ce81bb93ae
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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 # 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 # outside of this envelope
*Data.payload max_size:237 *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 # Big enough for 1.2.28.568032c-d
*MyNodeInfo.firmware_version max_size:18 *MyNodeInfo.firmware_version max_size:18
@ -39,4 +42,3 @@
*MyNodeInfo.air_period_tx max_count:24 *MyNodeInfo.air_period_tx max_count:24
*MyNodeInfo.air_period_rx max_count:24 *MyNodeInfo.air_period_rx max_count:24
# *MyNodeInfo.air_period_rx_all max_count:12

Wyświetl plik

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