aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unittestproto.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittestproto.proto')
-rw-r--r--tests/unittestproto.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unittestproto.proto b/tests/unittestproto.proto
index c8a39dd..7024942 100644
--- a/tests/unittestproto.proto
+++ b/tests/unittestproto.proto
@@ -8,6 +8,10 @@ message FloatArray {
repeated float data = 1 [(nanopb).max_count = 10];
}
+message StringMessage {
+ required string data = 1 [(nanopb).max_size = 10];
+}
+
message CallbackArray {
// We cheat a bit and use this message for testing other types, too.
// Nanopb does not care about the actual defined data type for callback