LinuxQMISDK-Lite  SLQS04.00.23
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sensorData_t Struct Reference

Data Fields

uint32_t timeOfFirstSample
 
uint8_t flags
 
uint8_t sensorDataLen
 
uint16_t timeOffset [64]
 
uint32_t xAxis [64]
 
uint32_t yAxis [64]
 
uint32_t zAxis [64]
 

Detailed Description

This structure specifies information regarding the 3-Axis Sensor Data. Please check has_<Param_Name> field for presence of optional parameters

Parameters
timeOfFirstSample
  • Denotes a full 32-bit time stamp of the first (oldest) sample in this message.
  • The time stamp is in the time reference scale that is used by the sensor time source.
  • Units - Milliseconds
flags
  • Flags to indicate any deviation from the default measurement assumptions.
  • All unused bits in this field must be set to 0.
  • Valid bitmasks
    • 0x01 - Bitmask to specify that a sign reversal is required while interpreting the sensor data; only applies to the accelerometer samples
    • 0x02 - Bitmask to specify that the sensor time stamp is the same as the modem time stamp
sensorDataLen
  • Number of sets of the following elements
    • timeOffset
    • xAxis
    • yAxis
    • zAxis
timeOffset
  • Sample time offset
  • Units - Milliseconds
xAxis
  • Sensor x-axis sample.
  • Units Accelerometer - Meters/seconds square
  • Units Gyroscope - Radians/second
yAxis
  • Sensor Y-axis sample.
  • Units Accelerometer - Meters/seconds square
  • Units Gyroscope - Radians/second
xAxis
  • Sensor Z-axis sample.
  • Units Accelerometer - Meters/seconds square
  • Units Gyroscope - Radians/second

Field Documentation

uint8_t sensorData_t::flags
uint8_t sensorData_t::sensorDataLen
uint32_t sensorData_t::timeOfFirstSample
uint16_t sensorData_t::timeOffset[64]
uint32_t sensorData_t::xAxis[64]
uint32_t sensorData_t::yAxis[64]
uint32_t sensorData_t::zAxis[64]

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved