00001
00011 #ifndef __GOBI_API_PDS_H__
00012 #define __GOBI_API_PDS_H__
00013
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif
00017
00037 ULONG GetPDSState(
00038 ULONG *pEnabledStatus,
00039 ULONG *pTrackingStatus );
00040
00058 ULONG SetPDSState(
00059 ULONG enable );
00060
00103 ULONG StartPDSTrackingSessionExt(
00104 BYTE sessionControl,
00105 BYTE sessionType,
00106 BYTE sessionOperation,
00107 BYTE sessionServerOption,
00108 BYTE fixTimeout,
00109 ULONG fixInterval,
00110 ULONG fixCount,
00111 ULONG fixAccuracy );
00112
00125 ULONG StopPDSTrackingSession();
00126
00145 ULONG PDSInjectTimeReference(
00146 ULONGLONG systemTime,
00147 USHORT systemDiscontinuities );
00148
00178 ULONG GetPDSDefaults(
00179 ULONG *pOperation,
00180 BYTE *pTimeout,
00181 ULONG *pInterval,
00182 ULONG *pAccuracy );
00183
00213 ULONG SetPDSDefaults(
00214 ULONG operation,
00215 BYTE timeout,
00216 ULONG interval,
00217 ULONG accuracy );
00218
00239 ULONG GetXTRAAutomaticDownload(
00240 ULONG *pbEnabled,
00241 USHORT *pInterval );
00242
00263 ULONG SetXTRAAutomaticDownload(
00264 ULONG bEnabled,
00265 USHORT interval );
00266
00288 ULONG GetXTRANetwork(
00289 ULONG *pPreference );
00290
00312 ULONG SetXTRANetwork(
00313 ULONG preference );
00314
00339 ULONG GetXTRAValidity(
00340 USHORT *pGPSWeek,
00341 USHORT *pGPSWeekOffset,
00342 USHORT *pDuration );
00343
00358 ULONG ForceXTRADownload();
00359
00377 ULONG GetServiceAutomaticTracking(
00378 ULONG *pbAuto );
00379
00397 ULONG SetServiceAutomaticTracking(
00398 ULONG bAuto );
00399
00417 ULONG GetPortAutomaticTracking(
00418 ULONG *pbAuto );
00419
00437 ULONG SetPortAutomaticTracking(
00438 ULONG bAuto );
00439
00481 ULONG ResetPDSData(
00482 ULONG *pGPSDataMask,
00483 ULONG *pCellDataMask );
00484
00511 ULONG SLQSSetAGPSConfig(
00512 ULONG *pServerAddress,
00513 ULONG *pServerPort,
00514 BYTE *pServerURL,
00515 BYTE *pServerURLLength );
00516
00545 ULONG SLQSPDSInjectAbsoluteTimeReference(
00546 ULONGLONG timeMsec,
00547 ULONG timeUncMsec,
00548 BYTE timeBase,
00549 BYTE forceFlag );
00550
00575 ULONG SLQSGetAGPSConfig(
00576 ULONG *pServerAddress,
00577 ULONG *pServerPort,
00578 BYTE *pServerURL,
00579 BYTE *pServerURLLength );
00580
00655 struct PDSPositionData
00656 {
00657 ULONGLONG *pTimeStamp;
00658 ULONGLONG *pLatitude;
00659 ULONGLONG *pLongitude;
00660 ULONG *pAltitudeWrtEllipsoid;
00661 ULONG *pAltitudeWrtSealevel;
00662 ULONG *pHorizontalUncCircular;
00663 ULONG *pVerticalUnc;
00664 BYTE *pHorizontalConfidence;
00665 BYTE *pVerticalConfidence;
00666 BYTE *pPositionSource;
00667 BYTE *pTimeType;
00668 };
00669
00685 ULONG SLQSPDSInjectPositionData( struct PDSPositionData *pPositionData );
00686
00687 #ifdef __cplusplus
00688 }
00689 #endif
00690
00691 #endif