summaryrefslogtreecommitdiffstats
path: root/tests/common/unittestproto.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/unittestproto.proto')
-rw-r--r--tests/common/unittestproto.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/common/unittestproto.proto b/tests/common/unittestproto.proto
index 7024942e..eb3e7dec 100644
--- a/tests/common/unittestproto.proto
+++ b/tests/common/unittestproto.proto
@@ -12,6 +12,10 @@ message StringMessage {
required string data = 1 [(nanopb).max_size = 10];
}
+message BytesMessage {
+ required bytes data = 1 [(nanopb).max_size = 16];
+}
+
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