From 6db1857cb326653c39c930abb9a9a6d447564e1e Mon Sep 17 00:00:00 2001 From: Michael Haberler Date: Sun, 22 Mar 2015 02:17:30 +0100 Subject: nanopb.proto: add msgid message-level option --- generator/proto/nanopb.proto | 3 +++ 1 file changed, 3 insertions(+) (limited to 'generator/proto/nanopb.proto') 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 -- cgit 1.2.3-korg