Added RX duty-cycle watchdog recovery

This commit is contained in:
Jarosław Domański
2026-07-09 12:00:15 +02:00
parent 92d09c84ef
commit 9cbd944a29
11 changed files with 123 additions and 1 deletions
+5
View File
@@ -855,6 +855,11 @@ void SensorMesh::setTxPower(int8_t power_dbm) {
bool SensorMesh::setRxPowerSaving(bool enable, uint32_t rx_us, uint32_t sleep_us) {
return radio_driver.setRxPowerSaving(enable, rx_us, sleep_us);
}
void SensorMesh::getRxPsWatchdogCounts(uint32_t* soft, uint32_t* hard) {
*soft = radio_driver.getRxPsWatchdogSoftCount();
*hard = radio_driver.getRxPsWatchdogHardCount();
}
void SensorMesh::formatStatsReply(char *reply) {
StatsFormatHelper::formatCoreStats(reply, board, *_ms, _err_flags, _mgr);