protocol buffers looking pretty good

This commit is contained in:
geeksville 2020-01-22 20:46:00 -08:00
parent 73371d6183
commit 593cfa3a7e
2 changed files with 159 additions and 20 deletions

View file

@ -5,8 +5,14 @@
* use https://codelabs.developers.google.com/codelabs/jetpack-compose-basics/#4 to show service state
* connect to bluetooth device automatically using minimum power
protoc -I=. --java_out /tmp ./mesh.proto
protobuf notes
protoc -I=. --java_out /tmp mesh.proto
to generate nanopb c code
/home/kevinh/packages/nanopb-0.4.0-linux-x86/generator-bin/protoc --nanopb_out=/tmp -I=app/src/main/proto mesh.proto
https://jpa.kapsi.fi/nanopb/docs/
nanopb binaries available here: https://jpa.kapsi.fi/nanopb/download/ use nanopb 0.4.0
# Medium priority
* remove secret google settings json before open sourcing