Extend the nanopb sample with a Kconfig option to optionally include a field in a protobuf message. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
11 lines
200 B
Protocol Buffer
11 lines
200 B
Protocol Buffer
// A very simple protocol definition, consisting of only
|
|
// one message.
|
|
|
|
syntax = "proto3";
|
|
|
|
message SimpleMessage {
|
|
int32 lucky_number = 1;
|
|
bytes buffer = 2;
|
|
int32 unlucky_number = 3;
|
|
}
|