anjay
|
#include <ipso_objects_v2.h>
Data Fields | |
const char * | unit |
bool | min_max_measured_value_present |
double | min_range_value |
double | max_range_value |
IPSO basic sensor object instance metadata.
double max_range_value |
The maximum value that can be measured by the sensor.
This value is optional; "Min Range Value" resource will not be created if this value is set to NaN.
bool min_max_measured_value_present |
Set to true
to enable "Min Measured Value", "Max Measured Value", and "Reset Min and Max Measured Values" resources.
double min_range_value |
The minimum value that can be measured by the sensor.
This value is optional; "Min Range Value" resource will not be created if this value is set to NaN.
const char* unit |
Unit of the measured values.
This value is optional; "Sensor Unit" resource will not be created if this value is set to NULL
.
The pointed string won't be copied, so user code must assure that the pointer will remain valid for the lifetime of the object.