Crate embedded_nano_mesh

Source

Structs§

Node
The main and only structure of the library that brings API for communication trough the mesh network. It works in the manner of listening of ether for specified period of time, which is called listen_period, and then sending out packets out of queues between those periods.
NodeConfig
User-friendly Node configuration structure.
NodeUpdateError
Error that can be returned by Node update method.

Enums§

GeneralAddressType
Type to strict interaction with addressing during use of the library. It provides options to send packet to exact device or to all devices it can reach.
PacketState
State of the packet.
SendError
Error that can be returned by Node send method or broadcast method.
SpecialSendError
Errors, that may occur during the call of Node send_with_transaction or send_ping_pong method.

Type Aliases§

ExactAddressType
Type alias for device address identification number. It can contain only non-zero positive number. The zero value is reserved for broadcast address.
IdType
Type alias for packet identification number.
LifeTimeType
Type alias for packet lifetime. This value contains the information, about for how many times the packet can be re-sent. It has sense to contain same capacity of possible values same as AddressType - in order to make the packet possible to pass all the nodes of the network.
NodeString
Type alias for a String with fixed length, that is made to simplify messaging between nodes.
PacketDataBytes
Type alias for bytes of data contained in the packet.
ms