Arguments for the creation of an object based on the IPSO Sensor Base object instance. More...
Arguments for the creation of an object based on the IPSO Sensor Base object instance.
Definition at line 116 of file ipso_sensor_base.h.
#include <ipso_sensor_base.h>
Data Fields | |
int32_t | instance_id |
ID for the new instance. | |
char * | units |
Null-terminated string of the "Sensor Units" resource. | |
size_t | units_len |
Length of units. | |
int16_t | min_range_value |
Minimum value that can be measured by the sensor. | |
int16_t | max_range_value |
Maximum value that can be measured by the sensor. | |
void * | read_cb_arg |
Data to pass to the read callback. | |
lwm2m_obj_ipso_base_sensor_read_cb_t * | read_cb |
Callback to read the sensor value. | |
int32_t lwm2m_obj_ipso_sensor_base_args::instance_id |
ID for the new instance.
It must be between 0 and (UINT16_MAX - 1), if -1 the next available ID will be used.
Definition at line 117 of file ipso_sensor_base.h.
int16_t lwm2m_obj_ipso_sensor_base_args::max_range_value |
Maximum value that can be measured by the sensor.
Definition at line 122 of file ipso_sensor_base.h.
int16_t lwm2m_obj_ipso_sensor_base_args::min_range_value |
Minimum value that can be measured by the sensor.
Definition at line 121 of file ipso_sensor_base.h.
lwm2m_obj_ipso_base_sensor_read_cb_t* lwm2m_obj_ipso_sensor_base_args::read_cb |
void* lwm2m_obj_ipso_sensor_base_args::read_cb_arg |
char* lwm2m_obj_ipso_sensor_base_args::units |
Null-terminated string of the "Sensor Units" resource.
May be NULL.
Definition at line 119 of file ipso_sensor_base.h.
size_t lwm2m_obj_ipso_sensor_base_args::units_len |
Length of units.
Definition at line 120 of file ipso_sensor_base.h.