Skip to main content

zwave_serial/
lib.rs

1#![doc = include_str!("../README.md")]
2#![forbid(unsafe_code)]
3#![warn(missing_docs)]
4
5pub mod driver;
6pub mod frame;
7pub mod function;
8pub mod message;
9pub mod port;
10pub mod probe;
11
12pub use driver::{Config, Exchange, Request, SerialApi, SerialError};
13pub use frame::{DataFrame, Frame, FrameType};
14pub use function::FunctionId;
15pub use probe::{probe, probe_blocking, ControllerIdentity, Series};
16
17/// A node id. Classic Z-Wave uses 1 to 232; Long Range uses 256 to 4000.
18pub type NodeId = u16;