kopia lustrzana https://github.com/meshtastic/protobufs
Merge pull request #98 from mc-hamster/group-chat
Move max_length and max_count into .optionspull/100/head^2
commit
ce81bb93ae
|
@ -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
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue