|
LinuxSDK
V1.4.0.5
|
Header file for for GSM APIs related to the Location Based Services. More...
Go to the source code of this file.
Data Structures | |
| struct | SWI_STRUCT_LbsPaKeepWarmStart |
| struct | SWI_STRUCT_LbsPaWarmBegin |
| struct | SWI_STRUCT_LbsPaWarmStatus |
| struct | SWI_STRUCT_LbsPaWarmDone |
| struct | SWI_STRUCT_LbsPaKeepWarmStop |
| struct | SWI_STRUCT_LbsUserOptions |
| struct | SWI_STRUCT_LbsFixSettings |
| struct | SWI_STRUCT_LbsNiReq |
Macros | |
| #define | MAX_NUM_LBS_SV 12 |
| #define | LENGTH_LbsReqId 33 |
| #define | LENGTH_LbsClientName 33 |
Functions | |
| SWI_API SWI_RCODE | SwiSetLbsPaKeepWarmStart (swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiGetLbsPaWarmStatus (struct SWI_STRUCT_LbsPaWarmStatus *psLbsPaWarmStatus, swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiSetLbsPaKeepWarmStop (swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiGetLbsFixSettings (struct SWI_STRUCT_LbsFixSettings *psLbsFixSettings, swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiSetLbsFixSettings (struct SWI_STRUCT_LbsFixSettings *psLbsFixSettings, swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiSetLbsNiReq (struct SWI_STRUCT_LbsNiReq *pLbsNiReq, swi_uint32 timeout) |
Header file for for GSM APIs related to the Location Based Services.
Copyright: © 2011 Sierra Wireless, Inc. all rights reserved
| #define LENGTH_LbsClientName 33 |
Maximum client name length
| #define LENGTH_LbsReqId 33 |
Maximum requestor ID length
| #define MAX_NUM_LBS_SV 12 |
Maximum number of Satelites
| enum SWI_TYPE_LbsPaErr |
Enumeration of Keep Warm status
| Enumerator | |
|---|---|
| SWI_LBSPAWARMSTATUS_NotWarm | |
| SWI_LBSPAWARMSTATUS_Warm | |
Enumeration of LBS network initiated client name types.
| enum TYPE_LbsNiReqErrCode |
Enumeration of LBS network initiated error codes.
Used by SWI_STRUCT_LbsNiReq to indicate the status of the SwiLbsSetNiReq request.
| enum TYPE_LbsNiReqId |
| enum TYPE_LbsNiReqNotif |
Enumeration of LBS network initiated notification types.
Used by SWI_STRUCT_LbsNiReq to indicate whether the SWI_NOTIFY_LbsNiReq notification requires a user response.
| Enumerator | |
|---|---|
| LBSNIREQNOTIF_NotifyOnly |
No user response required. |
| LBSNIREQNOTIF_UserRespReq |
User must respond with SwiSetLbsNiReq. |
| enum TYPE_LbsNiReqResp |
Enumeration of LBS network initiated request responses.
| SWI_API SWI_RCODE SwiGetLbsFixSettings | ( | struct SWI_STRUCT_LbsFixSettings * | psLbsFixSettings, |
| swi_uint32 | timeout | ||
| ) |
Use this function to retrieve location fix settings stored on the device.
| psLbsSettings,: | [OUT] A pointer to a SWI_STRUCT_LbsFixSettings structure which contains location fix settings. |
| timeout,: | [IN] Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiGetLbsPaWarmStatus | ( | struct SWI_STRUCT_LbsPaWarmStatus * | psLbsPaWarmStatus, |
| swi_uint32 | timeout | ||
| ) |
Use this function to get the Keep Warm processing status.
| psLbsPaWarmStatus,: | [OUT] A pointer to a SWI_STRUCT_LbsPaWarmStatus structure which contains warm status information. |
| timeout,: | [IN] Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiSetLbsFixSettings | ( | struct SWI_STRUCT_LbsFixSettings * | psLbsFixSettings, |
| swi_uint32 | timeout | ||
| ) |
Use this function to change location fix settings stored on the device.
| psLbsSettings,: | [IN] A pointer to a SWI_STRUCT_LbsFixSettings structure which contains location fix settings. |
| timeout,: | [IN] Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiSetLbsNiReq | ( | struct SWI_STRUCT_LbsNiReq * | pLbsNiReq, |
| swi_uint32 | timeout | ||
| ) |
Use this function to respond to a network initiated location fix request.
The host is notified of a network initiated location fix request via SWI_NOTIFY_LbsNiReq.
| pLbsNiReq,: | [IN/OUT] A pointer to a SWI_STRUCT_LbsNiReq structure which contains network initiated request information. |
| timeout,: | [IN] Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiSetLbsPaKeepWarmStart | ( | swi_uint32 | timeout | ) |
Use this function to start Keep Warm processing.
This downloads GPS assistance data over the network. The status of the process can be monitored using:
| timeout,: | [IN] Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiSetLbsPaKeepWarmStop | ( | swi_uint32 | timeout | ) |
Use this function to stop the Keep Warm processing.
SWI_NOTIFY_LbsPaWarmDone is generated when the process completes.
| timeout,: | [IN] Function timeout in milliseconds. |