| CE Gobi SDK 2.7 GobiApi

- Main Page
- Modules
- Classes
- Files

- File List

QmiPDS.h
1 /*===========================================================================
2 FILE:
3 QmiCATAPI.h
4
5 DESCRIPTION:
6 QMI Position Determination Service APIs. Service type 0x06
7
8 Copyright (C) 2015 Sierra Wireless Incorporated. All rights reserved.
9 Sierra Wireless Proprietary/GTDR
10 ==========================================================================*/
11
12 #ifndef __QMI_PDS_API_H__
13 #define __QMI_PDS_API_H__
14 /*=========================================================================*/
15 // Definitions
16 /*=========================================================================*/
17
22
23 /*=========================================================================*/
24 // Structs
25 /*=========================================================================*/
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30 #ifdef __cplusplus
31 };
32 #endif
33
34 /*=========================================================================*/
35 // Prototypes
36 /*=========================================================================*/
37
48 IMPORTGOBI ULONG GOBICMAPI SetPDSStateCallback( tFNPDSState pCallback );
49
60 IMPORTGOBI ULONG GOBICMAPI SetNMEACallback( tFNNewNMEA pCallback );
61
72 QCIMPORT2K ULONG QCWWANAPI2K SetNMEAPlusCallback( tFNNewNMEAPlus pCallback );
73
84 IMPORTGOBI ULONG GOBICMAPI GetServiceAutomaticTracking( ULONG * pbAuto );
85
96 IMPORTGOBI ULONG GOBICMAPI SetServiceAutomaticTracking( ULONG bAuto );
97
109 IMPORTGOBI ULONG GOBICMAPI GetPortAutomaticTracking( ULONG * pbAuto );
110
122 IMPORTGOBI ULONG GOBICMAPI SetPortAutomaticTracking( ULONG bAuto );
123
135 IMPORTGOBI ULONG GOBICMAPI ResetPDSData(
136 ULONG * pGPSDataMask,
137 ULONG * pCellDataMask );
138
148 IMPORTGOBI ULONG GOBICMAPI GetAGPSProtocol( ULONG * pProtocol );
149
159 IMPORTGOBI ULONG GOBICMAPI SetAGPSProtocol( ULONG protocol );
160
172 IMPORTGOBI ULONG GOBICMAPI GetAGPSConfig(
173 ULONG * pServerAddress,
174 ULONG * pServerPort );
175
187 IMPORTGOBI ULONG GOBICMAPI SetAGPSConfig(
188 ULONG serverAddress,
189 ULONG serverPort );
190
200 IMPORTGOBI ULONG GOBICMAPI GetXTRATimeState( ULONG * pState );
201
212 IMPORTGOBI ULONG GOBICMAPI SetXTRATimeState( ULONG state );
213
222 IMPORTGOBI ULONG GOBICMAPI ForceXTRADownload();
223
234 IMPORTGOBI ULONG GOBICMAPI GetXTRADataState( ULONG * pState );
235
244 IMPORTGOBI ULONG GOBICMAPI SetXTRADataState( ULONG state );
245
258 IMPORTGOBI ULONG GOBICMAPI GetXTRAValidity(
259 USHORT * pGPSWeek,
260 USHORT * pGPSWeekOffset,
261 USHORT * pDuration );
262
274 IMPORTGOBI ULONG GOBICMAPI GetPDSState(
275 ULONG * pEnabled,
276 ULONG * pTracking );
277
287 IMPORTGOBI ULONG GOBICMAPI SetPDSState( ULONG enable );
288
300 IMPORTGOBI ULONG GOBICMAPI PDSInjectTimeReference(
301 ULONGLONG systemTime,
302 USHORT systemDiscontinuities );
303
317 IMPORTGOBI ULONG GOBICMAPI GetPDSDefaults(
318 ULONG * pOperation,
319 BYTE * pTimeout,
320 ULONG * pInterval,
321 ULONG * pAccuracy );
322
336 IMPORTGOBI ULONG GOBICMAPI SetPDSDefaults(
337 ULONG operation,
338 BYTE timeout,
339 ULONG interval,
340 ULONG accuracy );
341
353 IMPORTGOBI ULONG GOBICMAPI GetXTRAAutomaticDownload(
354 ULONG * pbEnabled,
355 USHORT * pInterval );
356
368 IMPORTGOBI ULONG GOBICMAPI SetXTRAAutomaticDownload(
369 ULONG bEnabled,
370 USHORT interval );
371
382 IMPORTGOBI ULONG GOBICMAPI GetXTRANetwork( ULONG * pPreference );
383
394 IMPORTGOBI ULONG GOBICMAPI SetXTRANetwork( ULONG preference );
395
407 QCIMPORT2K ULONG QCWWANAPI2K StartPDSTrackingSession( ULONG fixInterval );
408
409
417 QCIMPORT2K ULONG QCWWANAPI2K StopPDSTrackingSession();
418 // End of PDS group
420 #endif
SetNMEAPlusCallback
QCIMPORT2K ULONG QCWWANAPI2K SetNMEAPlusCallback(tFNNewNMEAPlus pCallback)
StartPDSTrackingSession
QCIMPORT2K ULONG QCWWANAPI2K StartPDSTrackingSession(ULONG fixInterval)
SetPDSStateCallback
IMPORTGOBI ULONG GOBICMAPI SetPDSStateCallback(tFNPDSState pCallback)
SetServiceAutomaticTracking
IMPORTGOBI ULONG GOBICMAPI SetServiceAutomaticTracking(ULONG bAuto)
SetXTRADataState
IMPORTGOBI ULONG GOBICMAPI SetXTRADataState(ULONG state)
SetXTRAAutomaticDownload
IMPORTGOBI ULONG GOBICMAPI SetXTRAAutomaticDownload(ULONG bEnabled, USHORT interval)
SetPDSState
IMPORTGOBI ULONG GOBICMAPI SetPDSState(ULONG enable)
GetXTRAValidity
IMPORTGOBI ULONG GOBICMAPI GetXTRAValidity(USHORT *pGPSWeek, USHORT *pGPSWeekOffset, USHORT *pDuration)
StopPDSTrackingSession
QCIMPORT2K ULONG QCWWANAPI2K StopPDSTrackingSession()
GetPDSDefaults
IMPORTGOBI ULONG GOBICMAPI GetPDSDefaults(ULONG *pOperation, BYTE *pTimeout, ULONG *pInterval, ULONG *pAccuracy)
PDSInjectTimeReference
IMPORTGOBI ULONG GOBICMAPI PDSInjectTimeReference(ULONGLONG systemTime, USHORT systemDiscontinuities)
GetXTRADataState
IMPORTGOBI ULONG GOBICMAPI GetXTRADataState(ULONG *pState)
GetAGPSConfig
IMPORTGOBI ULONG GOBICMAPI GetAGPSConfig(ULONG *pServerAddress, ULONG *pServerPort)
GetAGPSProtocol
IMPORTGOBI ULONG GOBICMAPI GetAGPSProtocol(ULONG *pProtocol)
SetXTRATimeState
IMPORTGOBI ULONG GOBICMAPI SetXTRATimeState(ULONG state)
SetNMEACallback
IMPORTGOBI ULONG GOBICMAPI SetNMEACallback(tFNNewNMEA pCallback)
ResetPDSData
IMPORTGOBI ULONG GOBICMAPI ResetPDSData(ULONG *pGPSDataMask, ULONG *pCellDataMask)
SetAGPSProtocol
IMPORTGOBI ULONG GOBICMAPI SetAGPSProtocol(ULONG protocol)
GetXTRAAutomaticDownload
IMPORTGOBI ULONG GOBICMAPI GetXTRAAutomaticDownload(ULONG *pbEnabled, USHORT *pInterval)
GetXTRANetwork
IMPORTGOBI ULONG GOBICMAPI GetXTRANetwork(ULONG *pPreference)
SetPortAutomaticTracking
IMPORTGOBI ULONG GOBICMAPI SetPortAutomaticTracking(ULONG bAuto)
GetPortAutomaticTracking
IMPORTGOBI ULONG GOBICMAPI GetPortAutomaticTracking(ULONG *pbAuto)
ForceXTRADownload
IMPORTGOBI ULONG GOBICMAPI ForceXTRADownload()
GetXTRATimeState
IMPORTGOBI ULONG GOBICMAPI GetXTRATimeState(ULONG *pState)
SetPDSDefaults
IMPORTGOBI ULONG GOBICMAPI SetPDSDefaults(ULONG operation, BYTE timeout, ULONG interval, ULONG accuracy)
SetXTRANetwork
IMPORTGOBI ULONG GOBICMAPI SetXTRANetwork(ULONG preference)
GetPDSState
IMPORTGOBI ULONG GOBICMAPI GetPDSState(ULONG *pEnabled, ULONG *pTracking)
SetAGPSConfig
IMPORTGOBI ULONG GOBICMAPI SetAGPSConfig(ULONG serverAddress, ULONG serverPort)
GetServiceAutomaticTracking
IMPORTGOBI ULONG GOBICMAPI GetServiceAutomaticTracking(ULONG *pbAuto)