Module advert

Module advert 

Source
Expand description

advert: what the device announces without being asked (PROP_ADVERT_INTERVAL, PROP_BEACON_INTERVAL, PROP_STARTUP_BEACON).

Two schedules rather than one, because the two announcements cost very different amounts of airtime and say different things. A beacon is an empty broadcast that collects a trace on its way out, so what it publishes is the path back to the device; an advertisement carries the signed node identity and goes only as far as the device’s own neighbours. A mesh normally wants the first often and the second rarely.

Structs§

Period
An interval, where “off” and zero are the same thing on the wire.

Enums§

AdvertOp
ToggleOp

Functions§

format_duration 🔒
format_interval 🔒
Seconds as written, with the human-scale reading beside them — the difference between 3600 and 36000 is easy to miss in a bare number.
report 🔒
run