diff --git a/README.md b/README.md index b0b298a..4c12b11 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Protobuf build instructions: * 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 +* /home/kevinh/packages/nanopb-0.4.4-linux-x86/generator-bin/protoc --nanopb_out=/tmp -I=app/src/main/proto mesh.proto Nanopb binaries available here: -* https://jpa.kapsi.fi/nanopb/download/ use nanopb 0.4.0 \ No newline at end of file +* https://jpa.kapsi.fi/nanopb/download/ use nanopb 0.4.4 \ No newline at end of file diff --git a/radioconfig.proto b/radioconfig.proto index 762910b..59429b9 100644 --- a/radioconfig.proto +++ b/radioconfig.proto @@ -235,6 +235,12 @@ message RadioConfig { */ uint32 position_broadcast_secs = 1; + /* + * We should send our position this often (but only if it has changed significantly) + * Defaults to 15 minutes + */ + bool position_broadcast_smart = 17; + /* * Send our owner info at least this often (also we always send once at boot - to rejoin the mesh) */