Updated: October 28, 2024 |
Information associated with a sensor
#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;
The sensor information is retrieved by calling sensor_get_supported_sensors().