sensor_interim_data_info_t

Information associated with a given instance of interim data

Synopsis:

#include <sensor/sensor_interim_data.h>
typedef struct sensor_interim_data_info_t {
    sensor_interim_data_unit_t unit;
    sensor_format_t format;
    uint32_t data_id;
    char name[SENSOR_NAME_LEN];
} sensor_interim_data_info_t;

Data:

sensor_interim_data_unit_t unit
The unit associated with this instance of interim data.
sensor_format_t format
The format of the interim data.
uint32_t data_id
For format of SENSOR_FORMAT_USER_DATA, this represents the user specified data identifier associated with this interim data.
char name[SENSOR_NAME_LEN]
The name associated with this instance of interim data.

Library:

libsensor

Description:

The information is retrieved when you call sensor_get_supported_interim_data().