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
@@ -536,7 +536,7 @@
|
|||||||
<main id="terminal-mkdocs-main-content">
|
<main id="terminal-mkdocs-main-content">
|
||||||
<section id="mkdocs-terminal-content">
|
<section id="mkdocs-terminal-content">
|
||||||
<h1 id="blelora-coexistence-bench-reproduction-attempt">BLE/LoRa coexistence — bench reproduction attempt</h1>
|
<h1 id="blelora-coexistence-bench-reproduction-attempt">BLE/LoRa coexistence — bench reproduction attempt</h1>
|
||||||
<p>Working notes for the DIRECT-forward loss seen on <code>mast-three</code> (SenseCap Solar,
|
<p>Working notes for the DIRECT-forward loss seen on <code>tth-ltm</code> (SenseCap Solar,
|
||||||
<code>SenseCap_Solar_repeater_ble</code>). Written down because the result is mostly
|
<code>SenseCap_Solar_repeater_ble</code>). Written down because the result is mostly
|
||||||
<strong>negative</strong>, and a negative result is only worth anything if the method and its
|
<strong>negative</strong>, and a negative result is only worth anything if the method and its
|
||||||
limits are recorded with it.</p>
|
limits are recorded with it.</p>
|
||||||
@@ -565,22 +565,22 @@ up on the production frequency even after <code>erase</code>.</p>
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>bench-board</code></td>
|
<td><code>tth-x1-rpt</code></td>
|
||||||
<td>XIAO nRF52840 + Wio-SX1262</td>
|
<td>XIAO nRF52840 + Wio-SX1262</td>
|
||||||
<td>forwarder under test</td>
|
<td>forwarder under test</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>bench-board</code></td>
|
<td><code>tth-x4-rpt</code></td>
|
||||||
<td>same</td>
|
<td>same</td>
|
||||||
<td>paired control / radiating witness</td>
|
<td>paired control / radiating witness</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>bench-board</code>, <code>bench-board</code></td>
|
<td><code>tth-x2-cmp</code>, <code>tth-x3-cmp</code></td>
|
||||||
<td>same</td>
|
<td>same</td>
|
||||||
<td>probe sources</td>
|
<td>probe sources</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>bench-rpt</code></td>
|
<td><code>tth-s1-rpt</code></td>
|
||||||
<td>SenseCap Solar Node</td>
|
<td>SenseCap Solar Node</td>
|
||||||
<td>forwarder, mast-identical hardware</td>
|
<td>forwarder, mast-identical hardware</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -698,7 +698,7 @@ so if the central misses our PDU we must re-send it at the next anchor — an
|
|||||||
extra slave TX. If we miss the central's PDU we never transmit in that event at
|
extra slave TX. If we miss the central's PDU we never transmit in that event at
|
||||||
all, and the SoftDevice uses <em>less</em> radio.</p>
|
all, and the SoftDevice uses <em>less</em> radio.</p>
|
||||||
<h2 id="on-mast-hardware-with-the-file-log-on">On mast hardware, with the file log on</h2>
|
<h2 id="on-mast-hardware-with-the-file-log-on">On mast hardware, with the file log on</h2>
|
||||||
<p>Two SenseCap Solar nodes (<code>bench-rpt</code> forwarder, <code>tth-s2-rpt</code> paired control) —
|
<p>Two SenseCap Solar nodes (<code>tth-s1-rpt</code> forwarder, <code>tth-s2-rpt</code> paired control) —
|
||||||
the same board as the mast, so InternalFS logging, INA226/solar telemetry and
|
the same board as the mast, so InternalFS logging, INA226/solar telemetry and
|
||||||
the SenseCap SPI layout are all in play. Again at a verified 22.50 ms interval
|
the SenseCap SPI layout are all in play. Again at a verified 22.50 ms interval
|
||||||
(<code>bleconn</code>).</p>
|
(<code>bleconn</code>).</p>
|
||||||
@@ -770,7 +770,7 @@ tested legally here: 866.5 is capped at 1 % duty and the 10 % sub-band
|
|||||||
(869.4–869.65) is where production lives.</p>
|
(869.4–869.65) is where production lives.</p>
|
||||||
<p>Practical consequence: <strong>f6e9aeca can be neither confirmed nor refuted on the
|
<p>Practical consequence: <strong>f6e9aeca can be neither confirmed nor refuted on the
|
||||||
bench.</strong> Deciding whether the 60–80 ms interval is still needed requires
|
bench.</strong> Deciding whether the 60–80 ms interval is still needed requires
|
||||||
measuring on <code>mast-three</code> itself — the counters (<code>stats-packets</code>, and now
|
measuring on <code>tth-ltm</code> itself — the counters (<code>stats-packets</code>, and now
|
||||||
<code>bleconn</code> to prove which interval is actually in force) are all reachable over
|
<code>bleconn</code> to prove which interval is actually in force) are all reachable over
|
||||||
its BLE console.</p>
|
its BLE console.</p>
|
||||||
<h2 id="airtime-is-a-hard-limit-and-the-firmware-will-not-enforce-it">Airtime is a hard limit, and the firmware will not enforce it</h2>
|
<h2 id="airtime-is-a-hard-limit-and-the-firmware-will-not-enforce-it">Airtime is a hard limit, and the firmware will not enforce it</h2>
|
||||||
@@ -853,7 +853,7 @@ know whether a change like <code>f6e9aeca</code> (widening the requested interva
|
|||||||
<code>[last]</code> says whether a client is connected right now or these are the values
|
<code>[last]</code> says whether a client is connected right now or these are the values
|
||||||
from the last one; before any client has ever connected it answers
|
from the last one; before any client has ever connected it answers
|
||||||
<code>nothing seen yet</code>.</p>
|
<code>nothing seen yet</code>.</p>
|
||||||
<h3 id="blepwr-dbm-connection-tx-power-saved"><code>blepwr [dBm]</code> — connection TX power, saved</h3>
|
<h3 id="blepwr-dbmdefault-connection-tx-power-saved"><code>blepwr [dBm|default]</code> — connection TX power, saved</h3>
|
||||||
<div class="highlight"><pre><span></span><code>blepwr # report: BLE conn tx: 0 dBm, adv tx: 8 dBm
|
<div class="highlight"><pre><span></span><code>blepwr # report: BLE conn tx: 0 dBm, adv tx: 8 dBm
|
||||||
blepwr 8 # set, apply to live connections and save
|
blepwr 8 # set, apply to live connections and save
|
||||||
blepwr default # forget the saved value, back to RPT_BLE_CONN_TX_POWER
|
blepwr default # forget the saved value, back to RPT_BLE_CONN_TX_POWER
|
||||||
@@ -865,7 +865,7 @@ blepwr default # forget the saved value, back to RPT_BLE_CONN_TX_POWER
|
|||||||
The value lives in <code>/ble_pwr</code> in InternalFS, so it survives a reboot and also a
|
The value lives in <code>/ble_pwr</code> in InternalFS, so it survives a reboot and also a
|
||||||
reflash with a different build default: an explicit value is pinned even when
|
reflash with a different build default: an explicit value is pinned even when
|
||||||
it equals the default (no file = follow <code>RPT_BLE_CONN_TX_POWER</code>, which
|
it equals the default (no file = follow <code>RPT_BLE_CONN_TX_POWER</code>, which
|
||||||
mast-three's env sets to 8).</p>
|
tth-ltm's env sets to 8).</p>
|
||||||
<p>Sets <code>BLE_GAP_TX_POWER_ROLE_CONN</code>, which is <strong>independent of</strong>
|
<p>Sets <code>BLE_GAP_TX_POWER_ROLE_CONN</code>, which is <strong>independent of</strong>
|
||||||
<code>Bluefruit.setTxPower()</code> — that one only affects advertising, despite reading
|
<code>Bluefruit.setTxPower()</code> — that one only affects advertising, despite reading
|
||||||
like a global. The connection otherwise runs at the SoftDevice default of
|
like a global. The connection otherwise runs at the SoftDevice default of
|
||||||
|
|||||||
+19
-9
@@ -573,6 +573,7 @@
|
|||||||
<p><strong>Note:</strong> No reply is sent.</p>
|
<p><strong>Note:</strong> No reply is sent.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h3 id="reset-the-clock-and-reboot">Reset the clock and reboot</h3>
|
<h3 id="reset-the-clock-and-reboot">Reset the clock and reboot</h3>
|
||||||
|
<p><em>meshcore-tth addition.</em></p>
|
||||||
<p><strong>Usage:</strong>
|
<p><strong>Usage:</strong>
|
||||||
- <code>clkreboot</code></p>
|
- <code>clkreboot</code></p>
|
||||||
<p><strong>Note:</strong> No reply is sent.</p>
|
<p><strong>Note:</strong> No reply is sent.</p>
|
||||||
@@ -594,7 +595,7 @@ locally.</p>
|
|||||||
<p><strong>Usage:</strong>
|
<p><strong>Usage:</strong>
|
||||||
- <code>clock</code></p>
|
- <code>clock</code></p>
|
||||||
<p><strong>Reply:</strong> <code>HH:MM - D/M/YYYY UTC (epoch <seconds>)</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
|
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,
|
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>
|
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>
|
<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 />
|
<hr />
|
||||||
<h4 id="show-battery-state-as-an-icon-on-the-advertised-name">Show battery state as an icon on the advertised name</h4>
|
<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
|
carried in adverts, so anyone who hears the node can see its state without
|
||||||
logging in for telemetry. Off by default.</p>
|
logging in for telemetry. Off by default.</p>
|
||||||
<p><strong>Usage:</strong>
|
<p><strong>Usage:</strong>
|
||||||
- <code>get batt.icon</code>
|
- <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>Default:</strong> <code>off</code></p>
|
||||||
<p><strong>Glyphs:</strong> <code>☀</code> permanently (solar node), then one of <code>▁▂▃▄▅▆▇█</code>
|
<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
|
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>
|
changes roughly once a week.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h4 id="battery-scale-for-the-name-icon">Battery scale for the name icon</h4>
|
<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>
|
<p><strong>Usage:</strong>
|
||||||
- <code>get batt.icon.lo</code> / <code>set batt.icon.lo <millivolts></code>
|
- <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>
|
- <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>Default:</strong> <code>off</code></p>
|
||||||
<p><strong>Note:</strong> When enabled, device enters sleep mode between radio transmissions</p>
|
<p><strong>Note:</strong> When enabled, device enters sleep mode between radio transmissions</p>
|
||||||
<hr />
|
<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>
|
<p><strong>Usage:</strong>
|
||||||
- <code>get radio.rxps</code>
|
- <code>get radio.rxps</code>
|
||||||
- <code>set radio.rxps off|on|balanced|max</code>
|
- <code>set radio.rxps <off|on|balanced|max|overdrive|riskyWorkingMax></code>
|
||||||
- <code>set radio.rxps level <1-10> [preamble <16|32>]</code>
|
- <code>set radio.rxps <max|overdrive|riskyWorkingMax> preamble <16|32></code>
|
||||||
- <code>set radio.rxps max preamble <16|32></code></p>
|
- <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
|
<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
|
of listening all the time, and stays awake through a packet once it hears a
|
||||||
preamble. Ported from EasySkyMesh PowerSaving v18 (IoTThinks). Repeater, room
|
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
|
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
|
with a 16-symbol preamble (the MeshCore default), so they are safe on a
|
||||||
mixed mesh.
|
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
|
9 (<code>overdrive</code>) and 10 (<code>riskyWorkingMax</code>) are past the datasheet's timing
|
||||||
condition -- 10 is known to lose packets.
|
condition -- 10 is known to lose packets.
|
||||||
- <code><rx_us> <sleep_us></code>: raw window lengths.</p>
|
- <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>
|
<p><strong>Default:</strong> <code>0.0</code></p>
|
||||||
<hr />
|
<hr />
|
||||||
<h4 id="radio-silence-watchdog-repeater-sensor-room-server">Radio silence watchdog (repeater, sensor, room server)</h4>
|
<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>
|
<p><strong>Usage:</strong>
|
||||||
- <code>get radio.silence</code>
|
- <code>get radio.silence</code>
|
||||||
- <code>set radio.silence <minutes></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>
|
<p><strong>Default:</strong> <code>0</code> (off)</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h4 id="tx-stall-watchdog-repeater">TX stall watchdog (repeater)</h4>
|
<h4 id="tx-stall-watchdog-repeater">TX stall watchdog (repeater)</h4>
|
||||||
|
<p><em>meshcore-tth addition.</em></p>
|
||||||
<p><strong>Usage:</strong>
|
<p><strong>Usage:</strong>
|
||||||
- <code>get radio.txstall</code>
|
- <code>get radio.txstall</code>
|
||||||
- <code>set radio.txstall <minutes></code></p>
|
- <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>
|
<p><strong>Default:</strong> <code>15</code></p>
|
||||||
<hr />
|
<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>
|
<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>
|
<p><strong>Usage:</strong>
|
||||||
- <code>dfu [uf2|serial|ota]</code></p>
|
- <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>
|
<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 />
|
<hr />
|
||||||
<h4 id="why-the-board-last-reset-repeater-sensor-room-server">Why the board last reset (repeater, sensor, room server)</h4>
|
<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>
|
<p><strong>Usage:</strong>
|
||||||
- <code>get boot</code></p>
|
- <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>
|
<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>
|
- <code>state</code>: <code>on</code>|<code>off</code>|<code>duty</code></p>
|
||||||
<p><strong>Default:</strong> <code>off</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><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
|
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
|
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
|
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>
|
- <code>value</code>: The value to set the sensor to</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h4 id="set-the-ina-current-sensors-shunt-resistor">Set the INA current sensor's shunt resistor</h4>
|
<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>
|
<p><strong>Usage:</strong>
|
||||||
- <code>sensor get ina.shunt</code>
|
- <code>sensor get ina.shunt</code>
|
||||||
- <code>sensor set ina.shunt <mOhm></code></p>
|
- <code>sensor set ina.shunt <mOhm></code></p>
|
||||||
|
|||||||
+14
-14
@@ -570,22 +570,22 @@ vypnuté, dokud je nezapnete.</p>
|
|||||||
hash odesílatele, původce advertu). Port návrhu Beanowa
|
hash odesílatele, původce advertu). Port návrhu Beanowa
|
||||||
<a href="https://github.com/meshcore-dev/MeshCore/pull/1502">#1502</a>, limity
|
<a href="https://github.com/meshcore-dev/MeshCore/pull/1502">#1502</a>, limity
|
||||||
přepočítané z 30 dní skutečného provozu CZ meshe.
|
přepočítané z 30 dní skutečného provozu CZ meshe.
|
||||||
<code>fairness [on|off|grid|cap|refill]</code>; přímo směrovaný provoz se neomezuje nikdy.</li>
|
<code>fairness <on|off></code>, <code>fairness cap</code>, <code>fairness refill</code>, <code>fairness grid</code>; přímo směrovaný provoz se neomezuje nikdy.</li>
|
||||||
<li><strong>Okno na adverty podle původce</strong> – flood advert každého uzlu se přepošle
|
<li><strong>Okno na adverty podle původce</strong> – flood advert každého uzlu se přepošle
|
||||||
nejvýš jednou za N hodin (<code>fairness advert <h>|clear</code>), převzato
|
nejvýš jednou za N hodin (<code>fairness advert <hours></code>, <code>fairness advert clear</code>), převzato
|
||||||
z AdvertLimiteru <a href="https://github.com/Dutch-MeshCore/MeshCore">DutchMeshCore</a>.
|
z AdvertLimiteru <a href="https://github.com/Dutch-MeshCore/MeshCore">DutchMeshCore</a>.
|
||||||
Míří na uzly, které advertují každou minutu.</li>
|
Míří na uzly, které advertují každou minutu.</li>
|
||||||
<li><strong>Dry-run</strong> – <code>fairness dryrun on</code> započítá každý verdikt, ale přepošle
|
<li><strong>Dry-run</strong> – <code>fairness dryrun on</code> započítá každý verdikt, ale přepošle
|
||||||
i tak; <code>fairness air</code> ukáže ušetřený (nebo ušetřitelný) airtime podle důvodu.</li>
|
i tak; <code>fairness air</code> ukáže ušetřený (nebo ušetřitelný) airtime podle důvodu.</li>
|
||||||
<li><strong>Filtr kanálů</strong> – na kanálech, jejichž klíč repeater zná (Public
|
<li><strong>Filtr kanálů</strong> – na kanálech, jejichž klíč repeater zná (Public
|
||||||
a <code>#hashtag</code> kanály), přestane přeposílat zprávy uvedených jmen odesílatelů
|
a <code>#hashtag</code> kanály), přestane přeposílat zprávy uvedených jmen odesílatelů
|
||||||
(<code>filter add|del|list</code>). Jméno se dá podvrhnout: je to brzda na utrženého
|
(<code>filter add <name></code>, <code>filter del <name></code>, <code>filter list</code>). Jméno se dá podvrhnout: je to brzda na utrženého
|
||||||
bota, ne bezpečnost.</li>
|
bota, ne bezpečnost.</li>
|
||||||
<li><strong>Blokace přeposílání podle hashe kanálu</strong> – <code>filter hash add <hex> [s]</code>:
|
<li><strong>Blokace přeposílání podle hashe kanálu</strong> – <code>filter hash add <hex> [secs]</code>:
|
||||||
bez klíče, takže funguje i na soukromých kanálech; příjem se nemění, jen
|
bez klíče, takže funguje i na soukromých kanálech; příjem se nemění, jen
|
||||||
přeposílání. S <code>s</code> se kanál neodřízne, ale přiškrtí (jeden paket za <code>s</code>
|
přeposílání. S <code>s</code> se kanál neodřízne, ale přiškrtí (jeden paket za <code>s</code>
|
||||||
sekund).</li>
|
sekund).</li>
|
||||||
<li><strong>Limit stáří zprávy</strong> – <code>filter age <min>|off</code> (volitelné, 1–10080 min):
|
<li><strong>Limit stáří zprávy</strong> – <code>filter age <minutes></code> / <code>filter age off</code> (volitelné, 1–10080 min):
|
||||||
nepřeposílá skupinové zprávy na dešifrovaných kanálech, jejichž čas od
|
nepřeposílá skupinové zprávy na dešifrovaných kanálech, jejichž čas od
|
||||||
odesílatele je starší; bez nastavených hodin repeateru neplatí. Posuzuje
|
odesílatele je starší; bez nastavených hodin repeateru neplatí. Posuzuje
|
||||||
hodiny odesílatele, takže zahodí i companiony bez synchronizace času –
|
hodiny odesílatele, takže zahodí i companiony bez synchronizace času –
|
||||||
@@ -622,7 +622,7 @@ vypnuté, dokud je nezapnete.</p>
|
|||||||
(vysílací výkon do restartu, s verdiktem RadioLibu), čítače chyb vysílání
|
(vysílací výkon do restartu, s verdiktem RadioLibu), čítače chyb vysílání
|
||||||
ve stavové odpovědi.</li>
|
ve stavové odpovědi.</li>
|
||||||
<li>Jen observer varianty (<code>*-observer</code>): textová konzole přes BLE vedle USB,
|
<li>Jen observer varianty (<code>*-observer</code>): textová konzole přes BLE vedle USB,
|
||||||
<code>ble on|off</code> uložené přes reboot (<code>RPT_BLE_DEFAULT_OFF</code>: startuje vypnuté),
|
<code>ble <on|off></code> uložené přes reboot (<code>RPT_BLE_DEFAULT_OFF</code>: startuje vypnuté),
|
||||||
vlastní BLE PIN (<code>ble pin</code>), uložený vysílací výkon spojení (<code>blepwr</code>),
|
vlastní BLE PIN (<code>ble pin</code>), uložený vysílací výkon spojení (<code>blepwr</code>),
|
||||||
<code>bleconn</code>, neblokující BLE vysílání a parametry spojení, které vydrží i na
|
<code>bleconn</code>, neblokující BLE vysílání a parametry spojení, které vydrží i na
|
||||||
slabém linku.</li>
|
slabém linku.</li>
|
||||||
@@ -635,7 +635,7 @@ vypnuté, dokud je nezapnete.</p>
|
|||||||
<code>!noise</code>, <code>!ping</code>, <code>!help</code>, výběr přes <code>BOT_COMMANDS</code>, cooldown na
|
<code>!noise</code>, <code>!ping</code>, <code>!help</code>, výběr přes <code>BOT_COMMANDS</code>, cooldown na
|
||||||
odesílatele, ignore list) – odpovídá, aniž by přeposílal;</li>
|
odesílatele, ignore list) – odpovídá, aniž by přeposílal;</li>
|
||||||
<li><code>RADIO_DIAG</code>: <code>radiostat</code> (stav přijímače SX1262 bez zásahu) a
|
<li><code>RADIO_DIAG</code>: <code>radiostat</code> (stav přijímače SX1262 bez zásahu) a
|
||||||
<code>radiokick rx|clrirq|standby|agc</code> (jeden krok obnovy, od nejjemnějšího –
|
<code>radiokick <rx|clrirq|standby|agc></code> (jeden krok obnovy, od nejjemnějšího –
|
||||||
první, který pomůže, ukáže rozbitou vrstvu);</li>
|
první, který pomůže, ukáže rozbitou vrstvu);</li>
|
||||||
<li><code>PIN_DIAG</code>: <code>dio1</code> (stav přerušení v čipu proti úrovni na pinu – který
|
<li><code>PIN_DIAG</code>: <code>dio1</code> (stav přerušení v čipu proti úrovni na pinu – který
|
||||||
konec mrtvé linky DIO1 je přerušený);</li>
|
konec mrtvé linky DIO1 je přerušený);</li>
|
||||||
@@ -680,10 +680,10 @@ vypnuté, dokud je nezapnete.</p>
|
|||||||
a záznam o hardfaultu přežijí teplý reset (<code>.noinit</code>); <code>clkreboot</code>.</li>
|
a záznam o hardfaultu přežijí teplý reset (<code>.noinit</code>); <code>clkreboot</code>.</li>
|
||||||
<li>Na solárních uzlech žádná blikající LED a pomalejší BLE advertising.</li>
|
<li>Na solárních uzlech žádná blikající LED a pomalejší BLE advertising.</li>
|
||||||
<li>Stav baterie jako ikona na konci advertovaného jména: <code>set batt.icon on</code>,
|
<li>Stav baterie jako ikona na konci advertovaného jména: <code>set batt.icon on</code>,
|
||||||
prahy <code>set batt.icon.lo|hi <mV></code> (výchozí vypnuté; dlouhé jméno ikonu
|
prahy <code>set batt.icon.lo <mV></code> a <code>set batt.icon.hi <mV></code> (výchozí vypnuté; dlouhé jméno ikonu
|
||||||
nepojme a příkaz na to upozorní).</li>
|
nepojme a příkaz na to upozorní).</li>
|
||||||
<li>Volitelný RX duty cycle (<code>set radio.rxps off|on|balanced|max</code>, jemněji
|
<li>Volitelný RX duty cycle (<code>set radio.rxps <off|on|balanced|max></code>, jemněji
|
||||||
<code>level <1-10></code>; port PowerSaving z EasySkyMesh): SX1262 mezi krátkými okny
|
<code>set radio.rxps level <level></code> 1–10; port PowerSaving z EasySkyMesh): SX1262 mezi krátkými okny
|
||||||
poslechu spí. Ve veřejných buildech je zabudovaný a <strong>vypnutý</strong>; <code>max</code> na
|
poslechu spí. Ve veřejných buildech je zabudovaný a <strong>vypnutý</strong>; <code>max</code> na
|
||||||
lavici ušetřil ~2,3 mA bez ztráty paketů (<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>),
|
lavici ušetřil ~2,3 mA bez ztráty paketů (<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>),
|
||||||
na ostrém meshi ale jeden náš stožár ztratil 16 % příjmu – zapínat s rozmyslem. Jen
|
na ostrém meshi ale jeden náš stožár ztratil 16 % příjmu – zapínat s rozmyslem. Jen
|
||||||
@@ -697,8 +697,8 @@ vypnuté, dokud je nezapnete.</p>
|
|||||||
(<a href="https://github.com/meshcore-dev/MeshCore/pull/2088">#2088</a>). Výjimkou je
|
(<a href="https://github.com/meshcore-dev/MeshCore/pull/2088">#2088</a>). Výjimkou je
|
||||||
<code>SenseCap_Solar_repeater</code> (Li-ion, naše stožáry): pojistka je zapnutá
|
<code>SenseCap_Solar_repeater</code> (Li-ion, naše stožáry): pojistka je zapnutá
|
||||||
a oba prahy jdou nastavit za běhu, i přes mesh jako admin –
|
a oba prahy jdou nastavit za běhu, i přes mesh jako admin –
|
||||||
<code>set pwr.bootlock <mV>|off</code> (výchozí 3300, pod ním uzel nenaběhne a spí,
|
<code>set pwr.bootlock <mV></code> nebo <code>off</code> (výchozí 3300, pod ním uzel nenaběhne a spí,
|
||||||
dokud se článek nezotaví) a <code>set pwr.cutoff <mV>|off</code> (výchozí vypnuto,
|
dokud se článek nezotaví) a <code>set pwr.cutoff <mV></code> nebo <code>off</code> (výchozí vypnuto,
|
||||||
pod ním se běžící uzel vypne); <code>get pwr</code> (<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>).</li>
|
pod ním se běžící uzel vypne); <code>get pwr</code> (<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>).</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="senzory-a-companiony">Senzory a companiony</h2>
|
<h2 id="senzory-a-companiony">Senzory a companiony</h2>
|
||||||
@@ -708,8 +708,8 @@ vypnuté, dokud je nezapnete.</p>
|
|||||||
<li>Senzory, které jinak měří nepřetržitě (INA219, INA226, INA260, INA3221,
|
<li>Senzory, které jinak měří nepřetržitě (INA219, INA226, INA260, INA3221,
|
||||||
BMP280), mezi čteními telemetrie spí a měří jen na vyžádání (nápad a první
|
BMP280), mezi čteními telemetrie spí a měří jen na vyžádání (nápad a první
|
||||||
patch pro INA219: Alkel Brostl). Čipy INA se rozlišují podle ID, takže
|
patch pro INA219: Alkel Brostl). Čipy INA se rozlišují podle ID, takže
|
||||||
INA226 už se nedetekuje jako INA219. Odpor bočníku se nastavuje za běhu
|
INA226 už se nedetekuje jako INA219. Odpor bočníku (INA219, INA226, INA3221; INA260 ho má uvnitř) se
|
||||||
a ukládá se: <code>sensor set ina.shunt <mΩ></code>.</li>
|
nastavuje za běhu a ukládá se: <code>sensor set ina.shunt <mOhm></code>.</li>
|
||||||
<li>Companion: <code>gps duty</code> přežije reboot, kopie data sestavení má hlídanou
|
<li>Companion: <code>gps duty</code> přežije reboot, kopie data sestavení má hlídanou
|
||||||
délku. Export privátního klíče, čtení BLE PINu a jeho změna (i přes CLI
|
délku. Export privátního klíče, čtení BLE PINu a jeho změna (i přes CLI
|
||||||
<code>set pin</code>) jdou jen přes spárované BLE, ne přes USB, UART ani WiFi/TCP,
|
<code>set pin</code>) jdou jen přes spárované BLE, ne přes USB, UART ani WiFi/TCP,
|
||||||
|
|||||||
+14
-13
@@ -568,21 +568,21 @@ off until you turn them on.</p>
|
|||||||
ids already in the clear (channel hash, sender hash, advert origin). Port of
|
ids already in the clear (channel hash, sender hash, advert origin). Port of
|
||||||
Beanow's proposal <a href="https://github.com/meshcore-dev/MeshCore/pull/1502">#1502</a>,
|
Beanow's proposal <a href="https://github.com/meshcore-dev/MeshCore/pull/1502">#1502</a>,
|
||||||
limits re-sized from 30 days of real CZ traffic.
|
limits re-sized from 30 days of real CZ traffic.
|
||||||
<code>fairness [on|off|grid|cap|refill]</code>; direct-routed traffic is never limited.</li>
|
<code>fairness <on|off></code>, <code>fairness cap</code>, <code>fairness refill</code>, <code>fairness grid</code>; direct-routed traffic is never limited.</li>
|
||||||
<li><strong>Per-origin advert window</strong> -- each node's flood advert forwarded at most
|
<li><strong>Per-origin advert window</strong> -- each node's flood advert forwarded at most
|
||||||
once per N hours (<code>fairness advert <h>|clear</code>), ported from
|
once per N hours (<code>fairness advert <hours></code>, <code>fairness advert clear</code>), ported from
|
||||||
<a href="https://github.com/Dutch-MeshCore/MeshCore">DutchMeshCore</a>'s AdvertLimiter.
|
<a href="https://github.com/Dutch-MeshCore/MeshCore">DutchMeshCore</a>'s AdvertLimiter.
|
||||||
Aimed at nodes that re-advertise every minute.</li>
|
Aimed at nodes that re-advertise every minute.</li>
|
||||||
<li><strong>Dry-run</strong> -- <code>fairness dryrun on</code> counts every verdict but forwards anyway;
|
<li><strong>Dry-run</strong> -- <code>fairness dryrun on</code> counts every verdict but forwards anyway;
|
||||||
<code>fairness air</code> reports the airtime shed (or that would be) per reason.</li>
|
<code>fairness air</code> reports the airtime shed (or that would be) per reason.</li>
|
||||||
<li><strong>Channel filter</strong> -- on channels whose key the repeater knows (Public and
|
<li><strong>Channel filter</strong> -- on channels whose key the repeater knows (Public and
|
||||||
<code>#hashtag</code> channels), stop forwarding messages of listed sender names
|
<code>#hashtag</code> channels), stop forwarding messages of listed sender names
|
||||||
(<code>filter add|del|list</code>). Names are spoofable: it contains a runaway bot,
|
(<code>filter add <name></code>, <code>filter del <name></code>, <code>filter list</code>). Names are spoofable: it contains a runaway bot,
|
||||||
it is not security.</li>
|
it is not security.</li>
|
||||||
<li><strong>Channel-hash deny-forward</strong> -- <code>filter hash add <hex> [secs]</code>: keyless,
|
<li><strong>Channel-hash deny-forward</strong> -- <code>filter hash add <hex> [secs]</code>: keyless,
|
||||||
works on private channels too; reception is unaffected, only forwarding.
|
works on private channels too; reception is unaffected, only forwarding.
|
||||||
With <code>secs</code> the channel is throttled (one packet per <code>secs</code>) instead of cut.</li>
|
With <code>secs</code> the channel is throttled (one packet per <code>secs</code>) instead of cut.</li>
|
||||||
<li><strong>Message age limit</strong> -- <code>filter age <min>|off</code> (opt-in, 1-10080 min): do not
|
<li><strong>Message age limit</strong> -- <code>filter age <minutes></code> / <code>filter age off</code> (opt-in, 1-10080 min): do not
|
||||||
forward group texts on the decrypted channels whose sender timestamp is
|
forward group texts on the decrypted channels whose sender timestamp is
|
||||||
older; inactive while the repeater clock is unset. It judges the sender's
|
older; inactive while the repeater clock is unset. It judges the sender's
|
||||||
clock, so companions without a time sync are dropped too -- keep it in days.</li>
|
clock, so companions without a time sync are dropped too -- keep it in days.</li>
|
||||||
@@ -619,7 +619,7 @@ off until you turn them on.</p>
|
|||||||
<code>txpwr</code> (TX power until reboot, with RadioLib's verdict), TX-failure
|
<code>txpwr</code> (TX power until reboot, with RadioLib's verdict), TX-failure
|
||||||
counters in the status reply.</li>
|
counters in the status reply.</li>
|
||||||
<li>Observer variants only (<code>*-observer</code>): text console over BLE next to USB,
|
<li>Observer variants only (<code>*-observer</code>): text console over BLE next to USB,
|
||||||
<code>ble on|off</code> saved across reboots (<code>RPT_BLE_DEFAULT_OFF</code>: starts off), own
|
<code>ble <on|off></code> saved across reboots (<code>RPT_BLE_DEFAULT_OFF</code>: starts off), own
|
||||||
BLE PIN (<code>ble pin</code>), persisted connection TX power (<code>blepwr</code>), <code>bleconn</code>, a
|
BLE PIN (<code>ble pin</code>), persisted connection TX power (<code>blepwr</code>), <code>bleconn</code>, a
|
||||||
non-blocking BLE TX pump and connection parameters that hold on a weak
|
non-blocking BLE TX pump and connection parameters that hold on a weak
|
||||||
link.</li>
|
link.</li>
|
||||||
@@ -632,7 +632,7 @@ off until you turn them on.</p>
|
|||||||
<code>!noise</code>, <code>!ping</code>, <code>!help</code>, narrowed by <code>BOT_COMMANDS</code>, per-sender
|
<code>!noise</code>, <code>!ping</code>, <code>!help</code>, narrowed by <code>BOT_COMMANDS</code>, per-sender
|
||||||
cooldown, ignore list) -- answers without repeating;</li>
|
cooldown, ignore list) -- answers without repeating;</li>
|
||||||
<li><code>RADIO_DIAG</code>: <code>radiostat</code> (SX1262 receiver state, hands off) and
|
<li><code>RADIO_DIAG</code>: <code>radiostat</code> (SX1262 receiver state, hands off) and
|
||||||
<code>radiokick rx|clrirq|standby|agc</code> (one recovery step at a time, gentlest
|
<code>radiokick <rx|clrirq|standby|agc></code> (one recovery step at a time, gentlest
|
||||||
first -- the first that helps names the broken layer);</li>
|
first -- the first that helps names the broken layer);</li>
|
||||||
<li><code>PIN_DIAG</code>: <code>dio1</code> (the chip's IRQ status against the level on the pin --
|
<li><code>PIN_DIAG</code>: <code>dio1</code> (the chip's IRQ status against the level on the pin --
|
||||||
which end of a dead DIO1 line is broken);</li>
|
which end of a dead DIO1 line is broken);</li>
|
||||||
@@ -677,10 +677,10 @@ off until you turn them on.</p>
|
|||||||
hardfault record survive a warm reset (<code>.noinit</code>); <code>clkreboot</code>.</li>
|
hardfault record survive a warm reset (<code>.noinit</code>); <code>clkreboot</code>.</li>
|
||||||
<li>No blinking LED and slower BLE advertising on solar nodes.</li>
|
<li>No blinking LED and slower BLE advertising on solar nodes.</li>
|
||||||
<li>Battery level as an icon at the end of the advertised name: <code>set batt.icon
|
<li>Battery level as an icon at the end of the advertised name: <code>set batt.icon
|
||||||
on</code>, thresholds <code>set batt.icon.lo|hi <mV></code> (off by default; a long name has
|
on</code>, thresholds <code>set batt.icon.lo <mV></code> and <code>set batt.icon.hi <mV></code> (off by default; a long name has
|
||||||
no room for it and the command says so).</li>
|
no room for it and the command says so).</li>
|
||||||
<li>Optional RX duty cycle (<code>set radio.rxps off|on|balanced|max</code>, finer
|
<li>Optional RX duty cycle (<code>set radio.rxps <off|on|balanced|max></code>, finer
|
||||||
<code>level <1-10></code>; ported from EasySkyMesh PowerSaving): the SX1262 sleeps
|
<code>set radio.rxps level <level></code> 1-10; ported from EasySkyMesh PowerSaving): the SX1262 sleeps
|
||||||
between short listening windows. Built into the public releases and
|
between short listening windows. Built into the public releases and
|
||||||
<strong>off</strong>; <code>max</code> saved ~2.3 mA on the bench with no packet loss
|
<strong>off</strong>; <code>max</code> saved ~2.3 mA on the bench with no packet loss
|
||||||
(<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>), but on the live mesh one of our masts lost
|
(<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>), but on the live mesh one of our masts lost
|
||||||
@@ -695,8 +695,8 @@ off until you turn them on.</p>
|
|||||||
for upstream (<a href="https://github.com/meshcore-dev/MeshCore/pull/2088">#2088</a>). The exception
|
for upstream (<a href="https://github.com/meshcore-dev/MeshCore/pull/2088">#2088</a>). The exception
|
||||||
is <code>SenseCap_Solar_repeater</code> (Li-ion, our masts): the lock is on and both
|
is <code>SenseCap_Solar_repeater</code> (Li-ion, our masts): the lock is on and both
|
||||||
thresholds are settable at runtime, also as an admin over the mesh --
|
thresholds are settable at runtime, also as an admin over the mesh --
|
||||||
<code>set pwr.bootlock <mV>|off</code> (default 3300; below it the node does not start
|
<code>set pwr.bootlock <mV></code> or <code>off</code> (default 3300; below it the node does not start
|
||||||
and sleeps until the cell recovers) and <code>set pwr.cutoff <mV>|off</code> (default
|
and sleeps until the cell recovers) and <code>set pwr.cutoff <mV></code> or <code>off</code> (default
|
||||||
off; below it a running node switches off); <code>get pwr</code>
|
off; below it a running node switches off); <code>get pwr</code>
|
||||||
(<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>).</li>
|
(<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>).</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -707,8 +707,9 @@ off until you turn them on.</p>
|
|||||||
<li>Sensors that would otherwise convert continuously (INA219, INA226, INA260,
|
<li>Sensors that would otherwise convert continuously (INA219, INA226, INA260,
|
||||||
INA3221, BMP280) sleep between telemetry reads and measure on demand (idea
|
INA3221, BMP280) sleep between telemetry reads and measure on demand (idea
|
||||||
and first INA219 patch: Alkel Brostl). INA chips are told apart by their ID,
|
and first INA219 patch: Alkel Brostl). INA chips are told apart by their ID,
|
||||||
so an INA226 is no longer taken for an INA219. The shunt is set at runtime
|
so an INA226 is no longer taken for an INA219. The shunt (INA219, INA226,
|
||||||
and saved: <code>sensor set ina.shunt <mOhm></code>.</li>
|
INA3221; the INA260 has it inside) is set at runtime and saved:
|
||||||
|
<code>sensor set ina.shunt <mOhm></code>.</li>
|
||||||
<li>Companion: <code>gps duty</code> persists, bounded build-date copy. Private key
|
<li>Companion: <code>gps duty</code> persists, bounded build-date copy. Private key
|
||||||
export, reading the BLE PIN and changing it (CLI <code>set pin</code> included) work
|
export, reading the BLE PIN and changing it (CLI <code>set pin</code> included) work
|
||||||
only over paired BLE, never over USB, a UART or WiFi/TCP, and the reply that
|
only over paired BLE, never over USB, a UART or WiFi/TCP, and the reply that
|
||||||
|
|||||||
+15
-15
@@ -574,7 +574,7 @@ figures are.</p>
|
|||||||
<tr>
|
<tr>
|
||||||
<td>RX duty cycle (<code>set radio.rxps</code>, from EasySkyMesh)</td>
|
<td>RX duty cycle (<code>set radio.rxps</code>, from EasySkyMesh)</td>
|
||||||
<td><strong>~2.3 mA</strong> at <code>max</code> (XIAO, 12. 11. 2026)</td>
|
<td><strong>~2.3 mA</strong> at <code>max</code> (XIAO, 12. 11. 2026)</td>
|
||||||
<td><strong>no</strong> on a live node: -16 % received and a TX stall on mast-three, see below</td>
|
<td><strong>no</strong> on a live node: -16 % received and a TX stall on tth-ltm, see below</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>radio.rxgain off</code></td>
|
<td><code>radio.rxgain off</code></td>
|
||||||
@@ -610,9 +610,9 @@ day costs ~5 s of clock — far below what the mesh notices — and a reboot syn
|
|||||||
at once anyway. Verified on hardware in both paths (with the old 30 min / 1 h
|
at once anyway. Verified on hardware in both paths (with the old 30 min / 1 h
|
||||||
timers):</p>
|
timers):</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>with sky (<code>mast-three</code>): <code>duty, asleep, fix, 7 sats</code> — got a fix, set the clock,
|
<li>with sky (<code>tth-ltm</code>): <code>duty, asleep, fix, 7 sats</code> — got a fix, set the clock,
|
||||||
cut power to the receiver;</li>
|
cut power to the receiver;</li>
|
||||||
<li>without (indoors, <code>bench-rpt</code>): <code>awake</code> for exactly 300 s
|
<li>without (indoors, <code>tth-s1-rpt</code>): <code>awake</code> for exactly 300 s
|
||||||
(<code>GPS_DUTY_MAX_AWAKE_SECS</code>), then <code>asleep</code> with an hourly retry, so a blocked
|
(<code>GPS_DUTY_MAX_AWAKE_SECS</code>), then <code>asleep</code> with an hourly retry, so a blocked
|
||||||
sky cannot turn duty mode back into "always on".</li>
|
sky cannot turn duty mode back into "always on".</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -630,7 +630,7 @@ to 0, and <code>gps on</code> / <code>gps off</code> leave duty mode.</p>
|
|||||||
telemetry while the receiver is powered, so a duty-cycled node reports position
|
telemetry while the receiver is powered, so a duty-cycled node reports position
|
||||||
in telemetry only during its sync windows (well under 1 % of the time). What a repeater
|
in telemetry only during its sync windows (well under 1 % of the time). What a repeater
|
||||||
<em>advertises</em> is unaffected — that comes from prefs via <code>set advert.loc prefs</code> (formerly <code>gps advert prefs</code>) — and
|
<em>advertises</em> is unaffected — that comes from prefs via <code>set advert.loc prefs</code> (formerly <code>gps advert prefs</code>) — and
|
||||||
<code>node_lat/lon</code> keep the last fix. Confirmed in the field: <code>mast-three</code>'s scrape now
|
<code>node_lat/lon</code> keep the last fix. Confirmed in the field: <code>tth-ltm</code>'s scrape now
|
||||||
carries <code>voltage/temperature/humidity</code> and no <code>gps</code> field.</p>
|
carries <code>voltage/temperature/humidity</code> and no <code>gps</code> field.</p>
|
||||||
<h2 id="ble-two-defaults-that-were-quietly-expensive">BLE: two defaults that were quietly expensive</h2>
|
<h2 id="ble-two-defaults-that-were-quietly-expensive">BLE: two defaults that were quietly expensive</h2>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -741,7 +741,7 @@ public release <code>v1.18.0+tth.20261112</code> (<code>ver</code> v1.18.0-tthd4
|
|||||||
off as well, and of the three at level 3 one was on x3, which had rxps off: the
|
off as well, and of the three at level 3 one was on x3, which had rxps off: the
|
||||||
bench shows no degradation at any level. Not measured: mixed SF/preamble senders, a busy
|
bench shows no degradation at any level. Not measured: mixed SF/preamble senders, a busy
|
||||||
live mesh. On a mast, where 2 mA of ~24 is not the problem, leave it off.</p>
|
live mesh. On a mast, where 2 mA of ~24 is not the problem, leave it off.</p>
|
||||||
<p><strong>On the live mesh it failed (mast-three, 14. 11. 2026, <code>max</code>).</strong> Against ob1 as
|
<p><strong>On the live mesh it failed (tth-ltm, 14. 11. 2026, <code>max</code>).</strong> Against ob1 as
|
||||||
the reference for the hour-to-hour traffic, the node received ~16 % fewer
|
the reference for the hour-to-hour traffic, the node received ~16 % fewer
|
||||||
packets (2.08 vs 2.47 per ob1 packet) with ~30 % more <code>recv_errors</code>, and within
|
packets (2.08 vs 2.47 per ob1 packet) with ~30 % more <code>recv_errors</code>, and within
|
||||||
two hours of switching it on it stopped transmitting altogether: <code>sent</code> frozen,
|
two hours of switching it on it stopped transmitting altogether: <code>sent</code> frozen,
|
||||||
@@ -797,7 +797,7 @@ check of the advert signature. The duty went from 0.05 % at rest to 0.13 %.
|
|||||||
The awake time is a small part of a node's current; the radio's RX and the
|
The awake time is a small part of a node's current; the radio's RX and the
|
||||||
SoftDevice dominate.</p>
|
SoftDevice dominate.</p>
|
||||||
<h2 id="a-mast-that-runs-flat-bootlock-and-cutoff">A mast that runs flat: bootlock and cutoff</h2>
|
<h2 id="a-mast-that-runs-flat-bootlock-and-cutoff">A mast that runs flat: bootlock and cutoff</h2>
|
||||||
<p>A panel that gets no direct sun in winter (remote-mast faces east, 11/2026:
|
<p>A panel that gets no direct sun in winter (Plešivec faces east, 11/2026:
|
||||||
-50 mV a day from mid-November with consumption unchanged) eventually drains
|
-50 mV a day from mid-November with consumption unchanged) eventually drains
|
||||||
the cell. Without protection the node runs until the brown-out, and every bit
|
the cell. Without protection the node runs until the brown-out, and every bit
|
||||||
of light then restarts it on a cell that cannot hold it -- a boot loop at the
|
of light then restarts it on a cell that cannot hold it -- a boot loop at the
|
||||||
@@ -809,21 +809,21 @@ admin over the mesh:</p>
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th>command</th>
|
||||||
<th>default</th>
|
<th>default</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>set pwr.bootlock <mV>\|off</code></td>
|
<td><code>set pwr.bootlock <mV></code></td>
|
||||||
<td>3300 mV (<code>variant.h</code>)</td>
|
<td>3300 mV (<code>variant.h</code>)</td>
|
||||||
<td>at boot, below it the node goes to SYSTEMOFF and the LPCOMP wakes it when the battery recovers</td>
|
<td>3000..4200 or <code>off</code>; at boot, below it the node goes to SYSTEMOFF and the LPCOMP wakes it when the battery recovers</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>set pwr.cutoff <mV>\|off</code></td>
|
<td><code>set pwr.cutoff <mV></code></td>
|
||||||
<td>off</td>
|
<td>off</td>
|
||||||
<td>while running, three readings in a row (one a minute) below it switch the node off into the same SYSTEMOFF</td>
|
<td>3000..4200 or <code>off</code>; while running, three readings in a row (one a minute) below it switch the node off into the same SYSTEMOFF</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>get pwr</code></td>
|
<td><code>get pwr</code></td>
|
||||||
@@ -1035,8 +1035,8 @@ loss, not a sensitivity loss.</p>
|
|||||||
and set back to <code>HIGH</code> right after <code>getBattMilliVolts()</code>, instead of staying
|
and set back to <code>HIGH</code> right after <code>getBattMilliVolts()</code>, instead of staying
|
||||||
<code>LOW</code>. <code>initiateShutdown()</code> still drives it <code>LOW</code> when it arms the LPCOMP
|
<code>LOW</code>. <code>initiateShutdown()</code> still drives it <code>LOW</code> when it arms the LPCOMP
|
||||||
wake. It saves ~2.8 µA (4.2 V over 1.5 MOhm). With the old 10 ms settle the
|
wake. It saves ~2.8 µA (4.2 V over 1.5 MOhm). With the old 10 ms settle the
|
||||||
reading came out 110-150 mV high (mast-three and second-mast after the OTA of
|
reading came out 110-150 mV high (tth-ltm and hřebečná after the OTA of
|
||||||
26.-27. 11. 2026, both at night, remote-mast without the change flat): the ADC
|
26.-27. 11. 2026, both at night, Plešivec without the change flat): the ADC
|
||||||
node starts high with the divider off. The settle is 100 ms now; still to be
|
node starts high with the divider off. The settle is 100 ms now; still to be
|
||||||
checked against a meter, and whether the ADC pin sits near VDD + 0.3 V on a
|
checked against a meter, and whether the ADC pin sits near VDD + 0.3 V on a
|
||||||
full cell.</p>
|
full cell.</p>
|
||||||
@@ -1100,7 +1100,7 @@ the run log, outside the repository.</p>
|
|||||||
0.71 → 0.53 → 0.22 → 0.05 A over about an hour here) or the numbers are
|
0.71 → 0.53 → 0.22 → 0.05 A over about an hour here) or the numbers are
|
||||||
fiction. There is <strong>no INA226 on this board</strong> to cross-check with — the <code>i2c</code>
|
fiction. There is <strong>no INA226 on this board</strong> to cross-check with — the <code>i2c</code>
|
||||||
command reports nothing at all on the only bus the variant has — on three
|
command reports nothing at all on the only bus the variant has — on three
|
||||||
separate P1-Pro units (<code>bench-rpt</code>, <code>mast-rpt-two</code>, <code>tth-mast-repeater-one</code>),
|
separate P1-Pro units (<code>tth-s1-rpt</code>, <code>tth-hrebecna</code>, <code>tth-plesivec-abertamy</code>),
|
||||||
against a sensor table that expects <code>38 76 70 44 5C 42 40 41 5A 29 77</code>. So it
|
against a sensor table that expects <code>38 76 70 44 5C 42 40 41 5A 29 77</code>. So it
|
||||||
is the board, not one dead part, and the cross-check for a power measurement
|
is the board, not one dead part, and the cross-check for a power measurement
|
||||||
has to be a second <em>board</em>.</li>
|
has to be a second <em>board</em>.</li>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"About this fork (meshcore-tth) \u010cesk\u00e1 verze . Warning Experimental firmware -- not meant for regular users. This fork and all its releases are a personal development branch for the nodes of one small network: a rolling release on upstream dev , built automatically about twice a day, with no stable channel, no support, and tried only on our own boards. It may carry bugs that take a node out of service, and getting one back then needs USB or BLE in hand. For everyday use flash the official MeshCore ( flasher.meshcore.io ). A fork of meshcore-dev/MeshCore that runs the repeaters, sensors and bench boards of a small Czech network on the CZ mesh (869.432 MHz). Upstream main and dev are merged automatically twice a day; everything below is on top of that. Our code is marked CUSTOM (TeTeHacko) in the source. Nothing here changes the wire protocol. Repeater: antispam (all of it off-switchable, none of it upstream) After flashing only the FairnessLimiter is on , with limits about twice above 30 days of real CZ mesh traffic: per channel a burst of 100 messages, then one per 30 s; per sender 150 and one per 10 s; per advert origin 30 and one per 10 min. It is a net for runaway floods, not a quota; fairness off switches it off for good. The advert window, the filters and dry-run stay off until you turn them on. FairnessLimiter -- token buckets on forwarded floods, keyed on the 1-byte ids already in the clear (channel hash, sender hash, advert origin). Port of Beanow's proposal #1502 , limits re-sized from 30 days of real CZ traffic. fairness [on|off|grid|cap|refill] ; direct-routed traffic is never limited. Per-origin advert window -- each node's flood advert forwarded at most once per N hours ( fairness advert <h>|clear ), ported from DutchMeshCore 's AdvertLimiter. Aimed at nodes that re-advertise every minute. Dry-run -- fairness dryrun on counts every verdict but forwards anyway; fairness air reports the airtime shed (or that would be) per reason. Channel filter -- on channels whose key the repeater knows (Public and #hashtag channels), stop forwarding messages of listed sender names ( filter add|del|list ). Names are spoofable: it contains a runaway bot, it is not security. Channel-hash deny-forward -- filter hash add <hex> [secs] : keyless, works on private channels too; reception is unaffected, only forwarding. With secs the channel is throttled (one packet per secs ) instead of cut. Message age limit -- filter age <min>|off (opt-in, 1-10080 min): do not forward group texts on the decrypted channels whose sender timestamp is older; inactive while the repeater clock is unset. It judges the sender's clock, so companions without a time sync are dropped too -- keep it in days. filter dryrun on counts every filter verdict but forwards anyway. Diagnostics and operations Every command of the fork, which builds have it and the defaults: docs/tth-commands.md . Repeater, room server and sensor (everything with a text console) have: Radio watchdogs. The hardware watchdog only catches a frozen loop; two of our nodes were found deaf with the loop running, and only a reboot helped. set radio.silence <min> -- deaf receiver : when the received-frame counter does not move for <min> minutes (a frame with a CRC error counts), the node re-arms its receiver first and reboots if that does not help either. Each such reboot doubles the threshold for the next boot (up to 16x) and the first frame received resets it, so a quiet site does not end in a reboot loop. Saved; off by default ( 0 ) -- pick a threshold well above the longest normal quiet spell of the site. Stalled TX (repeater only): packets wait in the queue and the sent counter does not move -> re-arm the radio, then reboot. An empty queue never counts. On, 15 min ( RADIO_TXSTALL_MIN ); set radio.txstall <min>|off holds until the next reboot. get radio.reboots -- reboots done by the watchdogs (survives power loss); get boot -- why the board last reset, and the hardfault record (also printed at boot). dfu [uf2|serial|ota] -- a deterministic reboot into the bootloader (local console only); i2c -- bus scan. The repeater also has: blink (flashes the LED, also over the mesh -- finds a node on a mast), txpwr (TX power until reboot, with RadioLib's verdict), TX-failure counters in the status reply. Observer variants only ( *-observer ): text console over BLE next to USB, ble on|off saved across reboots ( RPT_BLE_DEFAULT_OFF : starts off), own BLE PIN ( ble pin ), persisted connection TX power ( blepwr ), bleconn , a non-blocking BLE TX pump and connection parameters that hold on a weak link. Also observer variants only: a passive analyzer in the console -- nodes (heard repeaters/rooms, multi-path join key), rxlog (every frame heard, type/path/SNR/RSSI), pktlog (raw frames for an observer feed), big paged replies. Own builds only, not Line truncated
|
{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"About this fork (meshcore-tth) \u010cesk\u00e1 verze . Warning Experimental firmware -- not meant for regular users. This fork and all its releases are a personal development branch for the nodes of one small network: a rolling release on upstream dev , built automatically about twice a day, with no stable channel, no support, and tried only on our own boards. It may carry bugs that take a node out of service, and getting one back then needs USB or BLE in hand. For everyday use flash the official MeshCore ( flasher.meshcore.io ). A fork of meshcore-dev/MeshCore that runs the repeaters, sensors and bench boards of a small Czech network on the CZ mesh (869.432 MHz). Upstream main and dev are merged automatically twice a day; everything below is on top of that. Our code is marked CUSTOM (TeTeHacko) in the source. Nothing here changes the wire protocol. Repeater: antispam (all of it off-switchable, none of it upstream) After flashing only the FairnessLimiter is on , with limits about twice above 30 days of real CZ mesh traffic: per channel a burst of 100 messages, then one per 30 s; per sender 150 and one per 10 s; per advert origin 30 and one per 10 min. It is a net for runaway floods, not a quota; fairness off switches it off for good. The advert window, the filters and dry-run stay off until you turn them on. FairnessLimiter -- token buckets on forwarded floods, keyed on the 1-byte ids already in the clear (channel hash, sender hash, advert origin). Port of Beanow's proposal #1502 , limits re-sized from 30 days of real CZ traffic. fairness <on|off> , fairness cap , fairness refill , fairness grid ; direct-routed traffic is never limited. Per-origin advert window -- each node's flood advert forwarded at most once per N hours ( fairness advert <hours> , fairness advert clear ), ported from DutchMeshCore 's AdvertLimiter. Aimed at nodes that re-advertise every minute. Dry-run -- fairness dryrun on counts every verdict but forwards anyway; fairness air reports the airtime shed (or that would be) per reason. Channel filter -- on channels whose key the repeater knows (Public and #hashtag channels), stop forwarding messages of listed sender names ( filter add <name> , filter del <name> , filter list ). Names are spoofable: it contains a runaway bot, it is not security. Channel-hash deny-forward -- filter hash add <hex> [secs] : keyless, works on private channels too; reception is unaffected, only forwarding. With secs the channel is throttled (one packet per secs ) instead of cut. Message age limit -- filter age <minutes> / filter age off (opt-in, 1-10080 min): do not forward group texts on the decrypted channels whose sender timestamp is older; inactive while the repeater clock is unset. It judges the sender's clock, so companions without a time sync are dropped too -- keep it in days. filter dryrun on counts every filter verdict but forwards anyway. Diagnostics and operations Every command of the fork, which builds have it and the defaults: docs/tth-commands.md . Repeater, room server and sensor (everything with a text console) have: Radio watchdogs. The hardware watchdog only catches a frozen loop; two of our nodes were found deaf with the loop running, and only a reboot helped. set radio.silence <min> -- deaf receiver : when the received-frame counter does not move for <min> minutes (a frame with a CRC error counts), the node re-arms its receiver first and reboots if that does not help either. Each such reboot doubles the threshold for the next boot (up to 16x) and the first frame received resets it, so a quiet site does not end in a reboot loop. Saved; off by default ( 0 ) -- pick a threshold well above the longest normal quiet spell of the site. Stalled TX (repeater only): packets wait in the queue and the sent counter does not move -> re-arm the radio, then reboot. An empty queue never counts. On, 15 min ( RADIO_TXSTALL_MIN ); set radio.txstall <min>|off holds until the next reboot. get radio.reboots -- reboots done by the watchdogs (survives power loss); get boot -- why the board last reset, and the hardfault record (also printed at boot). dfu [uf2|serial|ota] -- a deterministic reboot into the bootloader (local console only); i2c -- bus scan. The repeater also has: blink (flashes the LED, also over the mesh -- finds a node on a mast), txpwr (TX power until reboot, with RadioLib's verdict), TX-failure counters in the status reply. Observer variants only ( *-observer ): text console over BLE next to USB, ble <on|off> saved across reboots ( RPT_BLE_DEFAULT_OFF : starts off), own BLE PIN ( ble pin ), persisted connection TX power ( blepwr ), bleconn , a non-blocking BLE TX pump and connection parameters that hold on a weak link. Also observer variants only: a passive analyzer in the console -- nodes (heard repeaters/rooms, multi-path join key), rxlog (every frame hearLine truncated
|
||||||
+192
-67
@@ -545,6 +545,9 @@ a rolling release on MeshCore <code>dev</code> (see the <a href="../">README</a>
|
|||||||
<a href="../cli_commands/">cli_commands.md</a>. Where a command is described there too
|
<a href="../cli_commands/">cli_commands.md</a>. Where a command is described there too
|
||||||
(the watchdogs, <code>rxps</code>, <code>batt.icon</code>, <code>gps duty</code>, <code>dfu</code>, <code>get boot</code>), this page
|
(the watchdogs, <code>rxps</code>, <code>batt.icon</code>, <code>gps duty</code>, <code>dfu</code>, <code>get boot</code>), this page
|
||||||
gives the short form and points to it.</p>
|
gives the short form and points to it.</p>
|
||||||
|
<p><strong>How commands are written</strong> (as in cli_commands.md): <code><value></code> is required,
|
||||||
|
<code>[value]</code> optional, <code><on|off></code> one of the listed words. One command per line;
|
||||||
|
ranges, units and defaults are in the description.</p>
|
||||||
<p><strong>Where a command exists</strong> depends on the role and on build flags:</p>
|
<p><strong>Where a command exists</strong> depends on the role and on build flags:</p>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
@@ -582,13 +585,12 @@ affected. Everything is persisted in prefs, so a reboot keeps it.</p>
|
|||||||
<p>Token buckets on forwarded floods, keyed on the 1-byte ids already in the
|
<p>Token buckets on forwarded floods, keyed on the 1-byte ids already in the
|
||||||
clear: channel hash, sender hash, advert origin. Buckets collide (the hash is
|
clear: channel hash, sender hash, advert origin. Buckets collide (the hash is
|
||||||
masked), and every key is chosen by the sender: it contains runaway floods,
|
masked), and every key is chosen by the sender: it contains runaway floods,
|
||||||
it is not security. Direct-routed traffic is never limited.
|
it is not security. Direct-routed traffic is never limited.</p>
|
||||||
<strong>On after flashing</strong> (<code>FAIRNESS_ENABLED_DEFAULT</code>).</p>
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>command</th>
|
<th>command</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -597,16 +599,16 @@ it is not security. Direct-routed traffic is never limited.
|
|||||||
<td>state, denials per category, caps and refill intervals</td>
|
<td>state, denials per category, caps and refill intervals</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>fairness on\|off</code></td>
|
<td><code>fairness <on|off></code></td>
|
||||||
<td>the buckets on/off</td>
|
<td>the buckets on or off. Default: on (<code>FAIRNESS_ENABLED_DEFAULT</code>)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>fairness cap <group> <sender> <advert></code></td>
|
<td><code>fairness cap <group> <sender> <advert></code></td>
|
||||||
<td>burst caps 0..255, <code>0</code> = build default (100 / 150 / 30)</td>
|
<td>burst caps, 0..255 each; <code>0</code> = build default (100 / 150 / 30)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>fairness refill <group_s> <sender_s> <advert_s></code></td>
|
<td><code>fairness refill <group> <sender> <advert></code></td>
|
||||||
<td>one token per interval, seconds, <code>0</code> = default (30 / 10 / 600)</td>
|
<td>one token per interval, seconds, 0..65535 each; <code>0</code> = build default (30 / 10 / 600)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>fairness grid</code></td>
|
<td><code>fairness grid</code></td>
|
||||||
@@ -617,12 +619,20 @@ it is not security. Direct-routed traffic is never limited.
|
|||||||
<td>estimated airtime shed per reason</td>
|
<td>estimated airtime shed per reason</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>fairness advert [<hours>\|clear]</code></td>
|
<td><code>fairness advert</code></td>
|
||||||
<td>per-origin advert window: one flood advert per origin per <code><hours></code> (0..720, <code>0</code> = off, default off); <code>clear</code> forgets the origins seen</td>
|
<td>the per-origin advert window: hours, held adverts, cache</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>fairness dryrun [on\|off]</code></td>
|
<td><code>fairness advert <hours></code></td>
|
||||||
<td>count every verdict but forward anyway (default off)</td>
|
<td>one flood advert per origin per <code>hours</code>, 0..720; <code>0</code> = off. Default: off</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>fairness advert clear</code></td>
|
||||||
|
<td>forget the origins seen</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>fairness dryrun [on|off]</code></td>
|
||||||
|
<td>count every verdict but forward anyway; without an argument shows the state. Default: off</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -638,21 +648,25 @@ message: anyone can rename around it.</p>
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>command</th>
|
<th>command</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>filter</code> / <code>filter list</code></td>
|
<td><code>filter [list]</code></td>
|
||||||
<td>channels known, drops, the deny list</td>
|
<td>channels known, drops, the deny list</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>filter add <name></code> / <code>filter del <name></code></td>
|
<td><code>filter add <name></code></td>
|
||||||
<td>exact, case-insensitive; spaces allowed, commas not</td>
|
<td>deny a sender name: exact, case-insensitive; spaces allowed, commas not</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>filter del <name></code></td>
|
||||||
|
<td>remove a name from the deny list</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>filter clear</code></td>
|
<td><code>filter clear</code></td>
|
||||||
<td>empty the list</td>
|
<td>empty the deny list</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -665,35 +679,70 @@ lives on it before adding one.</p>
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>command</th>
|
<th>command</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>filter hash</code></td>
|
<td><code>filter hash [list]</code></td>
|
||||||
<td>drops, passes by a throttle, the list (<code>43</code> blocked, <code>43/60</code> throttled)</td>
|
<td>drops, passes by a throttle, the list (<code>43</code> blocked, <code>43/60</code> throttled)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>filter hash add <hex> [secs]</code></td>
|
<td><code>filter hash add <hex> [secs]</code></td>
|
||||||
<td>block the byte, or let one packet through per <code>secs</code> (1..65535); re-adding changes the interval</td>
|
<td>block the byte, or with <code>secs</code> (1..65535) let one packet through per <code>secs</code>; re-adding changes the interval</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>filter hash del <hex></code> / <code>filter hash clear</code></td>
|
<td><code>filter hash del <hex></code></td>
|
||||||
<td></td>
|
<td>remove one byte</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>filter hash clear</code></td>
|
||||||
|
<td>empty the list</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p>A throttle's window lives in RAM: the first match after a boot passes.</p>
|
<p>A throttle's window lives in RAM: the first match after a boot passes.</p>
|
||||||
<h3 id="message-age-filter-age-repeater-with-channel-keys">Message age -- <code>filter age</code> (repeater with channel keys)</h3>
|
<h3 id="message-age-filter-age-repeater-with-channel-keys">Message age -- <code>filter age</code> (repeater with channel keys)</h3>
|
||||||
<p><code>filter age <min>|off</code> (1..10080, default off): do not forward a group text
|
<table>
|
||||||
on a decrypted channel whose sender timestamp is older than <code><min></code> by this
|
<thead>
|
||||||
node's clock. It judges the sender's clock, so a companion that never got a
|
<tr>
|
||||||
time sync (it stamps 2024) is dropped too -- keep it in days. Inactive while
|
<th>command</th>
|
||||||
the node's own clock reads before 2026; a clock running ahead makes
|
<th>what</th>
|
||||||
everything look old.</p>
|
</tr>
|
||||||
<h3 id="filter-dryrun-onoff"><code>filter dryrun [on|off]</code></h3>
|
</thead>
|
||||||
<p>Count every <code>filter</code> verdict (sender, hash, age) but forward anyway -- try a
|
<tbody>
|
||||||
rule on a live node before it bites. Default off.</p>
|
<tr>
|
||||||
|
<td><code>filter age</code></td>
|
||||||
|
<td>the limit and how many were dropped</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>filter age <minutes></code></td>
|
||||||
|
<td>do not forward a group text on a decrypted channel whose sender timestamp is older than <code>minutes</code> (1..10080) by this node's clock</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>filter age off</code></td>
|
||||||
|
<td>no age limit. Default: off</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p>It judges the sender's clock, so a companion that never got a time sync (it
|
||||||
|
stamps 2024) is dropped too -- keep it in days. Inactive while the node's own
|
||||||
|
clock reads before 2026; a clock running ahead makes everything look old.</p>
|
||||||
|
<h3 id="dry-run-filter-dryrun">Dry run -- <code>filter dryrun</code></h3>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>command</th>
|
||||||
|
<th>what</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><code>filter dryrun [on|off]</code></td>
|
||||||
|
<td>count every <code>filter</code> verdict (sender, hash, age) but forward anyway -- try a rule on a live node before it bites; without an argument shows the state. Default: off</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
<h2 id="radio-watchdogs-and-board-upkeep-all">Radio watchdogs and board upkeep (all)</h2>
|
<h2 id="radio-watchdogs-and-board-upkeep-all">Radio watchdogs and board upkeep (all)</h2>
|
||||||
<p>Details: <a href="../cli_commands/">cli_commands.md</a>, "Radio silence watchdog", "TX
|
<p>Details: <a href="../cli_commands/">cli_commands.md</a>, "Radio silence watchdog", "TX
|
||||||
stall watchdog", "Reboot into the bootloader" and "Why the board last reset".</p>
|
stall watchdog", "Reboot into the bootloader" and "Why the board last reset".</p>
|
||||||
@@ -701,17 +750,25 @@ stall watchdog", "Reboot into the bootloader" and "Why the board last reset".</p
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>command</th>
|
<th>command</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>set radio.silence <min>\|off</code> / <code>get radio.silence</code></td>
|
<td><code>get radio.silence</code></td>
|
||||||
<td>deaf receiver: re-arm RX, then reboot after <code><min></code> without a received frame (CRC errors count as heard); each such reboot doubles the threshold for the next boot (up to 16x), the first frame clears it. 1..1440, persisted, <strong>default off</strong></td>
|
<td>threshold, current multiplier, quiet time, stage</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>set radio.txstall <min>\|off</code> / <code>get radio.txstall</code></td>
|
<td><code>set radio.silence <minutes></code></td>
|
||||||
<td>repeater only: packets queued and nothing sent for <code><min></code> -> re-arm, then reboot. An empty queue never counts. <strong>On, 15 min</strong> (<code>RADIO_TXSTALL_MIN</code>); a change holds until reboot</td>
|
<td>deaf receiver: re-arm RX, then reboot after <code>minutes</code> (1..1440) without a received frame (CRC errors count as heard); each such reboot doubles the threshold for the next boot (up to 16x), the first frame clears it. <code>0</code> or <code>off</code> = off. Saved. Default: off</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>get radio.txstall</code></td>
|
||||||
|
<td>threshold, queue, time without TX, stage</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>set radio.txstall <minutes></code></td>
|
||||||
|
<td>repeater only: packets queued and nothing sent for <code>minutes</code> (1..1440) -> re-arm, then reboot. An empty queue never counts. <code>0</code> or <code>off</code> = off. Not saved: a reboot returns to the build value. Default: 15 (<code>RADIO_TXSTALL_MIN</code>)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>get radio.reboots</code></td>
|
<td><code>get radio.reboots</code></td>
|
||||||
@@ -722,11 +779,11 @@ stall watchdog", "Reboot into the bootloader" and "Why the board last reset".</p
|
|||||||
<td>reset reason and the hardfault record (also printed at boot)</td>
|
<td>reset reason and the hardfault record (also printed at boot)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>dfu [uf2\|serial\|ota]</code></td>
|
<td><code>dfu [uf2|serial|ota]</code></td>
|
||||||
<td><em>local only</em>: reboot into the bootloader -- UF2 drive (default), CDC port for <code>adafruit-nrfutil</code>, or BLE DFU</td>
|
<td><em>local only</em>, nRF52: reboot into the bootloader -- UF2 drive (default), CDC port for <code>adafruit-nrfutil</code>, or BLE DFU</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>fw ...</code></td>
|
<td><code>fw <subcommand></code></td>
|
||||||
<td><code>-ota</code> images only: admin-pushed firmware update, see <a href="../ota/">ota.md</a></td>
|
<td><code>-ota</code> images only: admin-pushed firmware update, see <a href="../ota/">ota.md</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -750,19 +807,29 @@ tz.offset</code>. No exponent (<code>1e3</code>), no <code>nan</code>/<code>inf<
|
|||||||
<tr>
|
<tr>
|
||||||
<th>command</th>
|
<th>command</th>
|
||||||
<th>where</th>
|
<th>where</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>blink [n]</code> / <code>blink on\|off</code></td>
|
<td><code>blink [count]</code></td>
|
||||||
<td>repeater</td>
|
<td>repeater</td>
|
||||||
<td>flash a spare LED (not the BLE or TX one) <code>n</code> times (default 6, max 999), or until <code>blink off</code> (gives up after 10 min); finds a board on a bench or a node on a mast</td>
|
<td>flash a spare LED (not the BLE or TX one) <code>count</code> times (1..999, default 6); finds a board on a bench or a node on a mast</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>txpwr [dBm]</code></td>
|
<td><code>blink <on|off></code></td>
|
||||||
<td>repeater</td>
|
<td>repeater</td>
|
||||||
<td>LoRa output power until reboot, with RadioLib's status; takes -9..30</td>
|
<td>blink until <code>blink off</code> (gives up after 10 min)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>txpwr</code></td>
|
||||||
|
<td>repeater</td>
|
||||||
|
<td>the last requested LoRa output power and RadioLib's status</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>txpwr <dBm></code></td>
|
||||||
|
<td>repeater</td>
|
||||||
|
<td>LoRa output power until reboot, -9..30 (SX1262 takes -9..22), with RadioLib's status</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>i2c</code></td>
|
<td><code>i2c</code></td>
|
||||||
@@ -785,7 +852,7 @@ tz.offset</code>. No exponent (<code>1e3</code>), no <code>nan</code>/<code>inf<
|
|||||||
<td>receiver state, interrupt and RX counters, without touching the radio</td>
|
<td>receiver state, interrupt and RX counters, without touching the radio</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>radiokick rx\|clrirq\|standby\|agc</code></td>
|
<td><code>radiokick <rx|clrirq|standby|agc></code></td>
|
||||||
<td>own build: <code>RADIO_DIAG</code></td>
|
<td>own build: <code>RADIO_DIAG</code></td>
|
||||||
<td>one recovery step, gentlest first: re-arm RX, clear latched IRQs, standby + RX, AGC reset; the first that brings <code>recv</code> back names the broken layer</td>
|
<td>one recovery step, gentlest first: re-arm RX, clear latched IRQs, standby + RX, AGC reset; the first that brings <code>recv</code> back names the broken layer</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -801,25 +868,37 @@ the BLE PIN is the only lock, and the release PIN is the public placeholder
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>command</th>
|
<th>command</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>ble</code></td>
|
<td><code>ble</code></td>
|
||||||
<td>on/off, PIN <code>own</code> or <code>build default</code> -- never the PIN itself</td>
|
<td>on or off, PIN <code>own</code> or <code>build default</code>, connected or not -- never the PIN itself</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>ble pin <6 digits></code></td>
|
<td><code>ble <on|off></code></td>
|
||||||
<td>set your own PIN (saved, survives a reflash; drops every bond, so paired devices pair again)</td>
|
<td>the BLE console on or off, saved. Default: off (<code>RPT_BLE_DEFAULT_OFF</code>); <code>ble on</code> is refused while the PIN is the placeholder</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>ble on\|off</code></td>
|
<td><code>ble pin</code></td>
|
||||||
<td>persisted; <strong>off after flashing</strong> (<code>RPT_BLE_DEFAULT_OFF</code>), and <code>ble on</code> is refused while the PIN is the placeholder</td>
|
<td>whether the PIN is your own or the build default</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>blepwr [dBm\|default]</code></td>
|
<td><code>ble pin <pin></code></td>
|
||||||
<td>TX power of the connection (-40, -20, -16, -12, -8, -4, 0, 2..8), applied to live connections and saved; <code>default</code> returns to the build value (0 dBm)</td>
|
<td>set your own PIN, 6 digits (saved, survives a reflash; drops every bond, so paired devices pair again)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>blepwr</code></td>
|
||||||
|
<td>TX power of the connection and of advertising</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>blepwr <dBm></code></td>
|
||||||
|
<td>TX power of the connection: -40, -20, -16, -12, -8, -4, 0, 2..8; applied to live connections and saved</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>blepwr default</code></td>
|
||||||
|
<td>back to the build value (0 dBm)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>bleconn</code></td>
|
<td><code>bleconn</code></td>
|
||||||
@@ -834,13 +913,13 @@ found, look for who is connected (<code>ble</code> shows it).</p>
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>command</th>
|
<th>command</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>nodes [offset]</code></td>
|
<td><code>nodes [offset]</code></td>
|
||||||
<td>heard repeaters and room servers with a key to join several paths, paged</td>
|
<td>heard repeaters and room servers with a key to join several paths, paged from <code>offset</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>rxlog [cursor]</code></td>
|
<td><code>rxlog [cursor]</code></td>
|
||||||
@@ -865,29 +944,69 @@ console shows its state.</p>
|
|||||||
<tr>
|
<tr>
|
||||||
<th>command</th>
|
<th>command</th>
|
||||||
<th>where</th>
|
<th>where</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>set radio.rxps off\|on\|balanced\|max</code>, <code>level <1-10> [preamble 16\|32]</code> / <code>get radio.rxps</code></td>
|
<td><code>get radio.rxps</code></td>
|
||||||
<td>all, SX1262 only (<code>WITH_RX_POWERSAVING</code>, in the releases)</td>
|
<td>all, SX1262 only (<code>WITH_RX_POWERSAVING</code>, in the releases)</td>
|
||||||
<td>RX duty cycle: the radio sleeps between short listening windows. <strong>Off by default.</strong> <code>max</code> saved ~2.3 mA on the bench, but a mast on the live mesh lost 16 % of its reception -- see cli_commands.md and <a href="../power/">power.md</a></td>
|
<td>requested and effective RX duty cycle, window lengths, error counters</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>set batt.icon on\|off</code>, <code>set batt.icon.lo\|hi <mV></code></td>
|
<td><code>set radio.rxps <off|on|balanced|max></code></td>
|
||||||
|
<td>same</td>
|
||||||
|
<td>RX duty cycle: the radio sleeps between short listening windows. Presets: <code>on</code> = level 3, <code>balanced</code> = 6, <code>max</code> = 8. Saved. Default: off</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>set radio.rxps level <level> [preamble <16|32>]</code></td>
|
||||||
|
<td>same</td>
|
||||||
|
<td>the same by number, 1..10 (9 and 10 are past the datasheet's timing condition, 10 is known to lose packets)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>set radio.rxps <rx_us> <sleep_us></code></td>
|
||||||
|
<td>same</td>
|
||||||
|
<td>raw window lengths</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>get batt.icon</code></td>
|
||||||
<td>all</td>
|
<td>all</td>
|
||||||
<td>battery level as an icon at the end of the advertised name (off by default; with a name too long for it the icon is left out, and the reply says so)</td>
|
<td>whether the icon is on, and whether the name leaves room for it</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>gps duty ...</code></td>
|
<td><code>set batt.icon <on|off></code></td>
|
||||||
|
<td>all</td>
|
||||||
|
<td>battery level as an icon at the end of the advertised name; with a name too long for it the icon is left out, and the reply says so. Default: off</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>set batt.icon.lo <mV></code></td>
|
||||||
|
<td>all</td>
|
||||||
|
<td>the empty end of the icon's scale, 2500..4500; <code>0</code> = build default (3300)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>set batt.icon.hi <mV></code></td>
|
||||||
|
<td>all</td>
|
||||||
|
<td>the full end, 2500..4500; <code>0</code> = build default (4200)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>gps duty</code></td>
|
||||||
<td>GPS boards</td>
|
<td>GPS boards</td>
|
||||||
<td>the receiver runs only around a clock sync; see cli_commands.md</td>
|
<td>the receiver runs only around a clock sync; <code>gps on</code> / <code>gps off</code> leave it. See cli_commands.md</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>get pwr</code>, <code>set pwr.bootlock <mV>\|off</code>, <code>set pwr.cutoff <mV>\|off</code></td>
|
<td><code>get pwr</code></td>
|
||||||
<td>SenseCAP Solar repeater (<code>PWRMGT_RUNTIME</code>)</td>
|
<td>SenseCAP Solar repeater (<code>PWRMGT_RUNTIME</code>)</td>
|
||||||
<td>battery thresholds: don't start below the bootlock, switch a running node off below the cutoff (cutoff < bootlock, none above the battery right now); saved on the node, see <a href="../power/">power.md</a></td>
|
<td>both thresholds, the battery now and at boot, why the node last switched off</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>set pwr.bootlock <mV></code></td>
|
||||||
|
<td>same</td>
|
||||||
|
<td>do not start below this voltage, 3000..4200 or <code>off</code>; saved on the node, see <a href="../power/">power.md</a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>set pwr.cutoff <mV></code></td>
|
||||||
|
<td>same</td>
|
||||||
|
<td>switch a running node off below this voltage, 3000..4200 or <code>off</code>. Must stay under the bootlock; neither may be above the battery right now</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>clkreboot</code></td>
|
<td><code>clkreboot</code></td>
|
||||||
@@ -896,12 +1015,14 @@ console shows its state.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<p>RX duty cycle: <code>max</code> saved ~2.3 mA on the bench, but a mast on the live mesh
|
||||||
|
lost 16 % of its reception -- see cli_commands.md and <a href="../power/">power.md</a>.</p>
|
||||||
<h2 id="sensors">Sensors</h2>
|
<h2 id="sensors">Sensors</h2>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>command</th>
|
<th>command</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -910,8 +1031,12 @@ console shows its state.</p>
|
|||||||
<td>the live telemetry decoded into one line (<code>sensor list</code> shows only settings)</td>
|
<td>the live telemetry decoded into one line (<code>sensor list</code> shows only settings)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><code>sensor get ina.shunt</code></td>
|
||||||
|
<td>the shunt the current is computed with</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td><code>sensor set ina.shunt <mOhm></code></td>
|
<td><code>sensor set ina.shunt <mOhm></code></td>
|
||||||
<td>shunt resistance of an INA219/226/260/3221, saved across reboots</td>
|
<td>shunt resistance of an INA219, INA226 or INA3221 module (<code>10</code> for <code>R010</code>), saved; <code>0</code> = build default (100). The INA260 has its shunt inside and no setting</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -923,7 +1048,7 @@ console shows its state.</p>
|
|||||||
<tr>
|
<tr>
|
||||||
<th>flag</th>
|
<th>flag</th>
|
||||||
<th>default</th>
|
<th>default</th>
|
||||||
<th></th>
|
<th>what</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
Reference in new issue
Block a user