Skip to main content

zigbee_zcl/
lib.rs

1#![doc = include_str!("../README.md")]
2#![cfg_attr(
3    not(test),
4    deny(
5        clippy::indexing_slicing,
6        clippy::unwrap_used,
7        clippy::expect_used,
8        clippy::panic
9    )
10)]
11
12pub mod defs;
13pub mod foundation;
14pub mod frame;
15pub mod status;
16pub mod types;
17pub mod value;
18
19pub use defs::{
20    attr, cluster, cluster_by_name, cluster_id, command, response, ClusterDef, CLUSTERS,
21};
22pub use foundation::Global;
23pub use frame::{Direction, Frame, FrameType, Header};
24pub use types::DataType;
25pub use value::Value;
26
27/// The Home Automation / Zigbee 3.0 application profile.
28pub const PROFILE_HOME_AUTOMATION: u16 = 0x0104;
29/// The Zigbee Light Link profile.
30pub const PROFILE_LIGHT_LINK: u16 = 0xC05E;
31/// The Smart Energy profile.
32pub const PROFILE_SMART_ENERGY: u16 = 0x0109;