Page 1 of 1

Protobuf example - implementation in own project

Posted: Mon Mar 06, 2023 1:53 pm
by Stipa88
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