Module message

Module message 

Source
Expand description

send and listen: text messages to and from this tool’s own identity.

The tool already becomes a node on the mesh to administer a device; these do the same thing for the oldest reason there is to have a mesh. Both borrow the attached radio, so they need a local attachment — a mesh session has already lent that radio out.

The identity is the administrator identity admin-key prints, so a message from this tool arrives from the same key a device authorizes for management.

Structs§

ListenArgs
SendArgs

Enums§

Errand 🔒
What this command is being lent the radio for.

Constants§

DISCOVERY_HOPS 🔒
How far a message floods when no route to the peer is known.
POLL 🔒
How long a single pump waits before the deadline is checked again.

Functions§

deliver 🔒
listen
listen: whatever arrives, until you stop it.
print_body 🔒
receive 🔒
send
send: one message, and what became of it.
settle 🔒
Pump the radio until the message is done, or until patience runs out.
show 🔒
Print one received packet, if it is a text message.