#include <sensor.h>
Data Fields | |
int32_t | version |
int32_t | sensor |
int32_t | type |
int32_t | reserved0 |
int64_t | timestamp |
union { | |
union { | |
float data [16] | |
ASensorVector vector | |
ASensorVector acceleration | |
ASensorVector magnetic | |
float temperature | |
float distance | |
float light | |
float pressure | |
float relative_humidity | |
AUncalibratedEvent uncalibrated_gyro | |
AUncalibratedEvent uncalibrated_magnetic | |
AMetaDataEvent meta_data | |
AHeartRateEvent heart_rate | |
} | |
union { | |
uint64_t data [8] | |
uint64_t step_counter | |
} u64 | |
}; | |
uint32_t | flags |
int32_t | reserved1 [3] |
union { ... } |
ASensorVector acceleration |
float data[16] |
uint64_t data[8] |
float distance |
uint32_t flags |
AHeartRateEvent heart_rate |
float light |
ASensorVector magnetic |
AMetaDataEvent meta_data |
float pressure |
float relative_humidity |
int32_t reserved0 |
int32_t reserved1[3] |
int32_t sensor |
uint64_t step_counter |
float temperature |
int64_t timestamp |
int32_t type |
union { ... } u64 |
AUncalibratedEvent uncalibrated_gyro |
AUncalibratedEvent uncalibrated_magnetic |
ASensorVector vector |
int32_t version |