Expand description
§zigbee-primitives
Address, key and wire-format types shared by the zigbee-bridge crates.
Everything a Zigbee frame parser needs in common lives here: the 64-bit
IEEE address (Ieee), the extended PAN id (ExtPanId), 128-bit keys
(Key, whose Debug never prints the key), and a bounds-checked byte
reader (wire::Reader) that every parser in the workspace uses instead
of slicing, so that a malformed frame is an error and never a panic.
Part of zigbee-bridge, maintained by Pulzar. See the user guide, the library guide and the API documentation.
License: MIT.
Modules§
- wire
- A bounds-checked little-endian reader and writer for frame parsing.
Structs§
- ExtPan
Id - A 64-bit extended PAN id, shown most-significant byte first like
Ieee. - Ieee
- A 64-bit IEEE (EUI-64) address.
- Key
- A 128-bit AES key (network key, link key, install-code-derived key).
Enums§
- Parse
HexError - Error from parsing a hex address or key.
Constants§
- BROADCAST_
ALL - Broadcast to every device.
- BROADCAST_
ROUTERS - Broadcast to every router and the coordinator.
- BROADCAST_
RX_ ON_ WHEN_ IDLE - Broadcast to every device whose receiver is on when idle.
- COORDINATOR_
NODE_ ID - The coordinator’s network address.