Prioritize ESP32 Auto CPU speed during dual-profile radio scanning
This commit is contained in:
1 parent
663312c820
commit
1412ee4954
16 files changed
+399
-28
No files matched your search
@@ -3024,7 +3024,7 @@ The G3 button also wakes the device for at least two minutes. See the
|
||||
for verification steps and the distinction between the fix and the published
|
||||
binaries.
|
||||
|
||||
Companion firmware defaults this setting to `on`. Full Companion accepts the command from its local USB terminal and exposes the same setting in WebConfig. On ESP32, it lowers the CPU clock to 80 MHz, enables idle yielding, and enables the configured GPS duty cycle. USB and each active wireless transport remain available; SenseCAP Indicator Full keeps only its selected BLE or infrastructure-WiFi secondary transport active. `set powersaving off` restores the board's normal CPU clock and disables the GPS duty cycle. This device setting is separate from LoRa RXPS (`radio.rxps`) and WiFi modem power save (`wifi.powersave`). Infrastructure uses the same commands; its hardware and active-service sleep guards determine when the node can sleep.
|
||||
Companion firmware defaults this setting to `on`. Full Companion accepts the command from its local USB terminal and exposes the same setting in WebConfig. On ESP32 with processor speed set to Auto, it normally selects 80 MHz, enables idle yielding, and enables the configured GPS duty cycle. While a second radio profile is active, Auto holds the highest supported CPU speed for faster switching; SenseCAP Indicator retains its existing policy. Explicit processor speeds remain selected. USB and each active wireless transport remain available; SenseCAP Indicator Full keeps only its selected BLE or infrastructure-WiFi secondary transport active. `set powersaving off` restores the board's normal CPU clock and disables the GPS duty cycle. This device setting is separate from LoRa RXPS (`radio.rxps`) and WiFi modem power save (`wifi.powersave`). Infrastructure uses the same commands; its hardware and active-service sleep guards determine when the node can sleep.
|
||||
|
||||
#### Diagnose what prevents power saving
|
||||
|
||||
|
||||
@@ -496,9 +496,11 @@ turns it on once when upgrading an older Companion preference file, including
|
||||
one written by the short-lived default-off regression. After that one-time
|
||||
migration, an explicit `set powersaving off` selection remains persistent.
|
||||
|
||||
On ESP32, enabling it lowers the CPU clock to 80 MHz, enables idle yielding,
|
||||
and enables the configured GPS duty cycle. Disabling it restores the normal CPU
|
||||
clock and keeps GPS awake. Active Full Companion transports remain available in
|
||||
On ESP32, enabling it normally selects 80 MHz when processor speed is Auto,
|
||||
enables idle yielding, and enables the configured GPS duty cycle. Auto holds
|
||||
the highest supported CPU speed while a second radio profile is active, except
|
||||
on SenseCAP Indicator. An explicit processor speed stays selected. Disabling
|
||||
device power saving restores the normal Auto CPU policy and keeps GPS awake. Active Full Companion transports remain available in
|
||||
both states; on the SenseCAP Indicator this means USB plus the selected BLE or
|
||||
infrastructure-WiFi secondary transport. WiFi modem sleep stays enabled when
|
||||
BLE and the ESP32 WiFi radio are active together because coexistence requires
|
||||
|
||||
@@ -115,9 +115,12 @@ packet-test failures. SDK wait time is not a current measurement.
|
||||
The WebConfig **Processor speed** selector and `set cpu.freq auto|80|160|240`
|
||||
save the processor clock choice. `get cpu.freq` reports the choice, actual MHz
|
||||
and supported values. The board rejects unsupported clocks. Auto retains the
|
||||
existing policy: Companion normally selects 80 MHz with device power saving
|
||||
on and its configured nominal speed with it off. Other roles retain their
|
||||
nominal speed in Auto. A fixed speed stays fixed when power saving changes.
|
||||
normal policy: Companion selects 80 MHz with device power saving on and its
|
||||
configured nominal speed with it off. Other roles retain their nominal speed.
|
||||
While radio2 or a temporary second profile is active, Auto instead holds the
|
||||
highest supported CPU speed (240 or 160 MHz) to prioritize switching speed.
|
||||
SenseCAP Indicator retains its existing policy. A fixed speed stays fixed when
|
||||
power saving or radio2 changes.
|
||||
The selection applies immediately; a failed apply or save reports an error and
|
||||
attempts to restore the previous selection. Returning to Auto clears the saved
|
||||
override. Existing preferences load as Auto.
|
||||
|
||||
Reference in new issue
Block a user