pub type DeviceQueryResult = Result<DeviceQueryResponse, i32>;