Function xensiv_pasco2_get_status(const xensiv_pasco2_t *, xensiv_pasco2_status_t *)¶
Defined in File xensiv_pasco2.h
Function Documentation¶
-
int32_t xensiv_pasco2_get_status(const xensiv_pasco2_t *dev, xensiv_pasco2_status_t *status)¶
Gets the sensor device status.
- Parameters
dev – [in] Pointer to the XENSIV™ PAS CO2 sensor device
status – [out] Pointer to populate with the sensor device status
- Returns
XENSIV_PASCO2_OK if reading the device status was successful; an error indicating what went wrong otherwise