Expand description
info: what the device says about itself, in as few exchanges as it
can be asked in.
The report is a list of topics (topics::TOPICS), each a set of
properties and two renderings of them. Everything a run needs is
fetched in one CMD_PROP_MULTI_GET — plus the two that cannot share
one — so a whole report costs about what a single property used to.
Naming a topic asks for that topic alone, which over the mesh is the difference between a question and an errand.
Modules§
Structs§
Functions§
- battery_
display - format_
millilux - Millilux as lux to three decimal places. Fixed rather than adaptive because the readings this is used to calibrate span moonlight to daylight, and a column that keeps its shape is easier to compare against a meter than one that keeps rescaling.
- illuminance
illuminance: one ambient light reading, on its own.- run
- topic_
parser 🔒 - The topic names, as a value parser — so clap rejects a misspelling,
--helplists what there is, and the shell completes them, all from the one table that defines them.