le_gnss_interface.h
Go to the documentation of this file.
24 * GNSS or Global Navigation Satellite System is a satellite navigation system with global coverage.55 * The other starting functions that allow to start or restart the GNSS devices in particular modes60 * A diagram of GNSS device state machine showing how to use the different starting fonctions can be73 * The le_gnss_StartMode() function clears the @ref le_gnss_Data according to the starting mode and75 * In HOT mode, no data are cleared, the GNSS is started with its available data. It is equivalent76 * to @ref le_gnss_Start() function. In WARM mode, GNSS is started after the Ephemeris are cleared.77 * In COLD mode, GNSS is started after all data are cleared except Almanac and in Factory mode GNSS81 * The le_gnss_ForceHotRestart() function performs a "HOT" restart of the GNSS device. The current86 * The le_gnss_ForceWarmRestart() function performs a "WARM" restart of the GNSS device. The current93 * The le_gnss_ForceColdRestart() function performs a "COLD" restart of the GNSS device. The current129 * The le_gnss_GetTtff() function provides the TTFF (first between 2-Dimensional or 3-Dimensional132 * le_gnss_GetPositionState() function. The GNSS fix position states are given by le_gnss_FixState_t143 * The le_gnss_InjectUtcTime() function injects the UTC time into the location engine. Providing an145 * @note It is mandatory to enable the 'Extended Ephemeris' file injection into the GNSS device with149 * Please refer to your platform documentation @ref platformConstraintsGnss_SettingConfiguration for153 * The GNSS position is computed and delivered each acquisition rate. The acquisition rate defines162 * The le_gnss_EnableExternalLna() function enables the EXT_GPS_LNA_EN signal. The pin is set high165 * The le_gnss_DisableExternalLna() function disables the EXT_GPS_LNA_EN signal. The pin remains off179 * Please refer to your platform documentation @ref platformConstraintsGnss_SettingConfiguration for182 * Combinations of constellation for GPS, GLONASS, BDS, GALILEO and QZSS satellites are currently192 * le_gnss_SetConstellationArea sets the area for a GNSS constellation. le_gnss_GetConstellationArea214 * @ref le_gnss_NMEA with a bit mask. The supported values are listed in @ref le_gnss_NmeaBitMask_t.216 * @note This function may be subject to limitations depending on the platform. Please refer to the220 * Please refer to your platform documentation @ref platformConstraintsGnss_SettingConfiguration for228 * The le_gnss_GetNmeaSentences() function gets the bit mask of the enabled NMEA sentences in the231 * The le_gnss_GetSupportedNmeaSentences() function gets a bit mask of the NMEA sentences supported248 * ''LE_OK or error code'' means the function is authorized in the corresponding state, the request249 * is performed and the result is returned; otherwise the returned error is indicated for each state252 *| ----------------------------- | --------------------------- | -----------------------------| --------------------------- | --------------------------- |255 *| le_gnss_ForceHotRestart() | LE_NOT_PERMITTED | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED |256 *| le_gnss_ForceWarmRestart() | LE_NOT_PERMITTED | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED |257 *| le_gnss_ForceColdRestart() | LE_NOT_PERMITTED | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED |258 *| le_gnss_ForceFactoryRestart() | LE_NOT_PERMITTED | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED |259 *| le_gnss_Disable() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_DUPLICATE |261 *| le_gnss_SetConstellation() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |262 *| le_gnss_GetConstellation() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |263 *| le_gnss_SetConstellationArea() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |264 *| le_gnss_GetConstellationArea() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |265 *| le_gnss_GetTtff() | LE_NOT_PERMITTED | LE_OK or error code | LE_OK or error code | LE_NOT_PERMITTED |266 *| le_gnss_SetAcquisitionRate() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |267 *| le_gnss_GetAcquisitionRate() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |268 *| le_gnss_SetNmeaSentences() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |269 *| le_gnss_GetNmeaSentences() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |270 *| le_gnss_EnableExternalLna() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |271 *| le_gnss_DisableExternalLna() | LE_NOT_PERMITTED | LE_OK or error code | LE_NOT_PERMITTED | LE_NOT_PERMITTED |325 * le_gnss_SetDataResolution() function can be called to configure the resolution of position data333 * le_gnss_SetDataResolution() function is called with vertical position accuracy set as data type336 * @note If le_gnss_SetDataResolution() function is not called, the position data types are received355 * A sample code using le_gnss_ConvertDataCoordinate() function can be seen in the following page:363 * @c le_gnss_SetDopResolution() and @c le_gnss_GetDilutionOfPrecision() functions should be called401 * With le_gnss_GetExtendedEphemerisValidity(), you will to get the validity of the last injected414 * That 3GPP User Plane A-GNSS (Assisted GNSS) protocol is defined by two different standardization415 * bodies, 3GPP and Open Mobile Alliance (OMA). For more information, please refer to the standard.420 *, then returns the retrieved GNSS data to the SUPL (Secure User Plan Location) server, where the424 * server. The MS measures the signals from the GNSS satellites and makes the position calculation.437 * The SUPL server is configured using the le_gnss_SetSuplServerUrl() function. That function sets441 * le_gnss_InjectSuplCertificate() function and deleted through the le_gnss_DeleteSuplCertificate()443 * The SUPL certificate lenght given as parameter to le_gnss_InjectSuplCertificate() must be less516 //--------------------------------------------------------------------------------------------------520 //--------------------------------------------------------------------------------------------------523 //--------------------------------------------------------------------------------------------------526 * Connect the current client thread to the service providing this API. Block until the service is529 * For each thread that wants to use this API, either ConnectService or TryConnectService must be530 * called before any other functions in this API. Normally, ConnectService is automatically called535 //--------------------------------------------------------------------------------------------------541 //--------------------------------------------------------------------------------------------------544 * Try to connect the current client thread to the service providing this API. Return with an error547 * For each thread that wants to use this API, either ConnectService or TryConnectService must be548 * called before any other functions in this API. Normally, ConnectService is automatically called557 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).560 //--------------------------------------------------------------------------------------------------566 //--------------------------------------------------------------------------------------------------570 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants573 //--------------------------------------------------------------------------------------------------580 //--------------------------------------------------------------------------------------------------586 * longer a connection to the service, and the functions in this API can't be used. For details, see591 //--------------------------------------------------------------------------------------------------598 //--------------------------------------------------------------------------------------------------602 //--------------------------------------------------------------------------------------------------605 //--------------------------------------------------------------------------------------------------609 //--------------------------------------------------------------------------------------------------612 //--------------------------------------------------------------------------------------------------616 //--------------------------------------------------------------------------------------------------619 //--------------------------------------------------------------------------------------------------623 //--------------------------------------------------------------------------------------------------626 //--------------------------------------------------------------------------------------------------630 //--------------------------------------------------------------------------------------------------633 //--------------------------------------------------------------------------------------------------637 //--------------------------------------------------------------------------------------------------640 //--------------------------------------------------------------------------------------------------644 //--------------------------------------------------------------------------------------------------647 //--------------------------------------------------------------------------------------------------651 //--------------------------------------------------------------------------------------------------654 //--------------------------------------------------------------------------------------------------658 //--------------------------------------------------------------------------------------------------661 //--------------------------------------------------------------------------------------------------665 //--------------------------------------------------------------------------------------------------668 //--------------------------------------------------------------------------------------------------674 //--------------------------------------------------------------------------------------------------677 //--------------------------------------------------------------------------------------------------686 //--------------------------------------------------------------------------------------------------689 //--------------------------------------------------------------------------------------------------693 //--------------------------------------------------------------------------------------------------696 //--------------------------------------------------------------------------------------------------700 //--------------------------------------------------------------------------------------------------703 //--------------------------------------------------------------------------------------------------707 //--------------------------------------------------------------------------------------------------710 //--------------------------------------------------------------------------------------------------715 //--------------------------------------------------------------------------------------------------718 //--------------------------------------------------------------------------------------------------722 //--------------------------------------------------------------------------------------------------725 //--------------------------------------------------------------------------------------------------741 //--------------------------------------------------------------------------------------------------748 //--------------------------------------------------------------------------------------------------759 //--------------------------------------------------------------------------------------------------766 //--------------------------------------------------------------------------------------------------780 //--------------------------------------------------------------------------------------------------789 //--------------------------------------------------------------------------------------------------802 //--------------------------------------------------------------------------------------------------811 //--------------------------------------------------------------------------------------------------822 //--------------------------------------------------------------------------------------------------828 //--------------------------------------------------------------------------------------------------839 //--------------------------------------------------------------------------------------------------845 //--------------------------------------------------------------------------------------------------856 //--------------------------------------------------------------------------------------------------863 //--------------------------------------------------------------------------------------------------871 * @note If the caller is passing an invalid Position sample reference or null pointers into this874 //--------------------------------------------------------------------------------------------------883 //--------------------------------------------------------------------------------------------------892 * @note It is mandatory to enable the 'Extended Ephemeris' file injection into the GNSS device with895 //--------------------------------------------------------------------------------------------------904 //--------------------------------------------------------------------------------------------------915 //--------------------------------------------------------------------------------------------------921 //--------------------------------------------------------------------------------------------------932 * @warning This function may be subject to limitations depending on the platform. Please refer to935 //--------------------------------------------------------------------------------------------------942 //--------------------------------------------------------------------------------------------------953 //--------------------------------------------------------------------------------------------------959 //--------------------------------------------------------------------------------------------------968 * @Note This API can be used to restart the GNSS device. It is equivalent calling le_gnss_Stop()971 //--------------------------------------------------------------------------------------------------977 //--------------------------------------------------------------------------------------------------989 //--------------------------------------------------------------------------------------------------995 //--------------------------------------------------------------------------------------------------1005 //--------------------------------------------------------------------------------------------------1011 //--------------------------------------------------------------------------------------------------1021 //--------------------------------------------------------------------------------------------------1027 //--------------------------------------------------------------------------------------------------1040 //--------------------------------------------------------------------------------------------------1047 //--------------------------------------------------------------------------------------------------1060 //--------------------------------------------------------------------------------------------------1066 //--------------------------------------------------------------------------------------------------1079 //--------------------------------------------------------------------------------------------------1085 //--------------------------------------------------------------------------------------------------1097 * @warning This function may be subject to limitations depending on the platform. Please refer to1103 //--------------------------------------------------------------------------------------------------1110 //--------------------------------------------------------------------------------------------------1122 //--------------------------------------------------------------------------------------------------1129 //--------------------------------------------------------------------------------------------------1139 //--------------------------------------------------------------------------------------------------1148 //--------------------------------------------------------------------------------------------------1152 //--------------------------------------------------------------------------------------------------1159 //--------------------------------------------------------------------------------------------------1166 * @note If the caller is passing an invalid Position sample reference or a null pointer into this1169 //--------------------------------------------------------------------------------------------------1178 //--------------------------------------------------------------------------------------------------1202 //--------------------------------------------------------------------------------------------------1215 //--------------------------------------------------------------------------------------------------1224 * @note Altitude is in meters, above Mean Sea Level, with 3 decimal places (3047 = 3.047 meters).1241 //--------------------------------------------------------------------------------------------------1252 //--------------------------------------------------------------------------------------------------1261 * @note If the caller is passing an invalid Position sample reference or null pointers into this1265 //--------------------------------------------------------------------------------------------------1280 //--------------------------------------------------------------------------------------------------1289 * @note If the caller is passing an invalid Position sample reference or null pointers into this1292 //--------------------------------------------------------------------------------------------------1303 //--------------------------------------------------------------------------------------------------1315 * @note If the caller is passing an invalid position sample reference or a null pointer into this1318 //--------------------------------------------------------------------------------------------------1327 //--------------------------------------------------------------------------------------------------1336 * @note If the caller is passing an invalid position sample reference or a null pointer into this1339 //--------------------------------------------------------------------------------------------------1348 //--------------------------------------------------------------------------------------------------1357 * @note The leap seconds in advance is the accumulated time in seconds since the start of GPS Epoch1360 * @note Insertion of each UTC leap second is usually decided about six months in advance by the1363 * @note If the caller is passing an invalid position sample reference or a null pointer into this1368 //--------------------------------------------------------------------------------------------------1377 //--------------------------------------------------------------------------------------------------1387 * @note Insertion of each UTC leap second is usually decided about six months in advance by the1393 * @note If the return value of a parameter is INT32_MAX/UINT64_MAX, the parameter is not valid.1395 //--------------------------------------------------------------------------------------------------1411 //--------------------------------------------------------------------------------------------------1420 * @note If the caller is passing an invalid Position sample reference or null pointers into this1423 //--------------------------------------------------------------------------------------------------1436 //--------------------------------------------------------------------------------------------------1446 * @note Horizontal speed is in meters/second with 2 decimal places (3047 = 30.47 meters/second).1448 * @note Horizontal speed accuracy estimate is default set to meters/second with 1 decimal place1462 //--------------------------------------------------------------------------------------------------1473 //--------------------------------------------------------------------------------------------------1501 //--------------------------------------------------------------------------------------------------1513 //--------------------------------------------------------------------------------------------------1515 * Get the position sample's direction. Direction of movement is the direction that the vehicle or1523 * @note Direction and direction accuracy are given in degrees with 1 decimal place: 1755 = 175.51535 //--------------------------------------------------------------------------------------------------1548 //--------------------------------------------------------------------------------------------------1570 //--------------------------------------------------------------------------------------------------1610 //--------------------------------------------------------------------------------------------------1615 //--------------------------------------------------------------------------------------------------1622 //--------------------------------------------------------------------------------------------------1637 //--------------------------------------------------------------------------------------------------1650 //--------------------------------------------------------------------------------------------------1670 //--------------------------------------------------------------------------------------------------1683 //--------------------------------------------------------------------------------------------------1700 //--------------------------------------------------------------------------------------------------1711 //--------------------------------------------------------------------------------------------------1723 * @note For a 2D position fix, the altitude with respect to the WGS-84 ellipsoid will be indicated1729 //--------------------------------------------------------------------------------------------------1739 //--------------------------------------------------------------------------------------------------1755 //--------------------------------------------------------------------------------------------------1764 //--------------------------------------------------------------------------------------------------1774 //--------------------------------------------------------------------------------------------------1780 //--------------------------------------------------------------------------------------------------1787 //--------------------------------------------------------------------------------------------------1794 //--------------------------------------------------------------------------------------------------1807 //--------------------------------------------------------------------------------------------------1814 //--------------------------------------------------------------------------------------------------1825 //--------------------------------------------------------------------------------------------------1832 //--------------------------------------------------------------------------------------------------1850 //--------------------------------------------------------------------------------------------------1857 //--------------------------------------------------------------------------------------------------1873 //--------------------------------------------------------------------------------------------------1885 //--------------------------------------------------------------------------------------------------1896 //--------------------------------------------------------------------------------------------------1904 //--------------------------------------------------------------------------------------------------1916 * @warning This function may be subject to limitations depending on the platform. Please refer to1929 //--------------------------------------------------------------------------------------------------1936 //--------------------------------------------------------------------------------------------------1954 //--------------------------------------------------------------------------------------------------1961 //--------------------------------------------------------------------------------------------------1966 //--------------------------------------------------------------------------------------------------1972 //--------------------------------------------------------------------------------------------------1985 //--------------------------------------------------------------------------------------------------1992 //--------------------------------------------------------------------------------------------------2004 //--------------------------------------------------------------------------------------------------2011 //--------------------------------------------------------------------------------------------------2024 //--------------------------------------------------------------------------------------------------2031 //--------------------------------------------------------------------------------------------------2043 //--------------------------------------------------------------------------------------------------2052 //--------------------------------------------------------------------------------------------------2064 //--------------------------------------------------------------------------------------------------2079 //--------------------------------------------------------------------------------------------------2089 //--------------------------------------------------------------------------------------------------2095 //--------------------------------------------------------------------------------------------------2104 //--------------------------------------------------------------------------------------------------2110 //--------------------------------------------------------------------------------------------------2117 //--------------------------------------------------------------------------------------------------2124 //--------------------------------------------------------------------------------------------------2131 //--------------------------------------------------------------------------------------------------2138 //--------------------------------------------------------------------------------------------------2145 //--------------------------------------------------------------------------------------------------2152 //--------------------------------------------------------------------------------------------------2159 //--------------------------------------------------------------------------------------------------le_result_t le_gnss_GetDirection(le_gnss_SampleRef_t positionSampleRef, uint32_t *directionPtr, uint32_t *directionAccuracyPtr)le_result_t le_gnss_GetAltitude(le_gnss_SampleRef_t positionSampleRef, int32_t *altitudePtr, int32_t *vAccuracyPtr)le_gnss_SbasConstellationCategory_t le_gnss_GetSbasConstellationCategory(uint16_t satId)le_result_t le_gnss_InjectSuplCertificate(uint8_t suplCertificateId, uint16_t suplCertificateLen, const char *LE_NONNULL suplCertificate)le_result_t le_gnss_GetSatellitesInfo(le_gnss_SampleRef_t positionSampleRef, uint16_t *satIdPtr, size_t *satIdSizePtr, le_gnss_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)le_result_t le_gnss_StartMode(le_gnss_StartMode_t mode)le_result_t le_gnss_GetExtendedEphemerisValidity(uint64_t *startTimePtr, uint64_t *stopTimePtr)le_result_t le_gnss_Start(void)le_gnss_PositionHandlerRef_t le_gnss_AddPositionHandler(le_gnss_PositionHandlerFunc_t handlerPtr, void *contextPtr)le_result_t le_gnss_GetEpochTime(le_gnss_SampleRef_t positionSampleRef, uint64_t *millisecondsPtr)le_result_t le_gnss_ForceFactoryRestart(void)le_result_t le_gnss_GetLeapSeconds(uint64_t *gpsTimePtr, int32_t *currentLeapSecondsPtr, uint64_t *changeEventTimePtr, int32_t *nextLeapSecondsPtr)le_result_t le_gnss_LoadExtendedEphemerisFile(int fd)le_result_t le_gnss_GetAcquisitionRate(uint32_t *ratePtr)void le_gnss_DisconnectService(void)le_result_t le_gnss_ForceColdRestart(void)le_result_t le_gnss_ForceWarmRestart(void)le_result_t le_gnss_InjectUtcTime(uint64_t timeUtc, uint32_t timeUnc)le_result_t le_gnss_SetDataResolution(le_gnss_DataType_t dataType, le_gnss_Resolution_t resolution)le_result_t le_gnss_SetConstellationArea(le_gnss_Constellation_t satConstellation, le_gnss_ConstellationArea_t constellationArea)le_result_t le_gnss_GetTtff(uint32_t *ttffPtr)le_result_t le_gnss_GetConstellation(le_gnss_ConstellationBitMask_t *constellationMaskPtr)void le_gnss_RemovePositionHandler(le_gnss_PositionHandlerRef_t handlerRef)le_result_t le_gnss_SetSuplServerUrl(const char *LE_NONNULL suplServerUrl)le_result_t le_gnss_EnableExtendedEphemerisFile(void)le_result_t le_gnss_GetAltitudeOnWgs84(le_gnss_SampleRef_t positionSampleRef, int32_t *altitudeOnWgs84Ptr)le_result_t le_gnss_GetTime(le_gnss_SampleRef_t positionSampleRef, uint16_t *hoursPtr, uint16_t *minutesPtr, uint16_t *secondsPtr, uint16_t *millisecondsPtr)le_result_t le_gnss_GetSuplAssistedMode(le_gnss_AssistedMode_t *assistedModePtr)le_result_t le_gnss_GetLocation(le_gnss_SampleRef_t positionSampleRef, int32_t *latitudePtr, int32_t *longitudePtr, int32_t *hAccuracyPtr)le_result_t le_gnss_DisableExtendedEphemerisFile(void)le_result_t le_gnss_TryConnectService(void)le_result_t le_gnss_SetAcquisitionRate(uint32_t rate)le_result_t le_gnss_SetMinElevation(uint8_t minElevation)le_result_t le_gnss_GetDilutionOfPrecision(le_gnss_SampleRef_t positionSampleRef, le_gnss_DopType_t dopType, uint16_t *dopPtr)le_result_t le_gnss_DeleteSuplCertificate(uint8_t suplCertificateId)le_result_t le_gnss_ConvertDataCoordinateSystem(le_gnss_CoordinateSystem_t coordinateSrc, le_gnss_CoordinateSystem_t coordinateDst, le_gnss_LocationDataType_t locationDataType, int64_t locationDataSrc, int64_t *locationDataDstPtr)le_result_t le_gnss_GetMagneticDeviation(le_gnss_SampleRef_t positionSampleRef, int32_t *magneticDeviationPtr)void le_gnss_ReleaseSampleRef(le_gnss_SampleRef_t positionSampleRef)le_result_t le_gnss_GetMaxNmeaRate(uint32_t *maxNmeaRatePtr)le_result_t le_gnss_GetNmeaSentences(le_gnss_NmeaBitMask_t *nmeaMaskPtrPtr)le_result_t le_gnss_GetVerticalSpeed(le_gnss_SampleRef_t positionSampleRef, int32_t *vspeedPtr, int32_t *vspeedAccuracyPtr)le_result_t le_gnss_DisableExternalLna(void)le_result_t le_gnss_SetSuplAssistedMode(le_gnss_AssistedMode_t assistedMode)le_result_t le_gnss_GetDate(le_gnss_SampleRef_t positionSampleRef, uint16_t *yearPtr, uint16_t *monthPtr, uint16_t *dayPtr)le_result_t le_gnss_SetDopResolution(le_gnss_Resolution_t resolution)void le_gnss_ConnectService(void)le_result_t le_gnss_GetSatellitesStatus(le_gnss_SampleRef_t positionSampleRef, uint8_t *satsInViewCountPtr, uint8_t *satsTrackingCountPtr, uint8_t *satsUsedCountPtr)le_result_t le_gnss_Stop(void)le_result_t le_gnss_GetSupportedConstellations(le_gnss_ConstellationBitMask_t *constellationMaskPtr)le_gnss_State_t le_gnss_GetState(void)le_result_t le_gnss_SetNmeaSentences(le_gnss_NmeaBitMask_t nmeaMask)le_result_t le_gnss_GetPositionState(le_gnss_SampleRef_t positionSampleRef, le_gnss_FixState_t *statePtr)le_result_t le_gnss_GetMinElevation(uint8_t *minElevationPtrPtr)le_result_t le_gnss_Disable(void)le_result_t le_gnss_GetHorizontalSpeed(le_gnss_SampleRef_t positionSampleRef, uint32_t *hspeedPtr, uint32_t *hspeedAccuracyPtr)le_gnss_SampleRef_t le_gnss_GetLastSampleRef(void)le_result_t le_gnss_SetConstellation(le_gnss_ConstellationBitMask_t constellationMask)le_result_t le_gnss_EnableExternalLna(void)le_result_t le_gnss_ForceHotRestart(void)le_result_t le_gnss_GetMinNmeaRate(uint32_t *minNmeaRatePtr)LE_FULL_API void le_gnss_SetServerDisconnectHandler(le_gnss_DisconnectHandler_t disconnectHandler, void *contextPtr)le_result_t le_gnss_Enable(void)void(* le_gnss_DisconnectHandler_t)(void *)Definition: le_gnss_interface.h:521le_result_t le_gnss_GetGpsTime(le_gnss_SampleRef_t positionSampleRef, uint32_t *gpsWeekPtr, uint32_t *gpsTimeOfWeekPtr)le_result_t le_gnss_GetConstellationArea(le_gnss_Constellation_t satConstellation, le_gnss_ConstellationArea_t *constellationAreaPtr)le_result_t le_gnss_GetGpsLeapSeconds(le_gnss_SampleRef_t positionSampleRef, uint8_t *leapSecondsPtr)le_result_t le_gnss_GetSupportedNmeaSentences(le_gnss_NmeaBitMask_t *NmeaMaskPtr)le_result_t le_gnss_GetTimeAccuracy(le_gnss_SampleRef_t positionSampleRef, uint32_t *timeAccuracyPtr)le_result_t le_gnss_GetDop(le_gnss_SampleRef_t positionSampleRef, uint16_t *hdopPtr, uint16_t *vdopPtr, uint16_t *pdopPtr)