sensor_access_mode_t

Updated: April 19, 2023

Available access modes

Synopsis:

#include <sensor/sensor_api.h>
typedef enum {
    SENSOR_ACCESSMODE_DATA = 0
} sensor_access_mode_t;

Data:

SENSOR_ACCESSMODE_DATA
Access sensor data only.

The configuration can't be changed from what is set in the configuration file.

Library:

libsensor

Description:

These modes are useful when you call sensor_open().