summaryrefslogtreecommitdiffstats
path: root/generator/proto
diff options
context:
space:
mode:
authorMichael Haberler <git@mah.priv.at>2015-03-22 02:17:30 +0100
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-03-22 11:06:59 +0200
commit6db1857cb326653c39c930abb9a9a6d447564e1e (patch)
treeb37fd67e44b1fc184c47e47ff9085c4add2074be /generator/proto
parentef422656a57b3f472b192691a40f48d0d72f2927 (diff)
nanopb.proto: add msgid message-level option
Diffstat (limited to 'generator/proto')
-rw-r--r--generator/proto/nanopb.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/proto/nanopb.proto b/generator/proto/nanopb.proto
index a1b24936..3f2ed8e0 100644
--- a/generator/proto/nanopb.proto
+++ b/generator/proto/nanopb.proto
@@ -56,6 +56,9 @@ message NanoPBOptions {
// Generate oneof fields as normal optional fields instead of union.
optional bool no_unions = 8 [default = false];
+
+ // integer type tag for a message
+ optional uint32 msgid = 9;
}
// Extensions to protoc 'Descriptor' type in order to define options