Skip to main content

Crate zigbee_ezsp

Crate zigbee_ezsp 

Source
Expand description

§zigbee-ezsp

EZSP, the EmberZNet Serial Protocol between a host and a Silicon Labs Zigbee network co-processor (Silicon Labs UG100), for EmberZNet 7.4 and 8.x (protocol versions 13 to 19).

  • frame: the legacy and extended frame headers.
  • command: typed commands and their responses, encoding and decoding in both directions, with the layouts that changed at protocol 14.
  • callback: typed callbacks.
  • types: EZSP structures and types::Status, which spans the 8-bit EmberStatus (protocol 13) and 32-bit sl_status_t (14+) code spaces.
  • ids: frame, configuration, policy and value ids.
  • client (feature client): an async client over an ASH link that negotiates the version, serializes commands and delivers callbacks.

Every parser is bounds-checked and allocation-bounded by its input.

Part of zigbee-bridge, maintained by Pulzar. See the user guide, the library guide and the API documentation.

License: MIT.

Re-exports§

pub use callback::Callback;
pub use client::ClientConfig;
pub use client::Ezsp;
pub use client::EzspError;
pub use client::EzspEvent;
pub use client::NcpInfo;
pub use command::Command;
pub use command::DecodeError;
pub use command::Response;
pub use types::ApsFrame;
pub use types::ProtocolVersion;
pub use types::RxPacketInfo;
pub use types::Status;

Modules§

callback
Typed EZSP callbacks (NCP to host, unsolicited).
client
An async EZSP client over an ASH link.
command
Typed EZSP commands (host to NCP) and their responses (NCP to host).
frame
The EZSP frame header: sequence, frame control and frame id.
ids
EZSP frame ids and the ids of configuration values, policies, decisions, values and manufacturing tokens, as Silicon Labs documents them (UG100 and the EmberZNet ezsp-enum.h).
types
EZSP structures and the status type, with their wire encodings.