zigbee-ezsp and zigbee-ash
The two protocols between a host and a Silicon Labs EmberZNet NCP. zigbee-ezsp API, zigbee-ash API.
zigbee-ash
Section titled “zigbee-ash”ASHv2, the Asynchronous Serial Host protocol that carries EZSP over a UART (Silicon Labs UG101).
frame: CRC-CCITT, byte stuffing, data randomization, and a bounded streamDecoder. Checked against UG101’s byte-level examples.conn: the link as a sans-IO state machine: RST and RSTACK, frame numbering, piggybacked and explicit ACKs, NAK on loss or corruption, retransmission, and the adaptive ACK timer.transport(featuretokio, default): a driver that runs the state machine over anyAsyncRead + AsyncWrite.
zigbee-ezsp
Section titled “zigbee-ezsp”EZSP, the EmberZNet Serial Protocol (Silicon Labs UG100), for protocol versions 13 to 19 (EmberZNet 7.4 to 8.x).
frame: the legacy and extended frame headers.command: typed commands and responses, in both directions, with the layouts that changed at protocol 14.callback: typed callbacks from the NCP.client(featureclient, default):Ezsp, an async client that resets the link, negotiates the protocol version, matches responses to commands, and delivers callbacks as events.callsends a command and returns its response.
Use these crates directly to build EmberZNet tools (a firmware inspector, a token reader) without the Zigbee host. For a network, use zigbee-host.