Move max_length and max_count into .options

pull/98/head
Jm Casler 2022-02-19 23:09:26 -08:00
rodzic 22a5d39fb6
commit 8302a04192
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
# 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

Wyświetl plik

@ -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;
}