Describes a single device sensor reading.
More...
|
okEDeviceSensorType | type |
| Sensor type (e.g. okDEVICESENSOR_VOLTAGE)
|
|
char | name [OK_MAX_DEVICE_SENSOR_NAME_LENGTH] |
| NULL-terminated sensor name up to OK_MAX_DEVICE_SENSOR_NAME_LENGTH.
|
|
char | description [OK_MAX_DEVICE_SENSOR_DESCRIPTION_LENGTH] |
| NULL-terminated sensor description up to OK_MAX_DEVICE_SENSOR_DESCRIPTION_LENGTH.
|
|
double | min |
| Minimum reading (for applicable sensors)
|
|
double | max |
| Maximum reading (for applicable sensors)
|
|
double | step |
| Step size, indicating sensor resolution.
|
|
double | value |
| Sensor value.
|
|
This structure encapsulates a single Device Sensor reading. Each time sensors are captured, all such sensor readings are available in the okCDeviceSensors class.