Skip to main content

Crate zigbee_ash

Crate zigbee_ash 

Source
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 stream frame::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 (feature tokio): a task that runs a connection over any AsyncRead + 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::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 Connection over any byte stream.