|
LinuxSDK
V1.4.0.5
|
Contains source code for GSM APIs related to the Location Based Services. More...
Functions | |
| package SWI_API SWI_RCODE | SwiSetLbsPaKeepWarmStart (swi_uint32 timeout) |
| package SWI_API SWI_RCODE | SwiGetLbsPaWarmStatus (struct SWI_STRUCT_LbsPaWarmStatus *psLbsPaWarmStatus, swi_uint32 timeout) |
| package SWI_API SWI_RCODE | SwiSetLbsPaKeepWarmStop (swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiGetLbsFixSettings (struct SWI_STRUCT_LbsFixSettings *psLbsFixSettings, swi_uint32 timeout) |
| package SWI_API SWI_RCODE | SwiSetLbsFixSettings (struct SWI_STRUCT_LbsFixSettings *psLbsFixSettings, swi_uint32 timeout) |
| package SWI_API SWI_RCODE | SwiSetLbsNiReq (struct SWI_STRUCT_LbsNiReq *pLbsNiReq, swi_uint32 timeout) |
Contains source code for GSM APIs related to the Location Based Services.
Copyright: © 2011 Sierra Wireless, Inc. all rights reserved
| 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. |
| package 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. |
| package 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. |
| package 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. |
| package 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. |
| package 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. |