|
libpack
SLQS03.03.10
|
Position Determination Service API function prototypes. More...
Go to the source code of this file.
Data Structures | |
| struct | PDSPositionData |
| struct | GPSStateInfo |
| struct | PDSPosMethodStateReq |
Macros | |
| #define | DEFAULTBYTEVALUE 0xFF |
| #define | DEFAULTWORDVALUE 0xFFFF |
| #define | DEFAULTLONGVALUE 0xFFFFFFFF |
Enumerations | |
| enum | { eSetServiceAutomaticTrackingDisable =0, eSetServiceAutomaticTrackingEnable =1 } |
Position Determination Service API function prototypes.
| #define DEFAULTBYTEVALUE 0xFF |
| #define DEFAULTLONGVALUE 0xFFFFFFFF |
| #define DEFAULTWORDVALUE 0xFFFF |
| ULONG ForceXTRADownload | ( | ) |
Forces the XTRA database to be downloaded to the device.
| none |
Returns the default tracking session configuration. The tracking session configuration is used when a tracking session is automatically started using SetServiceAutomaticTracking or due to the device detecting an application opening the NMEA port.
| pOperation[OUT] |
|
| pTimeout[OUT] |
|
| pInterval[OUT] |
|
| pAccuracy[OUT] |
|
Returns the current PDS state.
| pEnabledStatus[OUT] |
|
| pTrackingStatus[OUT] |
|
Returns the automatic tracking configuration for the NMEA COM port.
| pbAuto[OUT] |
|
Returns the automatic tracking state for the service.
| pbAuto[OUT] |
|
Returns the XTRA automatic database download configuration.
| pbEnabled[OUT] |
|
| pInterval[OUT] |
|
Returns the XTRA WWAN network preference. When automatic XTRA database downloading is enabled this preference determines which WWAN networks will be used to perform the XTRA database download.
| pPreference[OUT] |
|
Returns the XTRA database validity period. When automatic XTRA database downloading is enabled the validity period determines when the XTRA database will be updated through a new download.
| pGPSWeek[OUT] |
|
| pGPSWeekOffset[OUT] |
|
| pDuration[OUT] |
|
Injects a system time into the PDS engine.
| systemTime |
|
| systemDiscontinuities |
|
Resets the specified PDS data.
| pGPSDataMask[IN] |
|
| pCellDataMask[IN] |
|
Sets the default tracking session configuration. The tracking session configuration is used when a tracking session is automatically started using SetServiceAutomaticTracking or due to the device detecting an application opening the NMEA port.
| operation |
|
| timeout |
|
| interval |
|
| accuracy |
|
Sets the PDS state.
| enable[IN] |
|
Sets the automatic tracking configuration for the NMEA COM port.
| bAuto[IN] |
|
Sets the automatic tracking state for the service. Tracking session being started using the default session configuration. Auto-tracking continues to generate fixes indefinitely until requested to be disabled. In StartPDSTrackingSessionExt a tracking session get started using the specified session control method and input parameters. After completion of requested no. of position fixes or service times out to perform fix, tracking session ends and GPS service deactivates.
| bAuto[IN] |
|
Sets the XTRA automatic database download configuration.
| bEnabled[IN] |
|
| interval[IN] |
|
Sets the XTRA WWAN network preference. When automatic XTRA database downloading is enabled this preference determines which WWAN networks will be used to perform the XTRA database download.
| preference[IN] |
|
| ULONG SLQSGetAGPSConfig | ( | ULONG * | pServerAddress, |
| ULONG * | pServerPort, | ||
| BYTE * | pServerURL, | ||
| BYTE * | pServerURLLength, | ||
| BYTE * | pNetworkMode | ||
| ) |
Gets the PDS AGPS (MS-based) configuration.
| pServerAddress[OUT] |
|
| pServerPort[OUT] |
|
| pServerURL[OUT] |
|
| pServerURLLength[OUT] |
|
| pNetworkMode[IN] |
|
| ULONG SLQSGetGPSStateInfo | ( | GPSStateInfo * | pGPSStateInfo | ) |
Queries the MSM GPS server for receiver state information
| pGPSStateInfo[OUT] |
|
| ULONG SLQSPDSDeterminePosition | ( | ) |
Requests the MSM GPS service to obtain the current position for manually controlled tracking sessions.
| ULONG SLQSPDSInjectAbsoluteTimeReference | ( | ULONGLONG | timeMsec, |
| ULONG | timeUncMsec, | ||
| BYTE | timeBase, | ||
| BYTE | forceFlag | ||
| ) |
Injects a absolute time reference into the PDS engine.
| timeMsec[IN] |
|
| timeUncMsec[IN] |
|
| timeBase[IN] |
|
| forceFlag[IN] |
|
| ULONG SLQSPDSInjectPositionData | ( | struct PDSPositionData * | pPositionData | ) |
Injects position data into the PDS engine.
| pPositionData[IN] |
|
| ULONG SLQSSetAGPSConfig | ( | ULONG * | pServerAddress, |
| ULONG * | pServerPort, | ||
| BYTE * | pServerURL, | ||
| BYTE * | pServerURLLength, | ||
| BYTE * | pNetworkMode | ||
| ) |
Sets the PDS AGPS (MS-based) configuration.
| pServerAddress[IN] |
|
| pServerPort[IN] |
|
| pServerURL[IN] |
|
| pServerURLLength[IN] |
|
| pNetworkMode[IN] |
|
| ULONG SLQSSetPositionMethodState | ( | PDSPosMethodStateReq * | pPDSPosMethodStateReq | ) |
Sets the state of positioning methods for the device.
| pPDSPosMethodStateReq[IN] |
|
| ULONG StartPDSTrackingSessionExt | ( | BYTE | sessionControl, |
| BYTE | sessionType, | ||
| BYTE | sessionOperation, | ||
| BYTE | sessionServerOption, | ||
| BYTE | fixTimeout, | ||
| ULONG | fixInterval, | ||
| ULONG | fixCount, | ||
| ULONG | fixAccuracy | ||
| ) |
This function starts a PDS tracking session.
| sessionControl[IN] |
|
| sessionType[IN] |
|
| sessionOperation[IN] |
|
| sessionServerOption[IN] |
|
| fixTimeout[IN] |
|
| fixCount[IN] |
|
| fixInterval[IN] |
|
| fixAccuracy[IN] |
|