Function xensiv_pas_gas_get_measurement_config(const xensiv_pas_gas_t *, xensiv_pas_gas_measurement_config_t *)

Function Documentation

int32_t xensiv_pas_gas_get_measurement_config(const xensiv_pas_gas_t *dev, xensiv_pas_gas_measurement_config_t *meas_config)

Gets the sensor device measurement configuration.

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

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

Returns:

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