Skip to main content

Crate zigbee_znp

Crate zigbee_znp 

Source
Expand description

§zigbee-znp

Texas Instruments Z-Stack ZNP: the Monitor and Test (MT) serial protocol that Z-Stack coordinator firmware speaks, for Z-Stack 3.0.x (CC2530, CC2531) and 3.x.0 (CC13x2, CC26x2, CC2652).

  • frame: MT frames and a streaming decoder.
  • message: the requests a host sends and the indications the NCP sends, typed in both directions.
  • client (feature client): an async client.

Written from TI’s public MT API documentation; no code was copied from any other implementation.

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

License: MIT.

Re-exports§

pub use frame::Decoded;
pub use frame::Decoder;
pub use frame::Frame;
pub use frame::FrameError;
pub use frame::Kind;
pub use message::Beacon;
pub use message::DecodeError;
pub use message::IncomingMsg;
pub use message::Indication;
pub use message::Request;

Modules§

client
An async ZNP client: one synchronous request at a time, as MT requires, and every asynchronous frame as an event.
frame
MT frames on the wire: 0xFE, length, two command bytes, data, and an XOR check byte over everything after the start byte.
ids
Subsystems, command ids, NV item ids and status codes.
message
Typed requests the host sends and indications the NCP sends.