pub type CoordinatorAddDeviceResult = Result<u64, i32>;