Function xensiv_pas_gas_r290_get_device_id(const xensiv_pas_gas_t *, void *)

Function Documentation

int32_t xensiv_pas_gas_r290_get_device_id(const xensiv_pas_gas_t *dev, void *dev_id)

Reads the device ID of the XENSIV™ PAS GAS R290 sensor.

Parameters:
  • dev[in] Pointer to a XENSIV™ PAS GAS R290 sensor device structure

  • dev_id[out] Pointer to a buffer to store the device ID

Returns:

XENSIV_PAS_GAS_OK if the read was successful; an error indicating what went wrong otherwise