Merge pull request #41 from mc-hamster/master

Added position_broadcast_smart for #934
pull/40/head
Jm Casler 2021-11-26 12:17:42 -08:00 zatwierdzone przez GitHub
commit 1babd02e62
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -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
* https://jpa.kapsi.fi/nanopb/download/ use nanopb 0.4.4

Wyświetl plik

@ -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)
*/