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

Data Fields

uint32_t sessionStatus
 
uint8_t sessionId
 
uint64_t * pLatitude
 
uint64_t * pLongitude
 
uint32_t * pHorUncCircular
 
uint32_t * pHorUncEllipseSemiMinor
 
uint32_t * pHorUncEllipseSemiMajor
 
uint32_t * pHorUncEllipseOrientAzimuth
 
uint8_t * pHorConfidence
 
uint32_t * pHorReliability
 
uint32_t * pSpeedHorizontal
 
uint32_t * pSpeedUnc
 
uint32_t * pAltitudeWrtEllipsoid
 
uint32_t * pAltitudeWrtMeanSeaLevel
 
uint32_t * pVertUnc
 
uint8_t * pVertConfidence
 
uint32_t * pVertReliability
 
uint32_t * pSpeedVertical
 
uint32_t * pHeading
 
uint32_t * pHeadingUnc
 
uint32_t * pMagneticDeviation
 
uint32_t * pTechnologyMask
 
loc_precisionDilutionpPrecisionDilution
 
uint64_t * pTimestampUtc
 
uint8_t * pLeapSeconds
 
loc_gpsTimepGpsTime
 
uint32_t * pTimeUnc
 
uint32_t * pTimeSrc
 
loc_sensorDataUsagepSensorDataUsage
 
uint32_t * pFixId
 
loc_svUsedforFixpSvUsedforFix
 
uint8_t * pAltitudeAssumed
 
uint16_t Tlvresult
 
swi_uint256_t ParamPresenceMask
 

Detailed Description

This structure contains Event Position Report Indication unpack

Parameters
sessionStatus
  • Values
    • 0 - Session was successful
    • 1 - Session is still in progress; further position reports will be generated until either the fix criteria specified by the client are met or the client response timeout occurs.
    • 2 - Session failed..
    • 3 - Fix request failed because the session timed out.
    • 4 - Fix request failed because the session was ended by the user.
    • 5 - Fix request failed due to bad parameters in the request.
    • 6 - Fix request failed because the phone is offline.
    • 7 - Fix request failed because the engine is locked
  • Bit to check in ParamPresenceMask - 1
sessionId
  • ID of the session that was specified in the Start request
  • Range - 0 to 255
  • Bit to check in ParamPresenceMask - 2
pLatitude
  • Latitude (specified in WGS84 datum)
  • Type - Floating point
  • Units - Degrees
  • Range - -90.0 to 90.0
  • Positive values indicate northern latitude
  • Negative values indicate southern latitude
  • Bit to check in ParamPresenceMask - 16
pLongitude
  • Longitude (specified in WGS84 datum)
  • Type - Floating point
  • Units - Degrees
  • Range - -180.0 to 180.0
  • Positive values indicate eastern latitude
  • Negative values indicate western latitude
  • Bit to check in ParamPresenceMask - 17
pHorUncCircular
  • Horizontal position uncertainty.
  • Units - Meters
  • Bit to check in ParamPresenceMask - 18
pHorUncEllipseSemiMinor
  • Semi-minor axis of horizontal elliptical uncertainty.
  • Units - Meters
  • Bit to check in ParamPresenceMask - 19
pHorUncEllipseSemiMajor
  • Semi-major axis of horizontal elliptical uncertainty.
  • Units: Meters
  • Bit to check in ParamPresenceMask - 20
pHorUncEllipseOrientAzimuth
  • Elliptical horizontal uncertainty azimuth of orientation.
  • Units - Decimal degrees
  • Range - 0 to 180
  • Bit to check in ParamPresenceMask - 21
pHorConfidence
  • Horizontal uncertainty confidence.
  • If both elliptical and horizontal uncertainties are specified in this message, the confidence corresponds to the elliptical uncertainty.
  • Units - Percentage
  • Range 0-99
  • Bit to check in ParamPresenceMask - 22
pHorReliability
  • Values
    • 0 - Location reliability is not set.
    • 1 - Location reliability is very low; use it at your own risk
    • 2 - Location reliability is low; little or no cross-checking is possible.
    • 3 - Location reliability is medium; limited cross-check passed
    • 4 - Location reliability is high; strong cross-check passed
