supported_sensor_info_t

The information that's associated with a sensor

Synopsis:

#include <sensor/sensor_api.h>
typedef struct supported_sensor_info_t {
    sensor_unit_t unit;
    sensor_type_t type;
    char name[SENSOR_NAME_LEN];
} supported_sensor_info_t;

Data:

sensor_unit_t unit
The identifier for the sensor.
sensor_type_t type
The type of sensor.
char name[SENSOR_NAME_LEN]
The name of the sensor.

Library:

libsensor

Description:

This information is retrieved by calling sensor_get_supported_sensors().