Module command

Module command 

Source
Expand description

The command tree.

One clap Subcommand enum serves four surfaces: the one-shot argv grammar, the REPL line grammar, --help at every level, and the completion tree the REPL’s tab handler walks.

Modules§

advert
advert: what the device announces without being asked (PROP_ADVERT_INTERVAL, PROP_BEACON_INTERVAL, PROP_STARTUP_BEACON).
capture
capture: listen on the device’s radio, decode what it hears, and optionally write a Wireshark-compatible file.
duty
duty: report or bound the combined duty-cycle budget.
gnss
gnss: report the receiver’s state, switch it on or off, and set the policy for what is done with a fix (PROP_GNSS_*).
info
info: everything the device will say about itself, in one report, without changing any of it.
lifecycle
State lifecycle and one-off device settings: save, restore, clear, reset, factory-reset, pin, identity, name, and alert.
phy
phy: report or set the radio’s enable state and LoRa parameters.
provision
provision: establish the host domain — the keys, filters, and delegation policy for the host that will tether to this device.
repeater
repeater: report or set autonomous forwarding (PROP_MAC_REPEATER_*).
tables
dev-channel / dev-peer: the device identity’s own key tables.
time
time: read, set, or clear the device’s wall clock (PROP_TIME, PROP_TZ_OFFSET).
values
FromStr-backed value parsers for the command tree.

Enums§

Command
DefaultOp

Functions§

decode_u16 🔒
decode_u32 🔒
default 🔒
duty_percent 🔒
Percentage of the hour a raw 0-65535 duty figure represents.
persist
Finish a mutating command: persist by default, or report the live-only state under --no-save.
scan 🔒