anjay
Loading...
Searching...
No Matches
anjay_ipso_v2_basic_sensor_meta_struct Struct Reference

#include <ipso_objects_v2.h>

Data Fields

const char * unit
 
bool min_max_measured_value_present
 
double min_range_value
 
double max_range_value
 

Detailed Description

Experimental:
This is experimental IPSO object v2 API. This API can change in future versions without any notice.

IPSO basic sensor object instance metadata.

Field Documentation

◆ max_range_value

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.

◆ min_max_measured_value_present

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.

◆ min_range_value

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.

◆ unit

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.


The documentation for this struct was generated from the following file: