summaryrefslogtreecommitdiffstats
path: root/tests/message_sizes/messages2.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/message_sizes/messages2.proto')
-rw-r--r--tests/message_sizes/messages2.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/message_sizes/messages2.proto b/tests/message_sizes/messages2.proto
new file mode 100644
index 00000000..19fc11ef
--- /dev/null
+++ b/tests/message_sizes/messages2.proto
@@ -0,0 +1,8 @@
+import 'nanopb.proto';
+import 'messages1.proto';
+
+message xmit {
+ required MessageHeader header = 1;
+ required bytes data = 2 [(nanopb).max_size = 128];
+}
+