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
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/392dcb29-5b97-4166-bfe3-325a4f95619fn%40googlegroups.com.