docs site preview: commands written one way (ef16d8b1)

This commit is contained in:
tth committed 2026-12-02 00:51:17 +01:00
1 parent 20828922f2
commit 31492ac499
7 files changed
+264 -128

No files matched your search

+14 -13
View File
@@ -568,21 +568,21 @@ off until you turn them on.</p>
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>,
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 &lt;on|off&gt;</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
once per N hours (<code>fairness advert &lt;h&gt;|clear</code>), ported from
once per N hours (<code>fairness advert &lt;hours&gt;</code>, <code>fairness advert clear</code>), ported from
<a href="https://github.com/Dutch-MeshCore/MeshCore">DutchMeshCore</a>'s AdvertLimiter.
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;
<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
<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 &lt;name&gt;</code>, <code>filter del &lt;name&gt;</code>, <code>filter list</code>). Names are spoofable: it contains a runaway bot,
it is not security.</li>
<li><strong>Channel-hash deny-forward</strong> -- <code>filter hash add &lt;hex&gt; [secs]</code>: keyless,
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>
<li><strong>Message age limit</strong> -- <code>filter age &lt;min&gt;|off</code> (opt-in, 1-10080 min): do not
<li><strong>Message age limit</strong> -- <code>filter age &lt;minutes&gt;</code> / <code>filter age off</code> (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.</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
counters in the status reply.</li>
<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 &lt;on|off&gt;</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
non-blocking BLE TX pump and connection parameters that hold on a weak
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
cooldown, ignore list) -- answers without repeating;</li>
<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 &lt;rx|clrirq|standby|agc&gt;</code> (one recovery step at a time, gentlest
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 --
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>
<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
on</code>, thresholds <code>set batt.icon.lo|hi &lt;mV&gt;</code> (off by default; a long name has
on</code>, thresholds <code>set batt.icon.lo &lt;mV&gt;</code> and <code>set batt.icon.hi &lt;mV&gt;</code> (off by default; a long name has
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
<code>level &lt;1-10&gt;</code>; ported from EasySkyMesh PowerSaving): the SX1262 sleeps
<li>Optional RX duty cycle (<code>set radio.rxps &lt;off|on|balanced|max&gt;</code>, finer
<code>set radio.rxps level &lt;level&gt;</code> 1-10; ported from EasySkyMesh PowerSaving): the SX1262 sleeps
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
(<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
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 --
<code>set pwr.bootlock &lt;mV&gt;|off</code> (default 3300; below it the node does not start
and sleeps until the cell recovers) and <code>set pwr.cutoff &lt;mV&gt;|off</code> (default
<code>set pwr.bootlock &lt;mV&gt;</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 &lt;mV&gt;</code> or <code>off</code> (default
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>
</ul>
@@ -707,8 +707,9 @@ off until you turn them on.</p>
<li>Sensors that would otherwise convert continuously (INA219, INA226, INA260,
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,
so an INA226 is no longer taken for an INA219. The shunt is set at runtime
and saved: <code>sensor set ina.shunt &lt;mOhm&gt;</code>.</li>
so an INA226 is no longer taken for an INA219. The shunt (INA219, INA226,
INA3221; the INA260 has it inside) is set at runtime and saved:
<code>sensor set ina.shunt &lt;mOhm&gt;</code>.</li>
<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
only over paired BLE, never over USB, a UART or WiFi/TCP, and the reply that