Inital test (from beerduino, https://github.com/ilyevsky/beerduino) to establish protocol buffer communication between java and arduino powered by purejavacomm (https://github.com/nyholku/purejavacomm).
This commit is contained in:
10
src/main/proto/beerduino.proto
Normal file
10
src/main/proto/beerduino.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
package beerduino;
|
||||
|
||||
message Ping {
|
||||
required int32 id = 1;
|
||||
}
|
||||
|
||||
message Echo {
|
||||
required int32 id = 1;
|
||||
optional string message = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user