Thomas Göttgens and GitHub
38074f584f
Fix SENSOR power saving deep sleep truncating TX and skipping sleep on failed reads ( #10939 )
...
* Fix SENSOR power saving deep sleep behavior
Deep sleep could be entered while a telemetry packet was still queued
or on air, truncating the transmission. canSleep() gained a deepSleep
parameter and now vetoes in that case; light sleep is unchanged.
Telemetry modules defer a pending deep sleep (bounded to 30s) until the
radio is idle and no longer let the sensor polling interval override
the 5s pre-sleep grace period. A failed sensor read still arms deep
sleep instead of leaving the node awake for a full telemetry interval.
Fixes #10890
Fixes #10932
* Deduplicate telemetry deep sleep deferral logic
Move the radio-busy deferral and its counter into BaseTelemetryModule
and add an isPowerSavingSensor() helper. Removes the telemetry-specific
counter from OSThread. The sleep arming block stays per module because
it needs protected OSThread members not visible to the base class.
2026-07-08 07:30:46 -05:00
..
2026-07-01 16:04:50 -05:00
2026-07-01 19:01:27 -05:00
2026-07-07 06:34:22 -05:00
2026-07-07 10:15:01 -05:00
2026-07-01 19:01:27 -05:00
2026-07-06 10:21:24 -05:00
2026-07-06 10:21:24 -05:00
2026-02-19 07:16:33 -06:00
2026-01-04 05:15:53 -06:00
2026-07-07 14:58:58 -05:00
2026-07-07 14:58:58 -05:00
2026-07-02 11:48:58 -05:00
2026-07-02 11:48:58 -05:00
2026-07-01 19:01:27 -05:00
2026-06-27 08:20:51 -05:00
2026-03-22 09:37:22 -05:00
2026-01-04 05:15:53 -06:00
2026-07-01 19:01:27 -05:00
2026-04-21 09:57:06 -05:00
2026-06-28 06:50:35 -05:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-06-18 07:07:50 -05:00
2026-06-18 07:07:50 -05:00
2026-07-01 19:01:27 -05:00
2026-05-28 19:39:41 -05:00
2026-07-01 19:01:27 -05:00
2026-05-28 19:39:41 -05:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-05-07 20:24:39 -05:00
2026-05-07 20:24:39 -05:00
2026-07-06 13:18:49 -05:00
2026-01-04 05:15:53 -06:00
2026-07-06 14:51:41 -05:00
2026-06-30 12:44:25 -05:00
2026-02-24 13:26:47 -06:00
2026-02-28 17:17:29 -06:00
2026-01-04 05:15:53 -06:00
2026-06-19 19:56:24 -05:00
2026-07-07 10:15:01 -05:00
2026-07-02 16:50:49 -05:00
2026-06-19 19:52:58 -05:00
2026-07-01 19:01:27 -05:00
2026-06-19 19:52:58 -05:00
2026-07-07 14:58:58 -05:00
2026-07-07 14:58:58 -05:00
2026-07-01 19:01:27 -05:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-07-06 14:51:41 -05:00
2026-07-06 14:51:41 -05:00
2026-07-02 23:06:33 +01:00
2026-07-01 19:01:27 -05:00
2026-04-21 09:57:00 -05:00
2026-06-20 20:35:14 -05:00
2026-07-01 19:01:27 -05:00
2023-01-21 21:23:24 +01:00
2026-06-30 12:44:25 -05:00
2026-07-07 09:58:54 -05:00
2026-07-08 07:30:46 -05:00
2026-07-08 07:30:46 -05:00
2026-07-08 07:30:46 -05:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-06-30 12:44:25 -05:00
2026-01-04 05:15:53 -06:00
2026-05-28 19:39:41 -05:00
2026-05-28 19:39:41 -05:00
2026-07-06 13:18:49 -05:00
2026-07-02 11:48:58 -05:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-07-01 19:01:27 -05:00
2026-07-01 19:01:27 -05:00
2026-07-07 09:58:54 -05:00
2026-07-07 09:58:54 -05:00
2026-05-28 19:39:41 -05:00
2026-06-10 18:37:14 +01:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-03-27 15:38:41 -05:00
2026-01-04 05:15:53 -06:00
2026-07-01 19:01:27 -05:00
2026-07-01 19:01:27 -05:00
2026-07-01 19:01:27 -05:00
2026-05-09 15:12:10 -05:00
2026-01-04 05:15:53 -06:00
2026-07-06 13:18:49 -05:00
2026-07-01 19:01:27 -05:00