Protocomm Provisioning Protobuf Version

garagegadget
Posts: 7
Joined: Thu Dec 27, 2018 4:43 pm

Protocomm Provisioning Protobuf Version

Postby garagegadget » Tue Feb 05, 2019 4:32 pm

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

garagegadget
Posts: 7
Joined: Thu Dec 27, 2018 4:43 pm

Re: Protocomm Provisioning Protobuf Version

Postby garagegadget » Sat Feb 09, 2019 10:31 am

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

Who is online

Users browsing this forum: Bing [Bot] and 88 guests