Function xensiv_pas_gas_set_measurement_config(const xensiv_pas_gas_t *, xensiv_pas_gas_measurement_config_t)

Function Documentation

int32_t xensiv_pas_gas_set_measurement_config(const xensiv_pas_gas_t *dev, xensiv_pas_gas_measurement_config_t meas_config)

Sets the sensor device measurement configuration.

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

  • meas_config[in] New sensor device measurement configuration to apply

Returns:

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