#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(unsafe_code)]
#[cfg(feature = "ashv2")]
#[cfg_attr(docsrs, doc(cfg(feature = "ashv2")))]
pub use ashv2;
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, MAX_PARAMETER_SIZE, MIN_NON_LEGACY_VERSION};
pub use self::defragmentation::{Defragmented, DefragmentedMessage, Defragmenter};
pub use self::error::{Error, 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, StackResponse, Startup,
};
pub use self::transceiver::{
Connectable, Connection, Receive, Receiver, TranslatableEvent, Transmit, Transmitter,
};
pub use self::types::SourceRouteDiscoveryMode;
#[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 transceiver;
mod types;
#[cfg(feature = "ashv2")]
#[cfg_attr(docsrs, doc(cfg(feature = "ashv2")))]
pub mod uart;
pub type Result<T> = core::result::Result<T, Error>;