sensor_unit_t

Sensor units on the device

Synopsis:

#include <sensor/sensor_api.h>
typedef enum {
    SENSOR_UNIT_1,
    SENSOR_UNIT_2,
    SENSOR_UNIT_3,
    SENSOR_UNIT_4,
    SENSOR_UNIT_5,
    SENSOR_UNIT_6,
    SENSOR_UNIT_7,
    SENSOR_UNIT_8,
    SENSOR_UNIT_9,
    SENSOR_UNIT_10,
    SENSOR_UNIT_11,
    SENSOR_UNIT_12,
    SENSOR_UNIT_13,
    SENSOR_UNIT_14,
    SENSOR_UNIT_15,
    SENSOR_UNIT_16,
    SENSOR_UNIT_17,
    SENSOR_UNIT_18,
    SENSOR_UNIT_19,
    SENSOR_UNIT_20,
    SENSOR_UNIT_21,
    SENSOR_UNIT_22,
    SENSOR_UNIT_23,
    SENSOR_UNIT_24,
    SENSOR_UNIT_25,
    SENSOR_UNIT_26,
    SENSOR_UNIT_27,
    SENSOR_UNIT_28,
    SENSOR_UNIT_29,
    SENSOR_UNIT_30,
    SENSOR_UNIT_31,
    SENSOR_UNIT_32,
    SENSOR_UNIT_33,
    SENSOR_UNIT_34,
    SENSOR_UNIT_35,
    SENSOR_UNIT_36,
    SENSOR_UNIT_37,
    SENSOR_UNIT_38,
    SENSOR_UNIT_39,
    SENSOR_UNIT_40,
    SENSOR_UNIT_41,
    SENSOR_UNIT_42,
    SENSOR_UNIT_43,
    SENSOR_UNIT_44,
    SENSOR_UNIT_45,
    SENSOR_UNIT_46,
    SENSOR_UNIT_47,
    SENSOR_UNIT_48,
    SENSOR_UNIT_49,
    SENSOR_UNIT_50,
    SENSOR_UNIT_51,
    SENSOR_UNIT_52,
    SENSOR_UNIT_53,
    SENSOR_UNIT_54,
    SENSOR_UNIT_55,
    SENSOR_UNIT_56,
    SENSOR_UNIT_57,
    SENSOR_UNIT_58,
    SENSOR_UNIT_59,
    SENSOR_UNIT_60,
    SENSOR_UNIT_61,
    SENSOR_UNIT_62,
    SENSOR_UNIT_63,
    SENSOR_UNIT_64
} sensor_unit_t;

Library:

libsensor

Description:

Each value in this enumeration represents the associated number of a sensor identified on the device. The sensor number is specified in the sensor configuration file.