Function xensiv_pas_gas_get_status(const xensiv_pas_gas_t *, xensiv_pas_gas_status_t *)

Function Documentation

int32_t xensiv_pas_gas_get_status(const xensiv_pas_gas_t *dev, xensiv_pas_gas_status_t *status)

Gets the sensor device status.

Parameters:
  • dev[in] Pointer to the XENSIV™ PAS GAS sensor device

  • status[out] Pointer to populate with the sensor device status

Returns:

XENSIV_PAS_GAS_OK if reading the device status was successful; an error indicating what went wrong otherwise