Module repeater

Module repeater 

Source
Expand description

repeater: report or set autonomous forwarding (PROP_MAC_REPEATER_*).

Persisted device-domain state: it takes effect once a device identity is provisioned (store-and-defer) and survives reboot. Enabling it makes the on-board node forward overheard routable frames and advertise as a repeater.

Enumsยง

RegionOp
A region is written as a short code, a name, or a literal 0x1234; the device stores the string and derives the 2-octet code its forwarding filter compares.
RepeaterOp

Functionsยง

format_region
Render one region as the operator wrote it, with the code the forwarding filter actually compares โ€” a hashed name is otherwise unrecognizable in a packet capture.
format_regions
Render a region list for display, naming the empty list as what it means rather than printing nothing.
print_enabled ๐Ÿ”’
region_codes ๐Ÿ”’
The codes a stored region list derives to, for the cross-checks that compare against a default region.
run
set_enabled ๐Ÿ”’