Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
pack_loc_SLQSLOCInjectPosition_t Struct Reference

#include <loc.h>

Data Fields

double latitude
 
int has_latitude
 
double longitude
 
int has_longitude
 
float horUncCircular
 
int has_horUncCircular
 
uint8_t horConfidence
 
int has_horConfidence
 
uint32_t horReliability
 
int has_horReliability
 
float altitudeWrtEllipsoid
 
int has_altitudeWrtEllipsoid
 
float altitudeWrtMeanSeaLevel
 
int has_altitudeWrtMeanSeaLevel
 
float vertUnc
 
int has_vertUnc
 
uint8_t vertConfidence
 
int has_vertConfidence
 
uint32_t vertReliability
 
int has_vertRelicability
 
altSrcInfo_t altitudeSrcInfo
 
int has_altitudeSrcInfo
 
uint64_t timestampUtc
 
int has_timestampUtc
 
uint32_t timestampAge
 
int has_timestampAge
 
uint32_t positionSrc
 
int has_positionSrc
 
float rawHorUncCircular
 
int has_rawHorUncCircular
 
uint8_t rawHorConfidence
 
int has_rawHorConfidence
 

Detailed Description

This structure contains LOC Inject Position parameters Please check has_<Param_Name> field for presence of optional parameters

Parameters
latitude
  • Optional parameter
  • Type - Floating point
  • Units - Degrees
  • Range - -90.0 to 90.0
  • Positive values indicate northern latitude
  • Negative values indicate southern latitude
  • Note - This field must be specified together with pLongitude and pHorUncCircular.
longitude
  • Optional parameter
  • Type - Floating point
  • Units - Degrees
  • Range - -180.0 to 180.0
  • Positive values indicate eastern latitude
  • Negative values indicate western latitude
  • Note - This field must be specified together with pLatitude and pHorUncCircular.
horUncCircular
  • Optional parameter
  • Horizontal position uncertainty.
  • Units - Meters
  • Note - This field must be specified together with pLatitude and pLongitude.
horConfidence
  • Optional parameter
  • Horizontal confidence.
  • Units - Percent
  • Values
    • Valid Values - 1 to 99
    • Invalid Values - 0, 101 to 255
    • If 100 is received, reinterpret to 99
  • Note - This field must be specified together with horizontal uncertainty. If not specified when pHorUncCircular is set, the default value is 50.
horReliability
  • Optional parameter
    • 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
altitudeWrtEllipsoid
  • Optional parameter
  • Altitude With Respect to Ellipsoid.
  • Units - Meters
  • Values
    • Positive - height
    • Negative = depth
altitudeWrtMeanSeaLevel
  • Optional parameter
  • Altitude With Respect to Sea Level.
  • Units - Meters
vertUnc
  • Optional parameter
  • Vertical uncertainty.
  • Units - Meters
  • Note - This is mandatory if either pAltitudeWrtEllipsoid or pAltitudeWrtMeanSeaLevel is specified.
vertConfidence
  • Optional parameter
  • Vertical confidence.
  • Units - Percentage
  • Values
    • Valid Values - 0 to 99
    • Invalid Values - 0, 100-256
    • If 100 is received, reinterpret to 99
  • Note - This field must be specified together with the vertical uncertainty. If not specified, the default value will be 50.
vertReliability
  • Optional parameter
    • 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
altitudeSrcInfo
timestampUtc
  • Optional parameter
  • UTC timestamp
  • Units - Milliseconds since Jan. 1, 1970
timestampAge
  • Optional parameter
  • Position age, which is an estimate of how long ago this fix was made.
  • Units - Milliseconds
positionSrc
  • Optional parameter
  • Source from which this position was obtained
  • Valid values
    • 0 - Position source is GNSS
    • 1 - Position source is Cell ID
    • 2 - Position source is Enhanced Cell ID
    • 3 - Position source is Wi-Fi
    • 4 - Position source is Terrestrial
    • 5 - Position source is GNSS Terrestrial Hybrid
    • 6 - Other sources
  • Note - If altitude is specified and the altitude source is not specified, the engine assumes that the altitude was obtained using the specified position source.
    • If both altitude and altitude source are specified, the engine assumes that only latitude and longitude were obtained using the specified position source.
rawHorUncCircular
  • Optional parameter
  • Horizontal position uncertainty (circular) without any optimization.
  • Units - Meters
rawHorConfidence
  • Optional parameter
  • Horizontal confidence associated with raw horizontal uncertainty
  • Units: Percent
  • Values
    • Valid values - 1 to 99
    • Invalid values - 0, 101 to 255
    • If 100 is received, reinterpret to 99
  • Note - This field must be specified together with raw horizontal uncertainty. If not specified when rawHorUncCircular is set, the default value is 50.

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