Snapdragon® Telematics Application Framework (TelAF) Interface Specification
|
Go to the source code of this file.
le_msg_ServiceRef_t taf_locGnss_GetServiceRef | ( | void | ) |
Get the server service reference
le_msg_SessionRef_t taf_locGnss_GetClientSessionRef | ( | void | ) |
Get the client session reference for the current message
void taf_locGnss_AdvertiseService | ( | void | ) |
Initialize the server and advertise the service.
taf_locGnss_PositionHandlerRef_t taf_locGnss_AddPositionHandler | ( | taf_locGnss_PositionHandlerFunc_t | handlerPtr, |
void * | contextPtr | ||
) |
GNSS position sample reference type. Location service states. GNSS constellation type. GNSS secondary band constellation types. GNSS fix position states. GNSS altitude types. Satellite Vehicle information. Specify Location Capabilities Type. Specifies the set of engines Handler for position information. Reference type used by Add/Remove functions for EVENT 'taf_locGnss_Position' Handler for location capability event notification. Reference type used by Add/Remove functions for EVENT 'taf_locGnss_CapabilityChange' Resolutions values. GNSS constellation bitmask used to configure constellations. Dilution of precision type. GNSS constellationArea. Engine states. Engine types. NMEA sentences bitmask indicating the NMEA sentence types enabled.
The supported NMEA sentence types depend on the platform.
The bitmask values should be coherent with TAF_LOCGNSS_NMEA_SENTENCES_MAX Specify the geodetic datum for NMEA sentence types that are generated. Type of GNSS start. Type of lever arm. Type of engine. Status of the calibration. Type of kinematics data validity. Type of SBAS correction. Validity of location information. Validity of extended location information. Type of positioning engine. Type of location engine. Reliability of the horizontal and vertical positions. Type of location technology. Specify the GnssDataValidityType mask. Specify the different types of constellation supported.Specify GNSS signal type and RF Band used in struct GnssMeasurementInfo and ISVInfo class. Specify the status of the report. Specify the status of the previously downloaded XTRA data. Specify the valid mask for the configuration parameters of dead reckoning position engine. Dead reckoning configuration parameters. Lever arm configuration parameters. Kinematics related information related to device body frame parameters. Set of SVs that are used to calculate position.Specify the satellite vehicle measurements that are used to calculate location in taf_locGnss_GetMeasurementUsageInfo. Jammer and AGC GNSS Data parameters. Handler for NMEA event notification. Reference type used by Add/Remove functions for EVENT 'taf_locGnss_Nmea' Add handler function for EVENT 'taf_locGnss_Position'
This event provides information on position.
Add handler function for EVENT 'taf_locGnss_Position'
This event provides information on position.
[in] | handlerPtr | |
[in] | contextPtr |
void taf_locGnss_RemovePositionHandler | ( | taf_locGnss_PositionHandlerRef_t | handlerRef | ) |
Remove handler function for EVENT 'taf_locGnss_Position'
[in] | handlerRef |
taf_locGnss_CapabilityChangeHandlerRef_t taf_locGnss_AddCapabilityChangeHandler | ( | taf_locGnss_CapabilityChangeHandlerFunc_t | handlerPtr, |
void * | contextPtr | ||
) |
Add handler function for EVENT 'taf_locGnss_CapabilityChange'
This event provides information on location capability.
[in] | handlerPtr | Capability change handler. |
[in] | contextPtr |
void taf_locGnss_RemoveCapabilityChangeHandler | ( | taf_locGnss_CapabilityChangeHandlerRef_t | handlerRef | ) |
Remove handler function for EVENT 'taf_locGnss_CapabilityChange'
[in] | handlerRef |
taf_locGnss_SampleRef_t taf_locGnss_GetLastSampleRef | ( | void | ) |
Gets the last updated position sample object reference.
le_result_t taf_locGnss_GetPositionState | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
taf_locGnss_FixState_t * | statePtr | ||
) |
Gets the position sample's fix state per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | statePtr | Position fix state. |
void taf_locGnss_ReleaseSampleRef | ( | taf_locGnss_SampleRef_t | positionSampleRef | ) |
Releases the position sample per client session.
[in] | positionSampleRef | Position sample reference. |
le_result_t taf_locGnss_GetLocation | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
int32_t * | latitudePtr, | ||
int32_t * | longitudePtr, | ||
int32_t * | hAccuracyPtr | ||
) |
Gets the location data (latitude, longitude, horizontal accuracy) per client session.
[in] | positionSampleRef | Position sample reference |
[out] | latitudePtr | WGS84 latitude in degrees with 6 decimal places. |
[out] | longitudePtr | WGS84 longitude in degrees with 6 decimal places. |
[out] | hAccuracyPtr | Horizontal accuracy in cm. Uncertainty is defined with 68% |
le_result_t taf_locGnss_GetDirection | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint32_t * | directionPtr, | ||
uint32_t * | directionAccuracyPtr | ||
) |
Gets the position sample direction as per client session. Direction of movement is the direction that the vehicle or person is actually moving.
[in] | positionSampleRef | Position sample reference. |
[out] | directionPtr | Direction in degrees with 1 decimal place. |
[out] | directionAccuracyPtr | Direction accuracy estimation in degrees with 1 decimal place. |
le_result_t taf_locGnss_GetAltitude | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
int32_t * | altitudePtr, | ||
int32_t * | vAccuracyPtr | ||
) |
Gets the position sample's altitude per client session.
[in] | positionSampleRef | Position sample reference |
[out] | altitudePtr | Altitude in mm above the WGS 84 reference ellipsoid. |
[out] | vAccuracyPtr | Vertical uncertainty in dm. Uncertainty is defined with 68% confidence level. |
le_result_t taf_locGnss_GetHorizontalSpeed | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint32_t * | hspeedPtr, | ||
uint32_t * | hspeedAccuracyPtr | ||
) |
Gets the position sample's horizontal speed per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | hspeedPtr | Horizontal speed in cm/s. |
[out] | hspeedAccuracyPtr | Horizontal accuracy estimation in dm/sec. |
le_result_t taf_locGnss_GetVerticalSpeed | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
int32_t * | vspeedPtr, | ||
int32_t * | vspeedAccuracyPtr | ||
) |
Gets the position sample's vertical speed per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | vspeedPtr | Vertical speed in cm/sec. |
[out] | vspeedAccuracyPtr | Vertical speed's accuracy estimation in dm/sec. |
le_result_t taf_locGnss_GetGpsLeapSeconds | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint8_t * | leapSecondsPtr | ||
) |
Gets the position sample's UTC leap seconds in advance per client session.
This function is deprecated; le_gnss_GetLeapSeconds should be used instead.
[in] | positionSampleRef | Position sample reference. |
[out] | leapSecondsPtr | UTC leap seconds in seconds. |
le_result_t taf_locGnss_GetDate | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint16_t * | yearPtr, | ||
uint16_t * | monthPtr, | ||
uint16_t * | dayPtr | ||
) |
Gets the position sample's date per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | yearPtr | UTC year A.D., e.g., 2022. |
[out] | monthPtr | UTC month of the year; range is 1 to 12. |
[out] | dayPtr | UTC days of the month; range is 1 to 31. |
le_result_t taf_locGnss_GetTime | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint16_t * | hoursPtr, | ||
uint16_t * | minutesPtr, | ||
uint16_t * | secondsPtr, | ||
uint16_t * | millisecondsPtr | ||
) |
Gets the position sample's time per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | hoursPtr | UTC hours of the day; range is 0 to 23. |
[out] | minutesPtr | UTC minutes of the hour; range is 0 to 59. |
[out] | secondsPtr | UTC seconds of the minute; range is 0 to 59. |
[out] | millisecondsPtr | UTC milliseconds of the second; range is 0 to 999. |
le_result_t taf_locGnss_Enable | ( | void | ) |
Enables the Location service with GNSS state per client session.
le_result_t taf_locGnss_Start | ( | void | ) |
Starts a GNSS session by triggering engine reports to receive the fixes as per client.
le_result_t taf_locGnss_Disable | ( | void | ) |
Disables the Location service with GNSS state per client session.
le_result_t taf_locGnss_Stop | ( | void | ) |
Stops a GNSS session from receiving fixes per client.
le_result_t taf_locGnss_SetConstellation | ( | taf_locGnss_ConstellationBitMask_t | blackListConstellationMask | ) |
Sets the GNSS constellation bitmask that needs to be blacklisted per client session.
[in] | blackListConstellationMask | Bitmask of constellation that needs to be blacklisted. |
le_result_t taf_locGnss_GetConstellation | ( | taf_locGnss_ConstellationBitMask_t * | blackListConstellationMaskPtr | ) |
Gets the GNSS constellation bitmask which are blacklisted per client session.
[out] | blackListConstellationMaskPtr | Bitmask of constellation that are blacklisted. |
taf_locGnss_NmeaHandlerRef_t taf_locGnss_AddNmeaHandler | ( | taf_locGnss_NmeaHandlerFunc_t | handlerPtr, |
void * | contextPtr | ||
) |
Add handler function for EVENT 'taf_locGnss_Nmea'
This event provides information about NMEA.
[in] | handlerPtr | NMEA handler. |
[in] | contextPtr |
void taf_locGnss_RemoveNmeaHandler | ( | taf_locGnss_NmeaHandlerRef_t | handlerRef | ) |
Remove handler function for EVENT 'taf_locGnss_Nmea'
[in] | handlerRef |
taf_locGnss_State_t taf_locGnss_GetState | ( | void | ) |
Gets the status of the Location service per client session.
le_result_t taf_locGnss_GetSatellitesStatus | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint8_t * | satsInViewCountPtr, | ||
uint8_t * | satsTrackingCountPtr, | ||
uint8_t * | satsUsedCountPtr | ||
) |
Get Satellite Vehicle status per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | satsInViewCountPtr | Number of satellites in view. |
[out] | satsTrackingCountPtr | Number of satellites in view when tracking GNSS. |
[out] | satsUsedCountPtr | Number of satellites in view used for |
le_result_t taf_locGnss_GetAcquisitionRate | ( | uint32_t * | ratePtr | ) |
Get location acquisition rate per client session.
[out] | ratePtr | Acquisition rate in milliseconds for GNSS. |
le_result_t taf_locGnss_GetTtff | ( | uint32_t * | ttffPtr | ) |
Gets the TTFF in milliseconds per client session.
In case of start and hot start, the TTFF only represents the time between starting or restarting to receive the reports and receiving first fix reports since these APIs do not restart the underlying GNSS engine.
[out] | ttffPtr | TTFF in milliseconds. |
le_result_t taf_locGnss_GetSatellitesInfo | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint16_t * | satIdPtr, | ||
size_t * | satIdSizePtr, | ||
taf_locGnss_Constellation_t * | satConstPtr, | ||
size_t * | satConstSizePtr, | ||
bool * | satUsedPtr, | ||
size_t * | satUsedSizePtr, | ||
uint8_t * | satSnrPtr, | ||
size_t * | satSnrSizePtr, | ||
uint16_t * | satAzimPtr, | ||
size_t * | satAzimSizePtr, | ||
uint8_t * | satElevPtr, | ||
size_t * | satElevSizePtr | ||
) |
Gets the satellite's vehicle information per client session. This API provides information about SVs in view.
[in] | positionSampleRef | Position sample reference. |
[out] | satIdPtr | IDs of satellites in view. |
[in,out] | satIdSizePtr | |
[out] | satConstPtr | GNSS constellation of the SV. |
[in,out] | satConstSizePtr | |
[out] | satUsedPtr | True if SV is used for computing position. |
[in,out] | satUsedSizePtr | |
[out] | satSnrPtr | Signal-to-noise ratio.Units in dB-Hz. |
[in,out] | satSnrSizePtr | |
[out] | satAzimPtr | Azimuth; range is 0 |
[in,out] | satAzimSizePtr | |
[out] | satElevPtr | Elevation; range is 0 |
[in,out] | satElevSizePtr |
le_result_t taf_locGnss_GetTimeAccuracy | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint32_t * | timeAccuracyPtr | ||
) |
Gets the position sample's time accuracy per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | timeAccuracyPtr | Time accuracy in nanoseconds. For PVT report from SPE |
le_result_t taf_locGnss_GetEpochTime | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint64_t * | millisecondsPtr | ||
) |
Gets the position sample's epoch time per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | millisecondsPtr | Epoch time in milli seconds since Jan 1, 1970. |
le_result_t taf_locGnss_SetDopResolution | ( | taf_locGnss_Resolution_t | resolution | ) |
Sets the resolution for the DOP parameters per client session.
[in] | resolution | DOP resolution. |
le_result_t taf_locGnss_GetDilutionOfPrecision | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
taf_locGnss_DopType_t | dopType, | ||
uint16_t * | dopPtr | ||
) |
Gets the DOP parameters for the fixed position per client session.
taf_locGnss_SetDopResolution()
function.[in] | positionSampleRef | Position sample reference. |
[in] | dopType | DOP type. |
[out] | dopPtr | DOP corresponding to the dopType |
le_result_t taf_locGnss_GetLeapSeconds | ( | uint64_t * | gpsTimePtr, |
int32_t * | currentLeapSecondsPtr, | ||
uint64_t * | changeEventTimePtr, | ||
int32_t * | nextLeapSecondsPtr | ||
) |
Gets leap second information per client session.
[out] | gpsTimePtr | The number of milliseconds of GPS time. |
[out] | currentLeapSecondsPtr | Current UTC leap seconds value in milliseconds. |
[out] | changeEventTimePtr | The number of milliseconds. |
[out] | nextLeapSecondsPtr | UTC leap seconds value to be applied in milliseconds. |
le_result_t taf_locGnss_GetGpsTime | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint32_t * | gpsWeekPtr, | ||
uint32_t * | gpsTimeOfWeekPtr | ||
) |
Gets the position sample's GPS time per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | gpsWeekPtr | GPS week number. |
[out] | gpsTimeOfWeekPtr | Time in to the current week in ms. |
le_result_t taf_locGnss_SetAcquisitionRate | ( | uint32_t | rate | ) |
Sets the Location service acquisition rate per client session.
[in] | rate | Acquisition rate in milliseconds for GNSS. |
le_result_t taf_locGnss_ForceWarmRestart | ( | void | ) |
Performs a warm restart of the Location service per client session.
le_result_t taf_locGnss_ForceColdRestart | ( | void | ) |
Performs a cold restart of the Location service per client session.
le_result_t taf_locGnss_ForceFactoryRestart | ( | void | ) |
Performs a factory restart of the Location service.
le_result_t taf_locGnss_ForceHotRestart | ( | void | ) |
Performs a hot restart of the Location service per client session.
le_result_t taf_locGnss_GetSupportedConstellations | ( | taf_locGnss_ConstellationBitMask_t * | constellationMaskPtr | ) |
Returns a bitmask containing all satellite constellations supported on this platform.
[out] | constellationMaskPtr | Supported GNSS constellations. |
le_result_t taf_locGnss_SetMinElevation | ( | uint8_t | minElevation | ) |
This API configures the minimum SV elevation angle setting used by the GNSS standard position engine per client session.
[in] | minElevation | Minimum elevation in degrees. |
le_result_t taf_locGnss_StartMode | ( | taf_locGnss_StartMode_t | mode | ) |
Starts the Location service in the specified start mode per client session.
[in] | mode | Start Mode. |
le_result_t taf_locGnss_GetMinElevation | ( | uint8_t * | minElevationPtrPtr | ) |
This API retrieves the minimum SV Elevation configuration used by the modem GNSS standard position engine per client session.
[out] | minElevationPtrPtr | Minimum elevation in degrees; range is 0 to 90. |
le_result_t taf_locGnss_SetNmeaSentences | ( | taf_locGnss_NmeaBitMask_t | nmeaMask | ) |
Sets the enabled NMEA sentences using a bitmask per client session.
[in] | nmeaMask | Bitmask for enabled NMEA sentence types. |
le_result_t taf_locGnss_GetNmeaSentences | ( | taf_locGnss_NmeaBitMask_t * | nmeaMaskPtrPtr | ) |
Gets the bitmask for the enabled NMEA sentences per client session.
[out] | nmeaMaskPtrPtr | Bitmask for enabled NMEA sentence types. |
le_result_t taf_locGnss_SetDRConfig | ( | const taf_locGnss_DrParams_t *LE_NONNULL | drParamsPtrPtr | ) |
Sets the dead reckoning configuration parameters with default mask enabled. By default all DRE parameters mask get enabled while triggering this API. To change the mask taf_locGnss_SetDRConfigValidity() API can be called to set particular DRE parameter mask. The mask gets updated and this API can be called to configure the DRE parameters with the updated mask. This API configures Dead recokining parameters per client session.
[in] | drParamsPtrPtr | The structure reference which passes dead reckoning parameters. |
le_result_t taf_locGnss_GetSupportedNmeaSentences | ( | taf_locGnss_NmeaBitMask_t * | nmeaMaskPtrPtr | ) |
Returns a bitmask containing all NMEA sentences supported on this platform per client session.
[out] | nmeaMaskPtrPtr | Supported NMEA sentence types. |
le_result_t taf_locGnss_ConfigureEngineState | ( | taf_locGnss_EngineType_t | engtype, |
taf_locGnss_EngineState_t | engState | ||
) |
Sets the engine state for SPE/PPE/DRE/VPE engines per client session.
[in] | engtype | Engine type. |
[in] | engState | Engine state. |
le_result_t taf_locGnss_ConfigureRobustLocation | ( | uint8_t | enable, |
uint8_t | enabled911 | ||
) |
This API enables/disables robust location feature and enables/disables robust location while device is on E911 per client session.
[in] | enable | Enable(1) or disable(0). |
[in] | enabled911 | Enable(1) or disable for 911 enable/disable. |
le_result_t taf_locGnss_RobustLocationInformation | ( | uint8_t * | enablePtr, |
uint8_t * | enabled911Ptr, | ||
uint8_t * | majorVersionPtr, | ||
uint8_t * | minorVersionPtr | ||
) |
This API retrieves the robust location settings and version information used by the GNSS standard position engine per client session.
[out] | enablePtr | Enable(1) or disable(0). |
[out] | enabled911Ptr | enabled911 enable(1) or disable(0). |
[out] | majorVersionPtr | Major version number. |
[out] | minorVersionPtr | Minor version number. |
le_result_t taf_locGnss_DefaultSecondaryBandConstellations | ( | void | ) |
Sets default configuration for secondary bands per client session.
le_result_t taf_locGnss_RequestSecondaryBandConstellations | ( | uint32_t * | constellationSbPtr | ) |
Gets the (enabled) secondary band GNSS constellation types per client session.
[out] | constellationSbPtr | Bitmask to get enabled secondary band constellations. SBConstellation |
le_result_t taf_locGnss_ConfigureSecondaryBandConstellations | ( | uint32_t | constellationSb | ) |
Disables the given secondary band GNSS constellation types per client session.
[in] | constellationSb | Bitmask of secondary band constellations to disable. SBConstellation |
le_result_t taf_locGnss_GetMagneticDeviation | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
int32_t * | magneticDeviationPtrPtr | ||
) |
Gets the position sample's magnetic deviation per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | magneticDeviationPtrPtr | MagneticDeviation in degrees. It is the difference between |
le_result_t taf_locGnss_GetEllipticalUncertainty | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint32_t * | horUncEllipseSemiMajorPtrPtr, | ||
uint32_t * | horUncEllipseSemiMinorPtrPtr, | ||
uint8_t * | horConfidencePtrPtr | ||
) |
Gets the semi-major and semi-minor horizontal elliptical uncertainty per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | horUncEllipseSemiMajorPtrPtr | Horizontal semi-major elliptical uncertainty. It is |
[out] | horUncEllipseSemiMinorPtrPtr | Horizontal semi-minor elliptical uncertainty. It is |
[out] | horConfidencePtrPtr | Horizontal confidence level. It is defined with 39% confidence level. |
le_result_t taf_locGnss_SetLeverArmConfig | ( | const taf_locGnss_LeverArmParams_t *LE_NONNULL | LeverArmParamsPtrPtr | ) |
Sets the Lever Arm configuration Parameters per client session.
[in] | LeverArmParamsPtrPtr | The structure reference for lever arm parameters. |
le_result_t taf_locGnss_SetEngineType | ( | taf_locGnss_EngineReportsType_t | EngineType | ) |
Set the engine type for source of location data per client session.
[in] | EngineType | Engine type. |
le_result_t taf_locGnss_GetConformityIndex | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
double * | indexPtr | ||
) |
Gets the conformity index per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | indexPtr | Conformity index. When robust location is enabled, this field |
le_result_t taf_locGnss_GetCalibrationData | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint32_t * | calibPtrPtr, | ||
uint8_t * | percentPtrPtr | ||
) |
Gets the sensor calibration status and confidence percentage per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | calibPtrPtr | Calibration status. |
[out] | percentPtrPtr | Confidence percentage. |
le_result_t taf_locGnss_GetBodyFrameData | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
taf_locGnss_KinematicsData_t * | bodyDataPtrPtr | ||
) |
Gets the body frame data per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | bodyDataPtrPtr | Body data reference. |
le_result_t taf_locGnss_GetVRPBasedLLA | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
double * | vrpLatitudePtrPtr, | ||
double * | vrpLongitudePtrPtr, | ||
double * | vrpAltitudePtrPtr | ||
) |
Gets vehicle reference point based latitude, longitude, and altitude information per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | vrpLatitudePtrPtr | VRP based Latitude, in unit of degrees, |
[out] | vrpLongitudePtrPtr | VRP based Longitude,in unit of degrees, |
[out] | vrpAltitudePtrPtr | VRP based altitude above the WGS 84 |
le_result_t taf_locGnss_GetVRPBasedVelocity | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
double * | eastVelPtrPtr, | ||
double * | northVelPtrPtr, | ||
double * | upVelPtrPtr | ||
) |
Gets vehicle reference point based east, north, and up velocity information per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | eastVelPtrPtr | East velocity in meter/sec. |
[out] | northVelPtrPtr | North velocity in meter/sec. |
[out] | upVelPtrPtr | Up velocity in meter/sec. |
le_result_t taf_locGnss_GetSvUsedInPosition | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
taf_locGnss_SvUsedInPosition_t * | svDataPtrPtr | ||
) |
Gets the set of satellite vehicles that are used to calculate position per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | svDataPtrPtr | SV data reference. |
le_result_t taf_locGnss_GetSbasCorrection | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint32_t * | sbasMaskPtrPtr | ||
) |
Gets navigation solution mask used to indicate SBAS corrections per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | sbasMaskPtrPtr | SBAS bit mask taf_locGnss_SbasBitMask. |
le_result_t taf_locGnss_GetPositionTechnology | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint32_t * | techMaskPtrPtr | ||
) |
Gets position technology mask to indicate which technology is used per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | techMaskPtrPtr | Technology mask taf_locGnss_LocationTechnologyType. |
le_result_t taf_locGnss_GetLocationInfoValidity | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint32_t * | validityMaskPtrPtr, | ||
uint64_t * | validityExMaskPtrPtr | ||
) |
Gets the validity of the location information per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | validityMaskPtrPtr | Validity bit mask. LocationInfoValidity |
[out] | validityExMaskPtrPtr | Validity ex bit mask. LocationInfoExValidity |
le_result_t taf_locGnss_GetLocationOutputEngParams | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint16_t * | engMaskPtrPtr, | ||
uint16_t * | engTypePtrPtr | ||
) |
Gets the the combination of position engines and location engine type used in calculating the position report per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | engMaskPtrPtr | Engine type bit mask. EngineMask |
[out] | engTypePtrPtr | Location engine type. LocationAggregationType |
le_result_t taf_locGnss_GetReliabilityInformation | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint16_t * | horiReliabilityPtrPtr, | ||
uint16_t * | vertReliabilityPtrPtr | ||
) |
Gets the reliability of the horizontal and vertical positions per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | horiReliabilityPtrPtr | Horizontal reliability. LocationReliability |
[out] | vertReliabilityPtrPtr | Vertical reliability. LocationReliability |
le_result_t taf_locGnss_GetStdDeviationAzimuthInfo | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
double * | azimuthPtrPtr, | ||
double * | eastDevPtrPtr, | ||
double * | northDevPtrPtr | ||
) |
Gets the elliptical horizontal uncertainty azimuth of orientation, east and north standard deviations per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | azimuthPtrPtr | Retrieves elliptical horizontal uncertainty azimuth of orientation. |
[out] | eastDevPtrPtr | East standard deviation. |
[out] | northDevPtrPtr | North standard deviation. |
le_result_t taf_locGnss_GetRealTimeInformation | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint64_t * | realTimePtrPtr, | ||
uint64_t * | realTimeUncPtrPtr | ||
) |
Gets the elapsed real time and its uncertainity values in nano-second per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | realTimePtrPtr | Elapsed real time in nano-second. |
[out] | realTimeUncPtrPtr | Elapsed real time uncertainty in nano-second. |
le_result_t taf_locGnss_GetMeasurementUsageInfo | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
taf_locGnss_GnssMeasurementInfo_t * | measInfoPtrPtr, | ||
size_t * | measInfoPtrSizePtr | ||
) |
Gets the information about GNSS measurement usages per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | measInfoPtrPtr | GNSS measurement information. |
[in,out] | measInfoPtrSizePtr |
le_result_t taf_locGnss_GetReportStatus | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
int32_t * | reportStatusPtr | ||
) |
Gets the status of report in terms of how optimally the report was calculated by the engine per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | reportStatusPtr | Engine type bit mask taf_locGnss_ReportStatus. |
le_result_t taf_locGnss_GetAltitudeMeanSeaLevel | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
double * | altMeanSeaLevelPtr | ||
) |
Gets the altitude with respect to mean sea level per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | altMeanSeaLevelPtr | Altitude Mean Sea Level in meters. |
le_result_t taf_locGnss_GetSVIds | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint16_t * | sVIdsPtrPtr, | ||
size_t * | sVIdsPtrSizePtr | ||
) |
Gets the GNSS Satellite Vehicles used in position data per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | sVIdsPtrPtr | IDs of GNSS Satellite Vehicles. |
[in,out] | sVIdsPtrSizePtr |
le_result_t taf_locGnss_GetSatellitesInfoEx | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
taf_locGnss_Constellation_t | constellation, | ||
taf_locGnss_SvInfo_t * | svInfoPtr, | ||
size_t * | svInfoSizePtr | ||
) |
Gets the satellite's vehicle information of a given constellation per client session.
[in] | positionSampleRef | Position sample reference. |
[in] | constellation | Constellation for which SVInfo is asked. |
[out] | svInfoPtr | Satellite Vehicle information. |
[in,out] | svInfoSizePtr |
le_result_t taf_locGnss_SetMinGpsWeek | ( | uint16_t | minGpsWeek | ) |
Sets the minimum GPS week used by the modem GNSS standard position engine (SPE) per client session. This API shall not be called when GNSS state is ACTIVE. Behavior is not defined if client issues a second request of SetMinGpsWeek without waiting for the previous SetMinGpsWeek to finish. Additionally minimum GPS week number shall NEVER be in the future of the current GPS Week.
[in] | minGpsWeek | The minimum GPS week to be used by modem GNSS engine. |
le_result_t taf_locGnss_GetMinGpsWeek | ( | uint16_t * | minGpsWeekPtrPtr | ) |
Gets the minimum GPS week configuration used by the modem GNSS standard position engine (SPE) per client session. If this API is called right after SetMinGpsWeek, the returned setting may not match the one specified in SetMinGpsWeek, as the setting configured via SetMinGpsWeek can not be applied to the GNSS standard position engine(SPE) when the engine is in middle of a session. In poor GPS signal condition, the session may take up to 255 seconds to finish. If after 255 seconds of invoking SetMinGpsWeek, the returned value still does not match, then the caller need to reapply the setting by invoking SetMinGpsWeek again.
[out] | minGpsWeekPtrPtr | Minimum GPS week used by modem GNSS engine. |
le_result_t taf_locGnss_GetCapabilities | ( | uint64_t * | locCapabilityPtrPtr | ) |
Gets the GNSS capability information per client session. To know capability bit mask LocCapabilityType.
[out] | locCapabilityPtrPtr | The GNSS capability information. |
le_result_t taf_locGnss_SetNmeaConfiguration | ( | taf_locGnss_NmeaBitMask_t | nmeaMask, |
taf_locGnss_GeodeticDatumType_t | datumType, | ||
taf_locGnss_LocEngineType_t | engineType | ||
) |
Configures the required NMEA sentences per client session. Without prior invocation to this API, all NMEA sentences supported in the system will get generated and delivered to all the clients that register to receive NMEA sentences. The NMEA sentence type configuration is common across all clients and it will affect all clients.
LE_GNSS_NMEA_MASK_PQXFI is deprecated; LE_GNSS_NMEA_MASK_PTYPE should be used instead.
[in] | nmeaMask | Bitmask for enabled NMEA sentence types. |
[in] | datumType | Specify the datum type to be configured. |
[in] | engineType | Specify the Engine type for which Nmea sentences |
le_result_t taf_locGnss_GetXtraStatus | ( | taf_locGnss_XtraStatusParams_t * | xtraParamsPtr | ) |
Gets the XTRA status per client session.
[out] | xtraParamsPtr | Specify XTRA assistant data's current status, |
le_result_t taf_locGnss_GetGnssData | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
taf_locGnss_GnssData_t * | gnssDataPtrPtr, | ||
size_t * | gnssDataPtrSizePtr | ||
) |
Gets GNSS data for data mask, jammer indication, and automatic gain control per client session.
[in] | positionSampleRef | Position sample reference |
[out] | gnssDataPtrPtr | GNSS data in Jammer indication and AGC. |
[in,out] | gnssDataPtrSizePtr |
le_result_t taf_locGnss_SetDRConfigValidity | ( | taf_locGnss_DRConfigValidityType_t | validMask | ) |
Sets the dead reckoning parameters validity mask per client session.
[in] | validMask | Validity mask for dead reckoning parameters. |
le_result_t taf_locGnss_GetGptpTime | ( | taf_locGnss_SampleRef_t | positionSampleRef, |
uint64_t * | gPtpTimePtr, | ||
uint64_t * | gPtpTimeUncPtr | ||
) |
Gets Gptp time and its uncertainty per client session.
[in] | positionSampleRef | Position sample reference. |
[out] | gPtpTimePtr | Gptp time stamp in nanoseconds. |
[out] | gPtpTimeUncPtr | Gptp time stamp uncertainty in nanoseconds. |