Parameters
pSpeedHorizontal
  • Horizontal speed.
  • Units - Meters/second
  • Bit to check in ParamPresenceMask - 24
pSpeedUnc
  • 3-D Speed uncertainty.
  • Units - Meters/second.
  • Bit to check in ParamPresenceMask - 25
pAltitudeWrtEllipsoid
  • Altitude With Respect to WGS84 Ellipsoid.
  • Units - Meters
  • Range -500 to 15883
  • Bit to check in ParamPresenceMask - 26
pAltitudeWrtMeanSeaLevel
  • Altitude With Respect to Sea Level.
  • Units - Meters
  • Bit to check in ParamPresenceMask - 27
pVertUnc
  • Vertical uncertainty.
  • Units - Meters
  • Bit to check in ParamPresenceMask - 28
pVertConfidence
  • Vertical uncertainty confidence.
  • Units - Percentage
  • Range 0 to 99
  • Bit to check in ParamPresenceMask - 29
pVertReliability
  • Values
    • 0 - Location reliability is not set.
    • 1 - Location reliability is very low; use it at your own risk.
    • 2 - Location reliability is low; little or no cross-checking is possible
    • 3 - Location reliability is medium; limited cross-check passed
    • 4 - Location reliability is high; strong cross-check passed
    • Bit to check in ParamPresenceMask - 30
pSpeedVertical
  • Vertical speed.
  • Units - Meters/second
  • Bit to check in ParamPresenceMask - 31
pHeading
  • Heading.
  • Units - Degree
  • Range 0 to 359.999
  • Bit to check in ParamPresenceMask - 32
pHeadingUnc
  • Heading uncertainty.
  • Units - Degree
  • Range 0 to 359.999
  • Bit to check in ParamPresenceMask - 33
pMagneticDeviation
  • Difference between the bearing to true north and the bearing shown on a magnetic compass. The deviation is positive when the magnetic north is east of true north.
  • Bit to check in ParamPresenceMask - 34
pTechnologyMask
  • Values
    • 0x00000001 - Satellites were used to generate the fix
    • 0x00000002 - Cell towers were used to generate the fix
    • 0x00000004 - Wi-Fi access points were used to generate the fix
    • 0x00000008 - Sensors were used to generate the fix
    • 0x00000010 - Reference Location was used to generate the fix
    • 0x00000020 - Coarse position injected into the location engine was used to generate the fix
    • 0x00000040 - AFLT was used to generate the fix
    • 0x00000080 - GNSS and network-provided measurements were used to generate the fix
  • Bit to check in ParamPresenceMask - 35
pPrecisionDilution
pTimestampUtc
  • UTC timestamp
  • Units - Milliseconds since Jan. 1, 1970
  • Bit to check in ParamPresenceMask - 37
pLeapSeconds
  • Leap second information. If leapSeconds is not available, timestampUtc is calculated based on a hard-coded value for leap seconds.
  • Units - Seconds
  • Bit to check in ParamPresenceMask - 38
pGpsTime
  • See loc_gpsTime for more information
  • Bit to check in ParamPresenceMask - 39
pTimeUnc
  • Time uncertainty.
  • Units - Milliseconds
  • Bit to check in ParamPresenceMask - 40
pTimeSrc
  • Values
    • 0 - Invalid time.
    • 1 - Time is set by the 1X system.
    • 2 - Time is set by WCDMA/GSM time tagging.
    • 3 - Time is set by an external injection.
    • 4 - Time is set after decoding over-the-air GPS navigation data from one GPS satellite.
    • 5 - Time is set after decoding over-the-air GPS navigation data from multiple satellites.
    • 6 - Both time of the week and the GPS week number are known.
    • 7 - Time is set by the position engine after the fix is obtained
    • 8 - Time is set by the position engine after performing SFT, this is done when the clock time uncertainty is large.
    • 9 - Time is set after decoding GLO satellites.
    • 10- Time is set after transforming the GPS to GLO time
    • 11- Time is set by the sleep time tag provided by the WCDMA network.
    • 12- Time is set by the sleep time tag provided by the GSM network
    • 13- Source of the time is unknown
    • 14- Time is derived from the system clock (better known as the slow clock); GNSS time is maintained irrespective of the GNSS receiver state
    • 15- Time is set after decoding QZSS satellites.
    • 16- Time is set after decoding BDS satellites.
