zigbee-core 0.1.0

Core Zigbee layers in `no-std` — NWK, APS, security and ZDO; the implementation behind the `zigbee` crate
Documentation
/// zigbee configuration
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub struct Config {
    /// The radio channel to operate on
    pub radio_channel: u8,
    /// Discovery type
    pub device_discovery_type: DiscoveryType,
    /// The device class
    pub device_type: crate::apl::descriptors::node_descriptor::LogicalType,
}

/// Discovery Type
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub enum DiscoveryType {
    #[default]
    /// The IEEE address request is unicast to a particular device and assumes
    /// the NWK address is known.
    IEEE,
    /// The NWK address request is broadcast and carries the known IEEE address
    /// as data payload.
    NWK,
}