Struct anjay_ipso_v2_basic_sensor_meta_struct
Defined in File ipso_objects_v2.h
Struct Documentation
-
struct anjay_ipso_v2_basic_sensor_meta_struct
IPSO basic sensor object instance metadata.
Public Members
-
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.
-
bool min_max_measured_value_present
Set to
trueto 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.
-
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.
-
const char *unit