simple_repeater: radio silence watchdog -- re-arm RX, then reboot a deaf receiver (#6)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-03 20:03:01 +01:00
1 parent 10f0349207
commit 278c1b8c8a
8 files changed
+440

No files matched your search

+4
View File
@@ -94,6 +94,9 @@ public:
uint16_t fair_group_refill_s = 0, fair_sender_refill_s = 0, fair_advert_refill_s = 0;
uint16_t fair_advert_hours = 0; // per-origin advert window, hours; 0 = off
uint8_t fair_dry_run = 0; // count FairnessLimiter verdicts, forward anyway
// Radio silence watchdog (RadioSilenceWatchdog.h, simple_repeater): minutes
// without a received frame before the receiver is re-armed, then rebooted; 0 = off.
uint16_t radio_silence_min = 0;
private:
class RadioPrefs : public CommonRadioPrefs {
@@ -117,6 +120,7 @@ private:
def("agc_int", _parent->agc_reset_interval);
def("hash_mode", _parent->path_hash_mode);
def("multi_ack", _parent->multi_acks);
def("rsilence", _parent->radio_silence_min);
}
public:
RadioPrefs(NodePrefs* parent) : _parent(parent) { }