gps duty: sync once a day, retry a failed window after 6 h

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-12 09:49:46 +01:00
1 parent 84e4136a84
commit 3c7d947887
3 files changed
+11 -7

No files matched your search

+2 -2
View File
@@ -1143,8 +1143,8 @@ capped even before the first fix ever, so a node that never sees the sky does
not keep the receiver powered. It sets `gps period` to 0. The position still
comes from prefs (see `set advert.loc`), so duty mode does not affect what a repeater
advertises. `gps on` / `gps off` leave duty mode. Build-time knobs:
`GPS_DUTY_SYNC_INTERVAL_SECS` (1800), `GPS_DUTY_MAX_AWAKE_SECS` (300, the cap on
one attempt) and `GPS_DUTY_RETRY_SECS` (3600, backoff after a window with no fix).
`GPS_DUTY_SYNC_INTERVAL_SECS` (86400), `GPS_DUTY_MAX_AWAKE_SECS` (300, the cap on
one attempt) and `GPS_DUTY_RETRY_SECS` (21600, backoff after a window with no fix).
---