Merge pull request #126 from mc-hamster/router

remove is_router
pull/130/head
Jm Casler 2022-03-15 15:45:32 -07:00 zatwierdzone przez GitHub
commit 441303d531
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 10 usunięć

Wyświetl plik

@ -544,19 +544,10 @@ message RadioConfig {
ChargeCurrent charge_current = 16;
/*
* Sets the current of the battery charger
* Sets the role of node
*/
Role role = 18;
/*
* Are we operating as a router.
* Changes behavior in the following ways:
* The device will only sleep for critically low battery level (i.e. always tries to stay alive for the mesh)
* In the future routing decisions will preferentially route packets through nodes with this attribute (because assumed
* good line of sight)
*/
bool is_router = 37;
/*
* If set, we are powered from a low-current source (i.e. solar), so even if it looks like we have power flowing in
* we should try to minimize power consumption as much as possible.