From fd6493b18df31cfd2332422da710f49b6b9066dd Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Mon, 29 Nov 2021 21:44:38 -0800 Subject: [PATCH] show value for MAXUINT and update cli example --- website/docs/software/settings/power.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/website/docs/software/settings/power.md b/website/docs/software/settings/power.md index 48889d37..e29bb517 100644 --- a/website/docs/software/settings/power.md +++ b/website/docs/software/settings/power.md @@ -14,10 +14,10 @@ Power settings on a Meshtastic device can be set like other user-define settings For example, if we wanted to disable sleep mode, like when we put the device into router mode, we could use the command: ```bash -meshtastic --set mesh_sds_timeout_secs MAXUNIT +meshtastic --set mesh_sds_timeout_secs 4294967295 ``` :::note -See MAXUNIT from `mesh_sds_timeout_secs` below: +See MAXUINT from `mesh_sds_timeout_secs` below: For a description and more information on what exactly all of these mean, please refer to [Power Management State Machine](../other/power) @@ -31,7 +31,7 @@ For a description and more information on what exactly all of these mean, please | ls_secs | `integer` (seconds) | `0` (see note) | | mesh_sds_timeout_secs | `integer` (seconds) | `0` | | min_wake_secs | `integer` (seconds) | `0` | -| phone_sds_timeout_sec | `integer` (seconds) | `0` | Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, MAXUINT for disabled | +| phone_sds_timeout_sec | `integer` (seconds) | `0` | Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, use the value of MAXUINT or 4294967295 to disable | | phone_timeout_secs | `integer` (seconds) | `0` | | screen_on_secs | `integer` (seconds) | `0` | | sds_secs | `integer` (seconds) | `0` | @@ -69,7 +69,7 @@ Power management state machine option. See the [power page](../other/power) for ### mesh_sds_timeout_secs -Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, MAXUINT for disabled +Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, use the MAXUINT or 4294967295 to disable ### min_wake_secs @@ -77,7 +77,7 @@ Power management state machine option. See the [power page](../other/power)for d ### phone_sds_timeout_sec -Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, MAXUINT for disabled +Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, use the MAXUINT or 4294967295 to disable ### phone_timeout_secs @@ -112,7 +112,9 @@ Power management state machine option. See the [power page](../other/power) for ]}> - TODO +```bash +meshtastic --set mesh_sds_timeout_secs 0 +```