Hello,
I am trying to use Protobuf between a C99 program (with Nanopb) and python3.9.2 program. The communication take place through a serial port communication (with pty under a Debian machine).
I have the following message:
syntax = "proto3"
import "nanopb.proto";
message My_msg {
uint32 time = 1;
bytes data = 4 [(nanopb).max_size = 255];
}
I am facing an issue with the bytes field. Does someone know how to "read", "write" and display the "data" variable on python and C (with an example with this message can help me a lot) ?
Thank you by advance,
Renaud