MT2523 API Reference  LinkIt SDK v4
sensor_data_unit_t Struct Reference

Timstamped sensor event data. More...

#include <sensor_alg_interface.h>

Data Fields

uint32_t sensor_type
 Sensor type. More...
 
uint32_t time_stamp
 Timestamp. More...
 
union {
   union {
      sensor_vec_t   accelerometer_t
 Accelerometer sensor event data. More...
 
      sensor_vec_t   gyroscope_t
 Gyroscope sensor event data. More...
 
      sensor_vec_t   magnetic_t
 Magnetic field sensor event data. More...
 
      sensor_vec_t   orientation_t
 Orientation sensor event data. More...
 
      sensor_vec_t   pdr_event
 PDR sensor event data. More...
 
      int32_t   light
 Light sensor event data. More...
 
      int32_t   distance
 Proximity sensor event data. More...
 
      sensor_pressure_vec_t   pressure_t
 Pressure sensor event data. More...
 
      sensor_relative_humidity_vec_t   relative_humidity_t
 Relative humidity sensor event data. More...
 
      sensor_uncalibrated_event_t   uncalibrated_acc_t
 Uncalibrated accelerometer sensor event data. More...
 
      sensor_uncalibrated_event_t   uncalibrated_mag_t
 Uncalibrated magnetic field sensor event data. More...
 
      sensor_uncalibrated_event_t   uncalibrated_gyro_t
 Uncalibrated gyroscope sensor event data. More...
 
      sensor_pedometer_event_t   pedometer_t
 Pedometer sensor event data. More...
 
      sensor_heart_rate_event_t   heart_rate_t
 Heart rate sensor event data. More...
 
      sensor_heart_rate_variability_event_t   heart_rate_variability_t
 Heart rate sensor event data. More...
 
      sensor_blood_pressure_event_t   blood_pressure_t
 Blood pressure sensor event data. More...
 
      sensor_sleepmonitor_event_t   sleep_data_t
 Sleep monitor sensor event data. More...
 
      sensor_activity_t   activity_data_t
 Activity recognition sensor event data. More...
 
      sensor_gesture_t   gesture_data_t
 Gesture detection sensor event data. More...
 
      sensor_fall_t   fall_data_t
 Fall detection sensor event data. More...
 
      sensor_bio_t   bio_data
 Biosensor event data. More...
 
      int32_t   value [16]
 The values of augmented sensor data. More...
 
   } 
 
   union {
      uint64_t   data [8]
 The values of augmented sensor data in 64-bit units. More...
 
      uint64_t   step_counter
 The number of steps taken. More...
 
   } 
 
}; 
 

Detailed Description

Timstamped sensor event data.

Field Documentation

sensor_vec_t accelerometer_t

Accelerometer sensor event data.

sensor_activity_t activity_data_t

Activity recognition sensor event data.

sensor_bio_t bio_data

Biosensor event data.

Blood pressure sensor event data.

uint64_t data[8]

The values of augmented sensor data in 64-bit units.

int32_t distance

Proximity sensor event data.

sensor_fall_t fall_data_t

Fall detection sensor event data.

sensor_gesture_t gesture_data_t

Gesture detection sensor event data.

sensor_vec_t gyroscope_t

Gyroscope sensor event data.

Heart rate sensor event data.

sensor_heart_rate_variability_event_t heart_rate_variability_t

Heart rate sensor event data.

int32_t light

Light sensor event data.

sensor_vec_t magnetic_t

Magnetic field sensor event data.

sensor_vec_t orientation_t

Orientation sensor event data.

sensor_vec_t pdr_event

PDR sensor event data.

Pedometer sensor event data.

Pressure sensor event data.

sensor_relative_humidity_vec_t relative_humidity_t

Relative humidity sensor event data.

uint32_t sensor_type

Sensor type.

Sleep monitor sensor event data.

uint64_t step_counter

The number of steps taken.

uint32_t time_stamp

Timestamp.

sensor_uncalibrated_event_t uncalibrated_acc_t

Uncalibrated accelerometer sensor event data.

sensor_uncalibrated_event_t uncalibrated_gyro_t

Uncalibrated gyroscope sensor event data.

sensor_uncalibrated_event_t uncalibrated_mag_t

Uncalibrated magnetic field sensor event data.

int32_t value[16]

The values of augmented sensor data.


The documentation for this struct was generated from the following file: