Crate umshctl

Crate umshctl 

Source
Expand description

umshctl: the host tool for ULCP radio devices — inspection, provisioning, device identity, persistence, pairing, radio configuration, and packet capture.

Everything except provision attaches administratively, with the non-resetting full-protocol handshake, so pointing this tool at an autonomously operating board never disturbs its configuration: only the command explicitly given changes anything.

With no command it opens a shell — one attach, many commands — which is worth a great deal over BLE, where each fresh attach costs a discovery pass plus a handshake.

Modules§

command 🔒
The command tree.
connection 🔒
Finding a device, opening a link to it, and holding the attached session.
extcap 🔒
Wireshark extcap interface.
output 🔒
Shared presentation: the colour decision, the field-tinted styling the capture decoder needs, and the key/value report layout every command prints.
repl 🔒
The interactive shell: one attach, many commands.

Structs§

App
Everything a command may need beyond the device itself: the attachment, the settings, and the difference between a shell and a one-shot invocation.
ToolArgs

Functions§

announce_attached 🔒
main 🔒
resolve 🔒
Work out which radio to talk to, from the flags, the environment, the saved default, and finally the air.
run 🔒