Add nanopb (https://github.com/metormote/nanopb) and generate example protocol buffer for beerduino (https://github.com/ilyevsky/beerduino)
This commit is contained in:
13
proto/beerduino.proto
Normal file
13
proto/beerduino.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
import "nanopb.proto";
|
||||
|
||||
package beerduino;
|
||||
|
||||
message Ping {
|
||||
required int32 id = 1;
|
||||
}
|
||||
|
||||
message Echo {
|
||||
required int32 id = 1;
|
||||
optional string message = 2 [(nanopb).max_size = 40];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user