From fb2d0b3a5da5976953826607b7f3e08ff0ce468c Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Tue, 12 Apr 2022 18:04:17 -0500 Subject: [PATCH] Remove phone sds --- docs/settings/power.mdx | 43 ----------------------------------- docs/settings/router.mdx | 1 - docs/software/other/power.mdx | 3 +-- 3 files changed, 1 insertion(+), 46 deletions(-) diff --git a/docs/settings/power.mdx b/docs/settings/power.mdx index b43f1dcb..5af70f69 100644 --- a/docs/settings/power.mdx +++ b/docs/settings/power.mdx @@ -25,7 +25,6 @@ For a description and more information on what exactly all of these mean, please | mesh_sds_timeout_secs | `integer` (seconds) | `0` | | min_wake_secs | `integer` (seconds) | `0` | | on_battery_shutdown_after_secs | `integer` (seconds) | `0` | -| phone_sds_timeout_sec | `integer` (seconds) | `0` | | phone_timeout_secs | `integer` (seconds) | `0` | | screen_on_secs | `integer` (seconds) | `0` | | sds_secs | `integer` (seconds) | `0` | @@ -38,7 +37,6 @@ When you change the following settings to `0` they assume the following defaults - `ls_secs`: 1 hour - `mesh_sds_timeout_secs`: 2 hours - `min_wake_secs`: 10 seconds -- `phone_sds_timeout_sec`: 2 hours - `phone_timeout_secs`: 15 minutes - `screen_on_secs`: 1 minute - `sds_secs`: 1 year @@ -352,47 +350,6 @@ Configuring this setting is not yet available for the selected platform. If this -### phone_sds_timeout_sec - -Power management state machine option. See the [power page](/docs/software/other/power) for details. 0 for default of two hours, use the MAXUINT or 4294967295 to disable. - -#### Enable/Disable phone_sds_timeout_sec - - - - -```shell title="Set phone_sds_timeout_sec to default (2 hours)" -meshtastic --set phone_sds_timeout_sec 0 -``` - -```shell title="Disable phone_sds_timeout_sec" -meshtastic --set phone_sds_timeout_sec 4294967295 -``` - -```shell title="Set phone_sds_timeout_sec to 120 seconds" -meshtastic --set phone_sds_timeout_sec 120 -``` - - - -Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. - - -Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. - - -Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. - - - ### phone_timeout_secs Power management state machine option. See the [power page](/docs/software/other/power) for details. 0 for default of 15 minutes. diff --git a/docs/settings/router.mdx b/docs/settings/router.mdx index 261b4a41..1489b5fa 100644 --- a/docs/settings/router.mdx +++ b/docs/settings/router.mdx @@ -73,7 +73,6 @@ Toggling `is_router` changes your device settings in the following ways. | `position_broadcast_secs` | 12 hours | 15 minutes | | `wait_bluetooth_secs` | 1 | 60 | | `mesh_sds_timeout_secs` | NODE_DELAY_FOREVER | 2 hours | -| `phone_sds_timeout_sec` | NODE_DELAY_FOREVER | 2 hours | | `ls_secs` | 1 day | 5 minutes | ### Altered Behaviors diff --git a/docs/software/other/power.mdx b/docs/software/other/power.mdx index 2186b51a..2c097da3 100644 --- a/docs/software/other/power.mdx +++ b/docs/software/other/power.mdx @@ -74,8 +74,7 @@ From lower to higher power consumption. - While in ON: If it has been more than screen_on_secs since a press, lower to DARK - While in DARK: If time since last contact by our phone exceeds phone_timeout_secs (15 minutes), we transition down into NB mode - While in DARK or NB: If nothing above is forcing us to stay in a higher mode (wait_bluetooth_secs, min_wake_secs) we will lower down to LS state -- While in LS: If either phone_sds_timeout_secs (default 2 hr) or mesh_sds_timeout_secs (default 2 hr) are exceeded we will lower into SDS mode for sds_secs (default 1 yr) (or a button press). (Note: phone_sds_timeout_secs is currently disabled for now, because most users - are using without a phone) +- While in LS: If mesh_sds_timeout_secs (default 2 hr) are exceeded we will lower into SDS mode for sds_secs (default 1 yr) (or a button press). - Any time we enter LS mode: We stay in that until an interrupt, button press or other state transition. Every ls_secs (default 1 hr) and let the Arduino loop() run one iteration (FIXME, not sure if we need this at all), and then immediately reenter lightsleep mode on the CPU. TODO: Eventually these scheduled intervals should be synchronized to the GPS clock, so that we can consider leaving the LoRa receiver off to save even more power.