From: Michael Haberler Date: Sun, 22 Mar 2015 01:17:30 +0000 (+0100) Subject: nanopb.proto: add msgid message-level option X-Git-Tag: 5.0.2~186^2~146 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=6db1857cb326653c39c930abb9a9a6d447564e1e;p=apps%2Fagl-service-can-low-level.git nanopb.proto: add msgid message-level option --- 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