Crate embedded_nano_mesh
source ·Structs§
- The main structure of the library to use communication in the mesh network. The node works in the manner of listening of ether for specified period of time, which is called
listen_period, and then sending out packets between those periods. - User-friendly
Nodeconfiguration structure. - Error that can be returned by
Nodeupdatemethod.
Enums§
- 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.
- State of the packet.
- Error that can be returned by
Nodesendmethod. - Errors, that may occur during the call call of
Nodesend_with_transactionorsend_ping_pongmethod.
Type Aliases§
- Type alias for device address identification number. It cancontain only non-zero positive number. The zero value is reserved for broadcast address.
- 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. - Type alias for a String with fixed length, that is made to unify use of the library.
- Type alias for milliseconds.