Page 1 of 1

Protocomm Provisioning Protobuf Version

Posted: Tue Feb 05, 2019 4:32 pm
by garagegadget
Hi,

I am working on extending the Protocomm Provisioning with a custom set of messages.

The example custom Proto file indicates the use of Protobuf version 2 which results in messages which is different in structure to the example custom messages i.e. the "has_XXX" fields using the make utility to generate the Protobuf code.

Please confirm the Proto contract version i.e. Proto Version 2 or 3?

BR,
Garage Gadget

Re: Protocomm Provisioning Protobuf Version

Posted: Sat Feb 09, 2019 10:31 am
by garagegadget
Hi,

The issue was resolved by installing a newer version of the Protoc-c compiler
(protobuf-c 1.3.1/libprotoc 3.6.1)
into the Ubuntu environment.

The earlier version was generating Protobuf-V2 code and V3 code

BR,
GarageGadget