pub const DEVICE_STATEMASK_ALL: u32 = 15u32;