docs site preview: commands written one way (ef16d8b1)
This commit is contained in:
1 parent
20828922f2
commit
31492ac499
7 files changed
+264
-128
No files matched your search
+19
-9
@@ -573,6 +573,7 @@
|
||||
<p><strong>Note:</strong> No reply is sent.</p>
|
||||
<hr />
|
||||
<h3 id="reset-the-clock-and-reboot">Reset the clock and reboot</h3>
|
||||
<p><em>meshcore-tth addition.</em></p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>clkreboot</code></p>
|
||||
<p><strong>Note:</strong> No reply is sent.</p>
|
||||
@@ -594,7 +595,7 @@ locally.</p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>clock</code></p>
|
||||
<p><strong>Reply:</strong> <code>HH:MM - D/M/YYYY UTC (epoch <seconds>)</code></p>
|
||||
<p>The epoch is a TeTeHacko addition. The human part is minutes only, so a host
|
||||
<p>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.</p>
|
||||
@@ -829,12 +830,12 @@ Refer to the node's manual for the correct settings to use.
|
||||
<p><strong>Note:</strong> Advertised names can use up to 23 bytes when location is included and 31 bytes otherwise. Emoji and Unicode characters may take more than one byte. Names that exceed the available advert space are truncated at a valid UTF-8 code point boundary.</p>
|
||||
<hr />
|
||||
<h4 id="show-battery-state-as-an-icon-on-the-advertised-name">Show battery state as an icon on the advertised name</h4>
|
||||
<p><em>(TeTeHacko fork)</em> Appends a solar marker and a charge level to the name
|
||||
<p><em>meshcore-tth addition.</em> 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.</p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>get batt.icon</code>
|
||||
- <code>set batt.icon on|off</code></p>
|
||||
- <code>set batt.icon <on|off></code></p>
|
||||
<p><strong>Default:</strong> <code>off</code></p>
|
||||
<p><strong>Glyphs:</strong> <code>☀</code> permanently (solar node), then one of <code>▁▂▃▄▅▆▇█</code>
|
||||
for the charge level -- or <code>⚡</code> instead of the level while the node runs on
|
||||
@@ -854,6 +855,7 @@ weak sun is 38-46 mV and the drift 13 mV/day, so at eight levels the name
|
||||
changes roughly once a week.</p>
|
||||
<hr />
|
||||
<h4 id="battery-scale-for-the-name-icon">Battery scale for the name icon</h4>
|
||||
<p><em>meshcore-tth addition.</em></p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>get batt.icon.lo</code> / <code>set batt.icon.lo <millivolts></code>
|
||||
- <code>get batt.icon.hi</code> / <code>set batt.icon.hi <millivolts></code></p>
|
||||
@@ -950,12 +952,15 @@ so the icon and the Grafana percentage tell one story.</p>
|
||||
<p><strong>Default:</strong> <code>off</code></p>
|
||||
<p><strong>Note:</strong> When enabled, device enters sleep mode between radio transmissions</p>
|
||||
<hr />
|
||||
<h4 id="view-or-change-the-rx-duty-cycle-rxps-custom-tetehacko">View or change the RX duty cycle (rxps) -- CUSTOM (TeTeHacko)</h4>
|
||||
<h4 id="view-or-change-the-rx-duty-cycle-rxps">View or change the RX duty cycle (rxps)</h4>
|
||||
<p><em>meshcore-tth addition.</em></p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>get radio.rxps</code>
|
||||
- <code>set radio.rxps off|on|balanced|max</code>
|
||||
- <code>set radio.rxps level <1-10> [preamble <16|32>]</code>
|
||||
- <code>set radio.rxps max preamble <16|32></code></p>
|
||||
- <code>set radio.rxps <off|on|balanced|max|overdrive|riskyWorkingMax></code>
|
||||
- <code>set radio.rxps <max|overdrive|riskyWorkingMax> preamble <16|32></code>
|
||||
- <code>set radio.rxps level <level> [preamble <16|32>]</code>
|
||||
- <code>set radio.rxps <level></code>
|
||||
- <code>set radio.rxps <rx_us> <sleep_us></code></p>
|
||||
<p>The SX1262 sleeps between short listening windows (<code>SetRxDutyCycle</code>) instead
|
||||
of listening all the time, and stays awake through a packet once it hears a
|
||||
preamble. Ported from EasySkyMesh PowerSaving v18 (IoTThinks). Repeater, room
|
||||
@@ -967,7 +972,7 @@ off until you set it; the setting is saved.</p>
|
||||
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.
|
||||
- <code>level <n></code>: the same scale by number; without <code>preamble</code> it follows the SF.
|
||||
- <code>level</code>: the same scale by number, 1..10; without <code>preamble</code> it follows the SF.
|
||||
9 (<code>overdrive</code>) and 10 (<code>riskyWorkingMax</code>) are past the datasheet's timing
|
||||
condition -- 10 is known to lose packets.
|
||||
- <code><rx_us> <sleep_us></code>: raw window lengths.</p>
|
||||
@@ -1106,6 +1111,7 @@ also runs in continuous RX.</p>
|
||||
<p><strong>Default:</strong> <code>0.0</code></p>
|
||||
<hr />
|
||||
<h4 id="radio-silence-watchdog-repeater-sensor-room-server">Radio silence watchdog (repeater, sensor, room server)</h4>
|
||||
<p><em>meshcore-tth addition.</em></p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>get radio.silence</code>
|
||||
- <code>set radio.silence <minutes></code>
|
||||
@@ -1117,6 +1123,7 @@ also runs in continuous RX.</p>
|
||||
<p><strong>Default:</strong> <code>0</code> (off)</p>
|
||||
<hr />
|
||||
<h4 id="tx-stall-watchdog-repeater">TX stall watchdog (repeater)</h4>
|
||||
<p><em>meshcore-tth addition.</em></p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>get radio.txstall</code>
|
||||
- <code>set radio.txstall <minutes></code></p>
|
||||
@@ -1126,11 +1133,13 @@ also runs in continuous RX.</p>
|
||||
<p><strong>Default:</strong> <code>15</code></p>
|
||||
<hr />
|
||||
<h4 id="reboot-into-the-bootloader-repeater-sensor-room-server-nrf52-local-console-only">Reboot into the bootloader (repeater, sensor, room server; nRF52, local console only)</h4>
|
||||
<p><em>meshcore-tth addition.</em></p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>dfu [uf2|serial|ota]</code></p>
|
||||
<p><strong>Description:</strong> Reboots straight into the Adafruit bootloader: <code>uf2</code> (default) brings up the UF2 drive, <code>serial</code> only the CDC port for <code>adafruit-nrfutil</code>, <code>ota</code> BLE DFU. Refused over the mesh, where it would leave the node waiting in the bootloader with no way back.</p>
|
||||
<hr />
|
||||
<h4 id="why-the-board-last-reset-repeater-sensor-room-server">Why the board last reset (repeater, sensor, room server)</h4>
|
||||
<p><em>meshcore-tth addition.</em></p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>get boot</code></p>
|
||||
<p><strong>Description:</strong> The reset reason latched at boot (<code>RESETREAS</code> on nRF52: <code>0x1</code> reset pin, <code>0x2</code> watchdog, <code>0x4</code> software reset, <code>0x8</code> lockup, <code>0</code> power-on) and, if the board crashed, the hardfault record (PC, LR, PSR). The same is printed once at boot, but on a build without a settle delay the console is not open yet at that moment.</p>
|
||||
@@ -1400,7 +1409,7 @@ region save
|
||||
- <code>state</code>: <code>on</code>|<code>off</code>|<code>duty</code></p>
|
||||
<p><strong>Default:</strong> <code>off</code></p>
|
||||
<p><strong>Note:</strong> In duty-cycle mode <code>gps</code> answers <code>duty, {awake|asleep}, {fix|no fix}, {sat count} sats</code>.</p>
|
||||
<p><code>gps duty</code> powers the receiver only around a clock sync and cuts it in between.
|
||||
<p><em>meshcore-tth addition:</em> <code>gps duty</code> 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 <code>gps period</code>, every attempt is
|
||||
@@ -1504,6 +1513,7 @@ one attempt) and <code>GPS_DUTY_RETRY_SECS</code> (21600, backoff after a window
|
||||
- <code>value</code>: The value to set the sensor to</p>
|
||||
<hr />
|
||||
<h4 id="set-the-ina-current-sensors-shunt-resistor">Set the INA current sensor's shunt resistor</h4>
|
||||
<p><em>meshcore-tth addition.</em></p>
|
||||
<p><strong>Usage:</strong>
|
||||
- <code>sensor get ina.shunt</code>
|
||||
- <code>sensor set ina.shunt <mOhm></code></p>
|
||||
|
||||
Reference in new issue
Block a user