sensor-info.h

sensor-info.h

BY 07 Oct 2016 Native Application Development

Can someone tell me what the enum values mean?

 

  1. typedef enum {
  2. SENSOR_UNIT_METRE_PER_SECOND_SQUARED,
  3. SENSOR_UNIT_MICRO_TESLA,
  4. SENSOR_UNIT_DEGREE,
  5. SENSOR_UNIT_LUX,
  6. SENSOR_UNIT_CENTIMETER,
  7. SENSOR_UNIT_DEGREE_PER_SECOND,
  8. SENSOR_UNIT_MAX
  9. } sensor_unit_e;

I’m considering writing an app that runs on the gear using the accelerometer but I need more than per second resolution for this to work…  The action is around 3 seconds total but I need a lot more samples than 3.

Written by