docs: console commands written one way -- <value> required, [value] optional, one command per line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5f31fc8e50
commit
713b2f8815
5 files changed
+137
-88
No files matched your search
+27
-9
@@ -44,6 +44,8 @@ This document provides an overview of CLI commands that can be sent to MeshCore
|
||||
---
|
||||
|
||||
### Reset the clock and reboot
|
||||
*meshcore-tth addition.*
|
||||
|
||||
**Usage:**
|
||||
- `clkreboot`
|
||||
|
||||
@@ -74,7 +76,7 @@ locally.
|
||||
|
||||
**Reply:** `HH:MM - D/M/YYYY UTC (epoch <seconds>)`
|
||||
|
||||
The epoch is a TeTeHacko addition. The human part is minutes only, so a host
|
||||
The epoch is a meshcore-tth addition. The human part is minutes only, so a host
|
||||
comparing clocks cannot see a difference smaller than a minute and has to leave
|
||||
a deadband of over 59 s; the epoch makes the comparison exact. It is appended,
|
||||
so anything that only prints the reply is unaffected.
|
||||
@@ -398,13 +400,13 @@ Refer to the node's manual for the correct settings to use.
|
||||
|
||||
#### Show battery state as an icon on the advertised name
|
||||
|
||||
*(TeTeHacko fork)* Appends a solar marker and a charge level to the name
|
||||
*meshcore-tth addition.* Appends a solar marker and a charge level to the name
|
||||
carried in adverts, so anyone who hears the node can see its state without
|
||||
logging in for telemetry. Off by default.
|
||||
|
||||
**Usage:**
|
||||
- `get batt.icon`
|
||||
- `set batt.icon on|off`
|
||||
- `set batt.icon <on|off>`
|
||||
|
||||
**Default:** `off`
|
||||
|
||||
@@ -431,6 +433,8 @@ changes roughly once a week.
|
||||
---
|
||||
|
||||
#### Battery scale for the name icon
|
||||
*meshcore-tth addition.*
|
||||
|
||||
**Usage:**
|
||||
- `get batt.icon.lo` / `set batt.icon.lo <millivolts>`
|
||||
- `get batt.icon.hi` / `set batt.icon.hi <millivolts>`
|
||||
@@ -581,12 +585,16 @@ so the icon and the Grafana percentage tell one story.
|
||||
|
||||
---
|
||||
|
||||
#### View or change the RX duty cycle (rxps) -- CUSTOM (TeTeHacko)
|
||||
#### View or change the RX duty cycle (rxps)
|
||||
*meshcore-tth addition.*
|
||||
|
||||
**Usage:**
|
||||
- `get radio.rxps`
|
||||
- `set radio.rxps off|on|balanced|max`
|
||||
- `set radio.rxps level <1-10> [preamble <16|32>]`
|
||||
- `set radio.rxps max preamble <16|32>`
|
||||
- `set radio.rxps <off|on|balanced|max|overdrive|riskyWorkingMax>`
|
||||
- `set radio.rxps <max|overdrive|riskyWorkingMax> preamble <16|32>`
|
||||
- `set radio.rxps level <level> [preamble <16|32>]`
|
||||
- `set radio.rxps <level>`
|
||||
- `set radio.rxps <rx_us> <sleep_us>`
|
||||
|
||||
The SX1262 sleeps between short listening windows (`SetRxDutyCycle`) instead
|
||||
of listening all the time, and stays awake through a packet once it hears a
|
||||
@@ -600,7 +608,7 @@ off until you set it; the setting is saved.
|
||||
higher the level, the longer the sleep. The named presets assume senders
|
||||
with a 16-symbol preamble (the MeshCore default), so they are safe on a
|
||||
mixed mesh.
|
||||
- `level <n>`: the same scale by number; without `preamble` it follows the SF.
|
||||
- `level`: the same scale by number, 1..10; without `preamble` it follows the SF.
|
||||
9 (`overdrive`) and 10 (`riskyWorkingMax`) are past the datasheet's timing
|
||||
condition -- 10 is known to lose packets.
|
||||
- `<rx_us> <sleep_us>`: raw window lengths.
|
||||
@@ -797,6 +805,8 @@ also runs in continuous RX.
|
||||
---
|
||||
|
||||
#### Radio silence watchdog (repeater, sensor, room server)
|
||||
*meshcore-tth addition.*
|
||||
|
||||
**Usage:**
|
||||
- `get radio.silence`
|
||||
- `set radio.silence <minutes>`
|
||||
@@ -814,6 +824,8 @@ To keep a quiet site out of a reboot loop, each such reboot doubles the threshol
|
||||
---
|
||||
|
||||
#### TX stall watchdog (repeater)
|
||||
*meshcore-tth addition.*
|
||||
|
||||
**Usage:**
|
||||
- `get radio.txstall`
|
||||
- `set radio.txstall <minutes>`
|
||||
@@ -828,6 +840,8 @@ To keep a quiet site out of a reboot loop, each such reboot doubles the threshol
|
||||
---
|
||||
|
||||
#### Reboot into the bootloader (repeater, sensor, room server; nRF52, local console only)
|
||||
*meshcore-tth addition.*
|
||||
|
||||
**Usage:**
|
||||
- `dfu [uf2|serial|ota]`
|
||||
|
||||
@@ -836,6 +850,8 @@ To keep a quiet site out of a reboot loop, each such reboot doubles the threshol
|
||||
---
|
||||
|
||||
#### Why the board last reset (repeater, sensor, room server)
|
||||
*meshcore-tth addition.*
|
||||
|
||||
**Usage:**
|
||||
- `get boot`
|
||||
|
||||
@@ -1227,7 +1243,7 @@ region save
|
||||
|
||||
**Note:** In duty-cycle mode `gps` answers `duty, {awake|asleep}, {fix|no fix}, {sat count} sats`.
|
||||
|
||||
`gps duty` powers the receiver only around a clock sync and cuts it in between.
|
||||
*meshcore-tth addition:* `gps duty` powers the receiver only around a clock sync and cuts it in between.
|
||||
It is meant for a node that runs GPS purely to keep its (volatile) RTC set — a
|
||||
mast or solar repeater — where a receiver drawing tens of mA continuously
|
||||
dwarfs the rest of the power budget. Unlike `gps period`, every attempt is
|
||||
@@ -1378,6 +1394,8 @@ Covers serial NMEA receivers (`MicroNMEALocationProvider`).
|
||||
---
|
||||
|
||||
#### Set the INA current sensor's shunt resistor
|
||||
*meshcore-tth addition.*
|
||||
|
||||
**Usage:**
|
||||
- `sensor get ina.shunt`
|
||||
- `sensor set ina.shunt <mOhm>`
|
||||
|
||||
Reference in new issue
Block a user