Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
pack_loc_SLQSLOCInjectSensorData_t Struct Reference

#include <loc.h>

Data Fields

int has_opaqueId
 
uint32_t opaqueId
 
int has_accleroData
 
sensorData_t acceleroData
 
int has_gyroData
 
sensorData_t gyroData
 
int has_acceleroTimeSrc
 
uint32_t acceleroTimeSrc
 
int has_gyroTimeSrc
 
uint32_t gyroTimeSrc
 
int has_accelTemp
 
tempData_t accelTemp
 
int has_gyroTemp
 
tempData_t gyroTemp
 

Detailed Description

This structure contains parameters to inject sensor data into the GNSS location engine Please check has_<Param_Name> field for presence of optional parameters

Parameters
opaqueId
  • Opaque Identifier (Optional parameter)
  • An opaque identifier that is sent in by the client that will be echoed in the indication so the client can relate the indication to the request.
acceleroData
  • 3-Axis Accelerometer Data (Optional parameter)
  • Pointer to struct sensorData. See sensorData_t for more information
gyroData
  • 3-Axis Cyroscope Data (Optional parameter)
  • Pointer to struct sensorData. See sensorData_t for more information
acceleroTimeSrc
  • 3-Axis Accelerometer Data Time Source (Optional parameter)
  • The location service uses this field to identify the time reference used in the accelerometer data time stamps.
  • If not specified, the location service assumes that the time source for the accelerometer data is unknown.
  • Valid values
    • 0 - Sensor time source is unspecified
    • 1 - Time source is common between the sensors and the location engine
gyroTimeSrc
  • 3-Axis Gyroscope Data Time Source (Optional)
  • The location service uses this field to identify the time reference used in the gyroscope data time stamps.
  • If not specified, the location service assumes that the time source for the gyroscope data is unknown.
  • Valid values
    • 0 - Sensor time source is unspecified
    • 1 - Time source is common between the sensors and the location engine
accelTemp
  • Accelerometer Temperature Data (Optional parameter)
  • Pointer to struct tempratureData. See tempData_t for more information
gyroTemp

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