319 #ifndef LE_GNSS_INTERFACE_H_INCLUDE_GUARD 320 #define LE_GNSS_INTERFACE_H_INCLUDE_GUARD 373 #define LE_GNSS_MAX_SUPL_SERVER_URL_LEN 256 381 #define LE_GNSS_MAX_SUPL_CERTIFICATE_LEN 2000 389 #define LE_GNSS_MAX_SV_INFO_NUMBER 80 848 int32_t* latitudePtr,
852 int32_t* longitudePtr,
856 int32_t* hAccuracyPtr
886 int32_t* altitudePtr,
890 int32_t* vAccuracyPtr
918 uint16_t* minutesPtr,
922 uint16_t* secondsPtr,
926 uint16_t* millisecondsPtr
987 uint32_t* hspeedAccuracyPtr
1021 int32_t* vspeedAccuracyPtr
1049 int32_t* directionPtr,
1054 int32_t* directionAccuracyPtr
1158 const char* suplServerUrl
1176 uint8_t suplCertificateId,
1181 uint16_t suplCertificateLen,
1185 const char* suplCertificate
1203 uint8_t suplCertificateId
1210 #endif // LE_GNSS_INTERFACE_H_INCLUDE_GUARD le_gnss_AssistedMode_t
Definition: le_gnss_interface.h:419
le_result_t le_gnss_InjectSuplCertificate(uint8_t suplCertificateId, uint16_t suplCertificateLen, const char *suplCertificate)
le_result_t le_gnss_GetAltitude(le_gnss_SampleRef_t positionSampleRef, int32_t *altitudePtr, int32_t *vAccuracyPtr)
le_result_t le_gnss_SetSuplServerUrl(const char *suplServerUrl)
void(* le_gnss_PositionHandlerFunc_t)(le_gnss_SampleRef_t positionSampleRef, void *contextPtr)
Definition: le_gnss_interface.h:470
le_result_t
Definition: le_basics.h:35
void le_gnss_RemovePositionHandler(le_gnss_PositionHandlerRef_t addHandlerRef)
le_result_t le_gnss_Start(void)
Standalone mode.
Definition: le_gnss_interface.h:421
le_gnss_PositionHandlerRef_t le_gnss_AddPositionHandler(le_gnss_PositionHandlerFunc_t handlerPtr, void *contextPtr)
GLONASS constellation used in solution.
Definition: le_gnss_interface.h:445
le_result_t le_gnss_ForceFactoryRestart(void)
struct le_gnss_Sample * le_gnss_SampleRef_t
Definition: le_gnss_interface.h:365
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_GetDirection(le_gnss_SampleRef_t positionSampleRef, int32_t *directionPtr, int32_t *directionAccuracyPtr)
le_result_t le_gnss_ForceColdRestart(void)
Estimated (i.e. forward predicted) position fix.
Definition: le_gnss_interface.h:408
le_result_t le_gnss_ForceWarmRestart(void)
le_result_t le_gnss_GetTtff(uint32_t *ttffPtr)
le_result_t le_gnss_GetConstellation(le_gnss_ConstellationBitMask_t *constellationMaskPtr)
le_result_t le_gnss_EnableExtendedEphemerisFile(void)
3-Dimensional position fix.
Definition: le_gnss_interface.h:405
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)
Definition: le_clock.h:92
le_result_t le_gnss_SetAcquisitionRate(uint32_t rate)
le_result_t le_gnss_DeleteSuplCertificate(uint8_t suplCertificateId)
GPS constellation used in solution.
Definition: le_gnss_interface.h:442
le_gnss_FixState_t
Definition: le_gnss_interface.h:397
2-Dimensional position fix.
Definition: le_gnss_interface.h:402
void le_gnss_ReleaseSampleRef(le_gnss_SampleRef_t positionSampleRef)
le_result_t le_gnss_GetVerticalSpeed(le_gnss_SampleRef_t positionSampleRef, int32_t *vspeedPtr, int32_t *vspeedAccuracyPtr)
MS-Assisted mode.
Definition: le_gnss_interface.h:427
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_gnss_ConstellationBitMask_t
Definition: le_gnss_interface.h:440
void le_gnss_ConnectService(void)
le_result_t le_gnss_Stop(void)
le_result_t le_gnss_GetPositionState(le_gnss_SampleRef_t positionSampleRef, le_gnss_FixState_t *statePtr)
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_result_t le_gnss_SetConstellation(le_gnss_ConstellationBitMask_t constellationMask)
le_result_t le_gnss_GetExtendedEphemerisValidity(le_clk_Time_t *startTimePtr, le_clk_Time_t *stopTimePtr)
le_result_t le_gnss_ForceHotRestart(void)
MS-Based mode.
Definition: le_gnss_interface.h:424
le_result_t le_gnss_Enable(void)
The GNSS fix position is not fixed.
Definition: le_gnss_interface.h:399
struct le_gnss_PositionHandler * le_gnss_PositionHandlerRef_t
Definition: le_gnss_interface.h:456
le_result_t le_gnss_GetDop(le_gnss_SampleRef_t positionSampleRef, uint16_t *hdopPtr, uint16_t *vdopPtr, uint16_t *pdopPtr)