Parameters
pSensorDataUsage
pFixId
  • Fix count for the session. Starts with 0 and increments by one for each successive position report for a particular session.
  • Bit to check in ParamPresenceMask - 43
pSvUsedforFix
  • See loc_svUsedforFix for more information
  • Bit to check in ParamPresenceMask - 44
pAltitudeAssumed
  • Indicates whether altitude is assumed or calculated.
  • Value
    • 0x00 - Altitude is calculated
    • 0x01 - Altitude is assumed
  • Bit to check in ParamPresenceMask - 45

Field Documentation

uint8_t* unpack_loc_PositionRpt_Ind_t::pAltitudeAssumed
uint32_t* unpack_loc_PositionRpt_Ind_t::pAltitudeWrtEllipsoid
uint32_t* unpack_loc_PositionRpt_Ind_t::pAltitudeWrtMeanSeaLevel
swi_uint256_t unpack_loc_PositionRpt_Ind_t::ParamPresenceMask
uint32_t* unpack_loc_PositionRpt_Ind_t::pFixId
loc_gpsTime* unpack_loc_PositionRpt_Ind_t::pGpsTime
uint32_t* unpack_loc_PositionRpt_Ind_t::pHeading
uint32_t* unpack_loc_PositionRpt_Ind_t::pHeadingUnc
uint8_t* unpack_loc_PositionRpt_Ind_t::pHorConfidence
uint32_t* unpack_loc_PositionRpt_Ind_t::pHorReliability
uint32_t* unpack_loc_PositionRpt_Ind_t::pHorUncCircular
uint32_t* unpack_loc_PositionRpt_Ind_t::pHorUncEllipseOrientAzimuth
uint32_t* unpack_loc_PositionRpt_Ind_t::pHorUncEllipseSemiMajor
uint32_t* unpack_loc_PositionRpt_Ind_t::pHorUncEllipseSemiMinor
uint64_t* unpack_loc_PositionRpt_Ind_t::pLatitude
uint8_t* unpack_loc_PositionRpt_Ind_t::pLeapSeconds
uint64_t* unpack_loc_PositionRpt_Ind_t::pLongitude
uint32_t* unpack_loc_PositionRpt_Ind_t::pMagneticDeviation
loc_precisionDilution* unpack_loc_PositionRpt_Ind_t::pPrecisionDilution
loc_sensorDataUsage* unpack_loc_PositionRpt_Ind_t::pSensorDataUsage
uint32_t* unpack_loc_PositionRpt_Ind_t::pSpeedHorizontal
uint32_t* unpack_loc_PositionRpt_Ind_t::pSpeedUnc
uint32_t* unpack_loc_PositionRpt_Ind_t::pSpeedVertical
loc_svUsedforFix* unpack_loc_PositionRpt_Ind_t::pSvUsedforFix
uint32_t* unpack_loc_PositionRpt_Ind_t::pTechnologyMask
uint32_t* unpack_loc_PositionRpt_Ind_t::pTimeSrc
uint64_t* unpack_loc_PositionRpt_Ind_t::pTimestampUtc
uint32_t* unpack_loc_PositionRpt_Ind_t::pTimeUnc
uint8_t* unpack_loc_PositionRpt_Ind_t::pVertConfidence
uint32_t* unpack_loc_PositionRpt_Ind_t::pVertReliability
uint32_t* unpack_loc_PositionRpt_Ind_t::pVertUnc
uint8_t unpack_loc_PositionRpt_Ind_t::sessionId
uint32_t unpack_loc_PositionRpt_Ind_t::sessionStatus
uint16_t unpack_loc_PositionRpt_Ind_t::Tlvresult

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