Functions

EmberStatus emberAfPluginWstkSensorsGetSample (uint32_t *rhData, int32_t *tData)
Reads a sample of the temperature and relative humidity values from the WSTK Si7013 sensors. More...

Detailed Description

See wstk-sensors.h for source code.

Function Documentation

EmberStatus emberAfPluginWstkSensorsGetSample ( uint32_t * rhData,
int32_t * tData
)

Reads a sample of the temperature and relative humidity values from the WSTK Si7013 sensors.

Parameters
rhData A pointer to a 32-bit unsigned integer where the relative humidity sample is written.
tData A pointer to a 32-bit signed integer where the temperature is written. Temperature is sampled in "millicelsius".
Returns
An EmberStatus value of EMBER_SUCCESS if the relative humidity and temperature sample were successfully read from the Si7013 sensors. Otherwise, an EmberStatus value of EMBER_ERR_FATAL .