Function xensiv_pasco2_cmd(const xensiv_pasco2_t *, xensiv_pasco2_cmd_t)¶
Defined in File xensiv_pasco2.h
Function Documentation¶
-
int32_t xensiv_pasco2_cmd(const xensiv_pasco2_t *dev, xensiv_pasco2_cmd_t cmd)¶
Triggers a sensor device command.
- Parameters
dev – [in] Pointer to the XENSIV™ PAS CO2 sensor device
cmd – [in] Command to trigger
- Returns
XENSIV_PASCO2_OK if triggering the command was successful; an error indicating what went wrong otherwise