Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
tempData_t Struct Reference

#include <loc.h>

Data Fields

uint32_t timeSource
 
uint32_t timeOfFirstSample
 
uint8_t temperatureDataLen
 
uint16_t timeOffset [MAX_TEMP_DATA_LEN]
 
uint32_t temperature [MAX_TEMP_DATA_LEN]
 

Detailed Description

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

Parameters
timeSource
  • Time source of the sensor data
  • Valid values
    • 0 - Sensor time source is unspecified
    • 1 - Time source is common between the sensors and the location engine
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
temperatureDataLen
  • Number of sets of the following elements
    • timeOffset
    • temperature
timeOffset
  • Sample time offset
  • Units - Milliseconds
temperature
  • Sensor temperature.
  • Type - Floating point
  • Units - Degrees Celsius
  • Range -50 to +100.00

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