libpack  SLQS03.03.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sensorData Struct Reference

Data Fields

ULONG timeOfFirstSample
 
BYTE flags
 
BYTE sensorDataLen
 
WORD timeOffset [64]
 
ULONG xAxis [64]
 
ULONG yAxis [64]
 
ULONG zAxis [64]
 

Detailed Description

This structure specifies information regarding the 3-Axis Sensor Data.

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

BYTE sensorData::flags
BYTE sensorData::sensorDataLen
ULONG sensorData::timeOfFirstSample
WORD sensorData::timeOffset[64]
ULONG sensorData::xAxis[64]
ULONG sensorData::yAxis[64]
ULONG sensorData::zAxis[64]

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