| 
    anjay
    
   | 
 
#include <ipso_objects.h>
Data Fields | |
| const char * | unit | 
| void * | user_context | 
| double | min_range_value | 
| double | max_range_value | 
| anjay_ipso_basic_sensor_value_reader_t * | get_value | 
| anjay_ipso_basic_sensor_value_reader_t* get_value | 
User provided callback for reading the sensor value.
| double max_range_value | 
The maximum value that can be measured by the sensor.
If the value is NaN the resource won't be created.
| double min_range_value | 
The minimum value that can be measured by the sensor.
If the value is NaN the resource won't be created.
| const char* unit | 
Unit of the measured values.
The pointed string won't be copied, so user code must assure that the pointer will remain valid for the lifetime of the object.
| void* user_context | 
User context which will be passed to get_value callback.