apis-saltans-aps 0.7.1

Zigbee APS library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use num_enum::{IntoPrimitive, TryFromPrimitive};

/// Zigbee broadcast addresses.
#[derive(Clone, Copy, Debug, Eq, Hash, IntoPrimitive, PartialEq, TryFromPrimitive)]
#[repr(u16)]
pub enum Broadcast {
    /// All devices, including end devices, on the network.
    Universal = 0xFFFF,

    /// All routers and coordinators on the network.
    RoutersAndCoordinators = 0xFFFE,

    /// All devices which are not asleep.
    ActiveDevices = 0xFFFD,
}