summaryrefslogtreecommitdiffstats
path: root/generator/proto
diff options
context:
space:
mode:
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