Function xensiv_pas_gas_cmd(const xensiv_pas_gas_t *, xensiv_pas_gas_cmd_t)
Defined in File xensiv_pas_gas.h
Function Documentation
-
int32_t xensiv_pas_gas_cmd(const xensiv_pas_gas_t *dev, xensiv_pas_gas_cmd_t cmd)
Triggers a sensor device command.
- Parameters:
dev – [in] Pointer to the XENSIV™ PAS GAS sensor device
cmd – [in] Command to trigger
- Returns:
XENSIV_PAS_GAS_OK if triggering the command was successful; an error indicating what went wrong otherwise