zigbee-core 0.1.0

Core Zigbee layers in `no-std` — NWK, APS, security and ZDO; the implementation behind the `zigbee` crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use zigbee_macros::impl_byte;
use zigbee_types::ByteArray;
use zigbee_types::IeeeAddress;

impl_byte! {
    #[tag(u8)]
    /// Request Key Command Frame
    /// Table 4-19
    #[derive(Debug, Clone, Copy, PartialEq, Eq)]
    pub enum RequestKey {
        #[tag_value = 0x02]
        ApplicationLinkKey(IeeeAddress),
        TrustCenterLinkKey = 0x04,
        #[fallback = true]
        Reserved(u8),
    }
}