pub type DeviceGetHardwareIdResult = Result<String, i32>;