sensor_metadata_limits_t

Limit values for a metadata type supported by a sensor

Synopsis:

#include <sensor/sensor_api.h>
typedef struct sensor_metadata_limits_t {
    bool metadata_supported;
    union {
        sensor_speed_metadata_limits_t speed;
        sensor_speed_yaw_metadata_limits_t speed_yaw;
        uint8_t reserved[5];
    };
} sensor_metadata_limits_t;

Data:

bool metadata_supported
Whether the metadata type is supported by the sensor.
union
Sensor metadata limits, when the sensor supports the metadata type (see sensor_speed_metadata_limits_t and sensor_speed_yaw_metadata_limits_t).

Library:

libsensor

Description:

A data structure of this type is filled in by sensor_get_metadata_limits().