Struct anjay_ipso_3d_sensor_impl_struct

Struct Documentation

struct anjay_ipso_3d_sensor_impl_struct

Public Members

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.

bool use_y_value

Enables usage of the optional Y axis.

bool use_z_value

Enables usage of the optional Z axis.

void *user_context

User context which will be passed to get_values callback.

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.

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.

anjay_ipso_3d_sensor_value_reader_t *get_values

User provided callback for reading the sensor value.