LinuxQMISDK: qaGobiApiPds.h Source File

LinuxQMISDK SLQS03.03.07

- Main Page
- Modules
- References
- Data Structures

- File List
- Globals

qaGobiApiPds.h
Go to the documentation of this file.
1
11 #ifndef __GOBI_API_PDS_H__
12 #define __GOBI_API_PDS_H__
13
14 #define DEFAULTBYTEVALUE 0xFF
15 #define DEFAULTWORDVALUE 0xFFFF
16 #define DEFAULTLONGVALUE 0xFFFFFFFF
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
43 ULONG GetPDSState(
44 ULONG *pEnabledStatus,
45 ULONG *pTrackingStatus );
46
62 ULONG SetPDSState(
63 ULONG enable );
64
105 ULONG StartPDSTrackingSessionExt(
106 BYTE sessionControl,
107 BYTE sessionType,
108 BYTE sessionOperation,
109 BYTE sessionServerOption,
110 BYTE fixTimeout,
111 ULONG fixInterval,
112 ULONG fixCount,
113 ULONG fixAccuracy );
114
125 ULONG StopPDSTrackingSession();
126
143 ULONG PDSInjectTimeReference(
144 ULONGLONG systemTime,
145 USHORT systemDiscontinuities );
146
175 ULONG GetPDSDefaults(
176 ULONG *pOperation,
177 BYTE *pTimeout,
178 ULONG *pInterval,
179 ULONG *pAccuracy );
180
209 ULONG SetPDSDefaults(
210 ULONG operation,
211 BYTE timeout,
212 ULONG interval,
213 ULONG accuracy );
214
233 ULONG GetXTRAAutomaticDownload(
234 ULONG *pbEnabled,
235 USHORT *pInterval );
236
255 ULONG SetXTRAAutomaticDownload(
256 ULONG bEnabled,
257 USHORT interval );
258
278 ULONG GetXTRANetwork(
279 ULONG *pPreference );
280
300 ULONG SetXTRANetwork(
301 ULONG preference );
302
325 ULONG GetXTRAValidity(
326 USHORT *pGPSWeek,
327 USHORT *pGPSWeekOffset,
328 USHORT *pDuration );
329
342 ULONG ForceXTRADownload();
343
359 ULONG GetServiceAutomaticTracking(
360 ULONG *pbAuto );
361
362 enum {
363 eSetServiceAutomaticTrackingDisable=0,
364 eSetServiceAutomaticTrackingEnable=1
365 };
387 ULONG SetServiceAutomaticTracking(
388 ULONG bAuto );
389
405 ULONG GetPortAutomaticTracking(
406 ULONG *pbAuto );
407
423 ULONG SetPortAutomaticTracking(
424 ULONG bAuto );
425
465 ULONG ResetPDSData(
466 ULONG *pGPSDataMask,
467 ULONG *pCellDataMask );
468
499 ULONG SLQSSetAGPSConfig(
500 ULONG *pServerAddress,
501 ULONG *pServerPort,
502 BYTE *pServerURL,
503 BYTE *pServerURLLength,
504 BYTE *pNetworkMode );
505
532 ULONG SLQSPDSInjectAbsoluteTimeReference(
533 ULONGLONG timeMsec,
534 ULONG timeUncMsec,
535 BYTE timeBase,
536 BYTE forceFlag );
537
566 ULONG SLQSGetAGPSConfig(
567 ULONG *pServerAddress,
568 ULONG *pServerPort,
569 BYTE *pServerURL,
570 BYTE *pServerURLLength,
571 BYTE *pNetworkMode);
572
647 struct PDSPositionData
648 {
649 ULONGLONG *pTimeStamp;
650 ULONGLONG *pLatitude;
651 ULONGLONG *pLongitude;
652 ULONG *pAltitudeWrtEllipsoid;
653 ULONG *pAltitudeWrtSealevel;
654 ULONG *pHorizontalUncCircular;
655 ULONG *pVerticalUnc;
656 BYTE *pHorizontalConfidence;
657 BYTE *pVerticalConfidence;
658 BYTE *pPositionSource;
659 BYTE *pTimeType;
660 };
661
675 ULONG SLQSPDSInjectPositionData( struct PDSPositionData *pPositionData );
676
688 ULONG SLQSPDSDeterminePosition( );
689
830 typedef struct
831 {
832 BYTE EngineState;
833 ULONG ValidMask;
834 ULONGLONG Latitude;
835 ULONGLONG Longitude;
836 ULONG HorizontalUncertainty;
837 ULONG Altitude;
838 ULONG VerticalUncertainty;
839 ULONG TimeStmp_tow_ms;
840 WORD TimeStmp_gps_week;
841 ULONG Time_uncert_ms;
842 BYTE Iono_valid;
843 ULONG gps_ephemeris_sv_msk;
844 ULONG gps_almanac_sv_msk;
845 ULONG gps_health_sv_msk;
846 ULONG gps_visible_sv_msk;
847 ULONG glo_ephemeris_sv_msk;
848 ULONG glo_almanac_sv_msk;
849 ULONG glo_health_sv_msk;
850 ULONG glo_visible_sv_msk;
851 ULONG sbas_ephemeris_sv_msk;
852 ULONG sbas_almanac_sv_msk;
853 ULONG sbas_health_sv_msk;
854 ULONG sbas_visible_sv_msk;
855 WORD xtra_start_gps_week;
856 WORD xtra_start_gps_minutes;
857 WORD xtra_valid_duration_hours;
858 }GPSStateInfo;
859
874 ULONG SLQSGetGPSStateInfo( GPSStateInfo *pGPSStateInfo );
875
876 #ifdef __cplusplus
877 } /* extern "C" { */
878 #endif
879
880 #endif /* __GOBI_API_PDS_H__ */
PDSPositionData::pLatitude
ULONGLONG * pLatitude
Definition: qaGobiApiPds.h:650
SLQSPDSInjectPositionData
ULONG SLQSPDSInjectPositionData(struct PDSPositionData *pPositionData)
PDSPositionData::pAltitudeWrtEllipsoid
ULONG * pAltitudeWrtEllipsoid
Definition: qaGobiApiPds.h:652
SLQSPDSDeterminePosition
ULONG SLQSPDSDeterminePosition()
GPSStateInfo::glo_health_sv_msk
ULONG glo_health_sv_msk
Definition: qaGobiApiPds.h:849
SetXTRAAutomaticDownload
ULONG SetXTRAAutomaticDownload(ULONG bEnabled, USHORT interval)
GPSStateInfo::gps_almanac_sv_msk
ULONG gps_almanac_sv_msk
Definition: qaGobiApiPds.h:844
GPSStateInfo::glo_ephemeris_sv_msk
ULONG glo_ephemeris_sv_msk
Definition: qaGobiApiPds.h:847
PDSPositionData::pTimeType
BYTE * pTimeType
Definition: qaGobiApiPds.h:659
GPSStateInfo::Latitude
ULONGLONG Latitude
Definition: qaGobiApiPds.h:834
GPSStateInfo::xtra_valid_duration_hours
WORD xtra_valid_duration_hours
Definition: qaGobiApiPds.h:857
GPSStateInfo::Altitude
ULONG Altitude
Definition: qaGobiApiPds.h:837
GetPDSState
ULONG GetPDSState(ULONG *pEnabledStatus, ULONG *pTrackingStatus)
PDSPositionData::pLongitude
ULONGLONG * pLongitude
Definition: qaGobiApiPds.h:651
BYTE
unsigned char BYTE
Definition: SwiDataTypes.h:26
PDSInjectTimeReference
ULONG PDSInjectTimeReference(ULONGLONG systemTime, USHORT systemDiscontinuities)
GPSStateInfo::EngineState
BYTE EngineState
Definition: qaGobiApiPds.h:832
GPSStateInfo::glo_almanac_sv_msk
ULONG glo_almanac_sv_msk
Definition: qaGobiApiPds.h:848
eSetServiceAutomaticTrackingEnable
Definition: qaGobiApiPds.h:364
GPSStateInfo::Iono_valid
BYTE Iono_valid
Definition: qaGobiApiPds.h:842
PDSPositionData::pTimeStamp
ULONGLONG * pTimeStamp
Definition: qaGobiApiPds.h:649
GPSStateInfo::glo_visible_sv_msk
ULONG glo_visible_sv_msk
Definition: qaGobiApiPds.h:850
GPSStateInfo::Time_uncert_ms
ULONG Time_uncert_ms
Definition: qaGobiApiPds.h:841
PDSPositionData::pAltitudeWrtSealevel
ULONG * pAltitudeWrtSealevel
Definition: qaGobiApiPds.h:653
SetXTRANetwork
ULONG SetXTRANetwork(ULONG preference)
SLQSPDSInjectAbsoluteTimeReference
ULONG SLQSPDSInjectAbsoluteTimeReference(ULONGLONG timeMsec, ULONG timeUncMsec, BYTE timeBase, BYTE forceFlag)
GPSStateInfo::VerticalUncertainty
ULONG VerticalUncertainty
Definition: qaGobiApiPds.h:838
GPSStateInfo::TimeStmp_gps_week
WORD TimeStmp_gps_week
Definition: qaGobiApiPds.h:840
eSetServiceAutomaticTrackingDisable
Definition: qaGobiApiPds.h:363
GPSStateInfo::gps_ephemeris_sv_msk
ULONG gps_ephemeris_sv_msk
Definition: qaGobiApiPds.h:843
PDSPositionData::pVerticalUnc
ULONG * pVerticalUnc
Definition: qaGobiApiPds.h:655
GetPDSDefaults
ULONG GetPDSDefaults(ULONG *pOperation, BYTE *pTimeout, ULONG *pInterval, ULONG *pAccuracy)
SLQSGetAGPSConfig
ULONG SLQSGetAGPSConfig(ULONG *pServerAddress, ULONG *pServerPort, BYTE *pServerURL, BYTE *pServerURLLength, BYTE *pNetworkMode)
USHORT
unsigned short USHORT
Definition: SwiDataTypes.h:29
GPSStateInfo::sbas_ephemeris_sv_msk
ULONG sbas_ephemeris_sv_msk
Definition: qaGobiApiPds.h:851
PDSPositionData
Definition: qaGobiApiPds.h:647
StartPDSTrackingSessionExt
ULONG StartPDSTrackingSessionExt(BYTE sessionControl, BYTE sessionType, BYTE sessionOperation, BYTE sessionServerOption, BYTE fixTimeout, ULONG fixInterval, ULONG fixCount, ULONG fixAccuracy)
GPSStateInfo::sbas_health_sv_msk
ULONG sbas_health_sv_msk
Definition: qaGobiApiPds.h:853
ResetPDSData
ULONG ResetPDSData(ULONG *pGPSDataMask, ULONG *pCellDataMask)
PDSPositionData::pPositionSource
BYTE * pPositionSource
Definition: qaGobiApiPds.h:658
PDSPositionData::pHorizontalConfidence
BYTE * pHorizontalConfidence
Definition: qaGobiApiPds.h:656
GetXTRAAutomaticDownload
ULONG GetXTRAAutomaticDownload(ULONG *pbEnabled, USHORT *pInterval)
GPSStateInfo::TimeStmp_tow_ms
ULONG TimeStmp_tow_ms
Definition: qaGobiApiPds.h:839
ULONGLONG
unsigned long long ULONGLONG
Definition: SwiDataTypes.h:24
GetXTRANetwork
ULONG GetXTRANetwork(ULONG *pPreference)
ULONG
unsigned long ULONG
Definition: SwiDataTypes.h:23
GPSStateInfo
Definition: qaGobiApiPds.h:830
SetPortAutomaticTracking
ULONG SetPortAutomaticTracking(ULONG bAuto)
GPSStateInfo::Longitude
ULONGLONG Longitude
Definition: qaGobiApiPds.h:835
GPSStateInfo::HorizontalUncertainty
ULONG HorizontalUncertainty
Definition: qaGobiApiPds.h:836
GPSStateInfo::gps_health_sv_msk
ULONG gps_health_sv_msk
Definition: qaGobiApiPds.h:845
PDSPositionData::pVerticalConfidence
BYTE * pVerticalConfidence
Definition: qaGobiApiPds.h:657
SLQSGetGPSStateInfo
ULONG SLQSGetGPSStateInfo(GPSStateInfo *pGPSStateInfo)
ForceXTRADownload
ULONG ForceXTRADownload()
SLQSSetAGPSConfig
ULONG SLQSSetAGPSConfig(ULONG *pServerAddress, ULONG *pServerPort, BYTE *pServerURL, BYTE *pServerURLLength, BYTE *pNetworkMode)
PDSPositionData::pHorizontalUncCircular
ULONG * pHorizontalUncCircular
Definition: qaGobiApiPds.h:654
GPSStateInfo::xtra_start_gps_minutes
WORD xtra_start_gps_minutes
Definition: qaGobiApiPds.h:856
GPSStateInfo::sbas_visible_sv_msk
ULONG sbas_visible_sv_msk
Definition: qaGobiApiPds.h:854
SetPDSState
ULONG SetPDSState(ULONG enable)
GetPortAutomaticTracking
ULONG GetPortAutomaticTracking(ULONG *pbAuto)
GPSStateInfo::ValidMask
ULONG ValidMask
Definition: qaGobiApiPds.h:833
GPSStateInfo::gps_visible_sv_msk
ULONG gps_visible_sv_msk
Definition: qaGobiApiPds.h:846
WORD
unsigned short WORD
Definition: SwiDataTypes.h:28
GPSStateInfo::xtra_start_gps_week
WORD xtra_start_gps_week
Definition: qaGobiApiPds.h:855
GetServiceAutomaticTracking
ULONG GetServiceAutomaticTracking(ULONG *pbAuto)
GetXTRAValidity
ULONG GetXTRAValidity(USHORT *pGPSWeek, USHORT *pGPSWeekOffset, USHORT *pDuration)
SetServiceAutomaticTracking
ULONG SetServiceAutomaticTracking(ULONG bAuto)
SetPDSDefaults
ULONG SetPDSDefaults(ULONG operation, BYTE timeout, ULONG interval, ULONG accuracy)
GPSStateInfo::sbas_almanac_sv_msk
ULONG sbas_almanac_sv_msk
Definition: qaGobiApiPds.h:852
StopPDSTrackingSession
ULONG StopPDSTrackingSession()