sensor_anonymous_enum

Possible sensor events.

Synopsis:

#include <sys/platform.h>
#include <stdbool.h>
#include "bps/bps.h"
 
 enum {
      SENSOR_ACCELEROMETER_READING = 0x00   
      SENSOR_MAGNETOMETER_READING = 0x01   
      SENSOR_GYROSCOPE_READING = 0x02   
      SENSOR_AZIMUTH_PITCH_ROLL_READING = 0x03   
      SENSOR_ALTIMETER_READING = 0x04   
      SENSOR_TEMPERATURE_READING = 0x05   
      SENSOR_PROXIMITY_READING = 0x06   
      SENSOR_LIGHT_READING = 0x07   
      SENSOR_GRAVITY_READING = 0x08   
      SENSOR_LINEAR_ACCEL_READING = 0x09   
      SENSOR_ROTATION_VECTOR_READING = 0x0A   
      SENSOR_ROTATION_MATRIX_READING = 0x0B   
};

Data:

SENSOR_ACCELEROMETER_READING
SENSOR_MAGNETOMETER_READING
SENSOR_GYROSCOPE_READING
SENSOR_AZIMUTH_PITCH_ROLL_READING
SENSOR_ALTIMETER_READING
SENSOR_TEMPERATURE_READING
SENSOR_PROXIMITY_READING
SENSOR_LIGHT_READING
SENSOR_GRAVITY_READING
SENSOR_LINEAR_ACCEL_READING
SENSOR_ROTATION_VECTOR_READING
SENSOR_ROTATION_MATRIX_READING

Library:

libbps

Description:

This enumeration defines event codes for the different sensor events.