Function xensiv_pasco2_get_measurement_config(const xensiv_pasco2_t *, xensiv_pasco2_measurement_config_t *)

Function Documentation

int32_t xensiv_pasco2_get_measurement_config(const xensiv_pasco2_t *dev, xensiv_pasco2_measurement_config_t *meas_config)

Gets the sensor device measurement configuration.

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

  • meas_config[out] Pointer to populate with the sensor device measurement configuration

Returns

XENSIV_PASCO2_OK if getting the measurement configuration was successful; an error indicating what went wrong otherwise