Commit 8ed012ea authored by Pedro Henrique Kopper's avatar Pedro Henrique Kopper

Add max_count on everything

parent 17dfdfa7
...@@ -3,7 +3,7 @@ syntax = "proto2"; ...@@ -3,7 +3,7 @@ syntax = "proto2";
package sadapmap; package sadapmap;
/* /*
* SADAPMAP v0.1 * SADAPMAP v0.3
*/ */
message ChannelReading { message ChannelReading {
...@@ -17,8 +17,8 @@ message MultiChannelReading { ...@@ -17,8 +17,8 @@ message MultiChannelReading {
message ChannelMetadata { message ChannelMetadata {
required uint32 id = 1; required uint32 id = 1;
required string name = 2; required string name = 2 [(nanopb).max_count = 32];
required string unit = 3; required string unit = 3 [(nanopb).max_count = 8];
required float minimum = 4; required float minimum = 4;
required float maximum = 5; required float maximum = 5;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment