Expand description
§zigbee-ash
ASHv2, the Asynchronous Serial Host protocol that carries EZSP between a host and a Silicon Labs EmberZNet network co-processor (Silicon Labs UG101).
frame: frame encoding and decoding, CRC-CCITT, byte stuffing, data randomization, and a bounded streamframe::Decoder.conn: the link as a sans-IO state machine: RST/RSTACK, frame numbering, piggybacked and explicit ACKs, NAK on loss or corruption, go-back-N retransmission, a sliding window and UG101’s adaptive ACK timer. It serves both ends of the link.transport(featuretokio): a task that runs a connection over anyAsyncRead + AsyncWrite, such as a serial port or a TCP socket.
Part of zigbee-bridge, maintained by Pulzar. See the user guide, the library guide and the API documentation.
License: MIT.
Re-exports§
pub use conn::Config;pub use conn::Connection;pub use conn::DownReason;pub use conn::Event;pub use conn::Role;pub use conn::SendError;pub use frame::Decoder;pub use frame::Frame;pub use frame::FrameError;pub use transport::Link;pub use transport::LinkError;pub use transport::LinkEvent;
Modules§
- conn
- The ASH link layer as a sans-IO state machine.
- frame
- ASH frames: control byte, data randomization, CRC and byte stuffing.
- transport
- A tokio task that runs a
Connectionover any byte stream.