Repeater: TX stall watchdog -- packets queued, nothing sent for 15 min: re-arm, then reboot
pub-release / release (push) Successful in 39m1s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-14 11:02:58 +01:00
1 parent 01d66a66ce
commit d9c7b9c008
6 files changed
+167 -4

No files matched your search

+3
View File
@@ -521,6 +521,9 @@ public:
// To check if there is pending work
bool hasPendingWork() const;
// CUSTOM (TeTeHacko): for the TX stall watchdog (helpers/NodeMaintenance.h).
int txQueued() const { return _mgr->getOutboundTotal(); }
int txDue() const { return _mgr->getOutboundCount(_ms->getMillis()); }
bool setRxBoostedGain(bool enable) override;
+1 -1
View File
@@ -1129,7 +1129,7 @@ void loop() {
#endif
the_mesh.loop();
maint.loop(); // CUSTOM (TeTeHacko): deferred `dfu`, deaf-receiver watchdog
maint.loop(the_mesh.txQueued(), the_mesh.txDue()); // CUSTOM (TeTeHacko): deferred `dfu`, deaf-receiver and TX stall watchdogs
sensors.loop();
#ifdef DISPLAY_CLASS
ui_task.loop();