supported_sensor_info_t
Information 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
- A sensor_unit_t value that identifies the sensor.
- sensor_type_t type
- A sensor_type_t value that indicates the sensor type.
- char name[SENSOR_NAME_LEN]
- The name of the sensor.
Library:
libsensorDescription:
The sensor information is retrieved by calling sensor_get_supported_sensors().
Page updated:
