Add nanopb (https://github.com/metormote/nanopb) and generate example protocol buffer for beerduino (https://github.com/ilyevsky/beerduino)

This commit is contained in:
2015-03-12 15:30:51 +00:00
parent 6f5a1d7f71
commit 5ec12f2438
6 changed files with 59 additions and 208 deletions

13
proto/beerduino.proto Normal file
View 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];
}