#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(unsafe_code)]
pub use self::api::{Client, Connection, Futures, Receive, TranslatableEvent, Transmit};
pub use self::commands::{
Binding, Bootloader, Cbke, Configuration, Ezsp, GetValueExt, GreenPower, Messaging, Mfglib,
Networking, ProxyTable, Security, SinkTable, TokenInterface, TrustCenter, Utilities, Wwah, Zll,
};
pub use self::communicate::Communicate;
pub use self::constants::{MAX_HEADER_SIZE, MIN_NON_LEGACY_VERSION};
pub use self::defragmentation::{Defragmented, DefragmentedMessage, Defragmenter};
pub use self::error::{Decode, Error, Status, ValueError};
pub use self::extensions::{ConfigurationExt, Displayable, PolicyExt};
pub use self::frame::{
Callback, CallbackType, Command, Commands, Extended, FormatVersion, Frame, Header, HighByte,
Legacy, LowByte, Parameters, Parsable, Response, SleepMode, parameters,
};
pub use self::ncp::{
BuildResult, Builder, Endpoint, EventHandler, InitializationParameters, MulticastOptions, Ncp,
NetworkCredentials, Scans, Startup,
};
pub use self::types::SourceRouteDiscoveryMode;
mod api;
#[cfg(feature = "apis-saltans")]
#[cfg_attr(docsrs, doc(cfg(feature = "apis-saltans")))]
pub mod apis_saltans;
mod commands;
mod communicate;
mod constants;
mod defragmentation;
pub mod ember;
mod error;
mod extensions;
pub mod ezsp;
mod frame;
mod ncp;
mod types;
pub type Result<T> = core::result::Result<T, Error>;