Protobuf example - implementation in own project

Stipa88
Posts: 20
Joined: Mon May 09, 2022 12:26 pm

Protobuf example - implementation in own project

Postby Stipa88 » Mon Mar 06, 2023 1:53 pm

Hi.

There is a lot of mention of Protobuf, and the message structure,
but unfortunately, there is nowhere a simple example of how to implement it.

Example.
a) Create a new ESP-iDF project (eg hello_world)
b) Inside the project I create a proto folder
c) Add the msg.proto file to the "proto" folder

Question?

Who "CMakeLists.txt" should be modified and in what way, in order to be able to use the generated proto functions.

Tnx
Stjepan

Who is online

Users browsing this forum: No registered users and 263 guests