Skip to main content

zigbee_host/
lib.rs

1#![doc = include_str!("../README.md")]
2
3#[cfg(feature = "host")]
4pub mod adapter;
5#[cfg(feature = "host")]
6pub mod any_adapter;
7#[cfg(feature = "host")]
8pub mod backup;
9#[cfg(feature = "host")]
10pub mod deconz_adapter;
11#[cfg(feature = "host")]
12pub mod device;
13#[cfg(feature = "host")]
14pub mod error;
15#[cfg(feature = "host")]
16pub mod ezsp_adapter;
17#[cfg(feature = "host")]
18mod host;
19#[cfg(feature = "host")]
20pub mod install_code;
21#[cfg(feature = "host")]
22pub mod interview;
23#[cfg(feature = "host")]
24pub mod ota;
25#[cfg(feature = "serial")]
26pub mod port;
27pub mod probe;
28#[cfg(feature = "host")]
29pub mod store;
30#[cfg(feature = "host")]
31pub mod topology;
32#[cfg(feature = "host")]
33pub mod znp_adapter;
34
35#[cfg(feature = "host")]
36pub use adapter::{
37    Adapter, AdapterEvent, AdapterInfo, Beacon, JoinPolicy, NetworkInfo, NetworkSettings,
38    StartMode, StartOutcome,
39};
40#[cfg(feature = "host")]
41pub use any_adapter::AnyAdapter;
42#[cfg(feature = "host")]
43pub use backup::Backup;
44#[cfg(feature = "host")]
45pub use deconz_adapter::DeconzAdapter;
46#[cfg(feature = "host")]
47pub use device::{Device, InterviewStage};
48#[cfg(feature = "host")]
49pub use error::HostError;
50#[cfg(feature = "host")]
51pub use ezsp_adapter::{random_network, EzspAdapter};
52#[cfg(feature = "host")]
53pub use host::{FrameLink, Host, HostConfig, HostEvent, OtaOffer, RawZcl, HOST_ENDPOINT};
54pub use probe::{NcpIdentity, NcpKind, ProbeError};
55#[cfg(feature = "host")]
56pub use znp_adapter::ZnpAdapter;
57
58// The repository README's Rust examples run as doctests, so they cannot rot.
59#[cfg(doctest)]
60#[doc = include_str!("../../../README.md")]
61struct ReadmeDoctests;