|
LinuxSDK
V1.4.0.5
|
This file contains definitions, enumerations, structures and forward declarations for SwiApiGsmNetwork.c file. More...
Go to the source code of this file.
Data Structures | |
| struct | SWI_STRUCT_ByteCounter |
| struct | SWI_STRUCT_Rssi |
| struct | SWI_STRUCT_GsmCellMeasure |
| struct | SWI_STRUCT_GsmCellInfo |
| struct | SWI_STRUCT_Rat |
| struct | SWI_STRUCT_PrlRegion |
| struct | SWI_STRUCT_PlmnSelection |
| struct | SWI_STRUCT_GsmSystemStatus |
| struct | SWI_STRUCT_RscpEcIoInfo |
| struct | SWI_STRUCT_RscpEcIo |
| struct | SWI_STRUCT_Profile |
| struct | SWI_STRUCT_ProfileStatus |
| struct | SWI_STRUCT_ProfileSummary |
| struct | SWI_STRUCT_GsmProfileSummary |
| struct | SWI_STRUCT_GsmProfileBasic |
| struct | SWI_STRUCT_GsmProfileQos |
| struct | SWI_STRUCT_GsmProfileDns |
| struct | SWI_STRUCT_GsmProfileTft |
| struct | SWI_STRUCT_PktSessionStatus |
| struct | SWI_STRUCT_PktSessionCall |
| struct | SWI_STRUCT_IpAddress |
| struct | SWI_STRUCT_GSM_NetworkStatus |
| struct | SWI_STRUCT_PlmnReady |
| struct | SWI_STRUCT_PlmnMode |
| struct | SWI_STRUCT_Registration |
| struct | SWI_STRUCT_PlmnAvailable |
| struct | SWI_STRUCT_ServiceIcon |
This file contains definitions, enumerations, structures and forward declarations for SwiApiGsmNetwork.c file.
Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved
| #define LENGTH_AbvPLMN (13 * UTF8_MAX_CHAR_SIZE) + 1 |
| #define LENGTH_BootBuildDate 9 |
| #define LENGTH_CallExtendedNumber 64 /* Max Ext'd Caller ID lngth */ |
| #define LENGTH_CallNumber 32 /* Max Caller ID length */ |
| #define LENGTH_CNS_PLMN_MODE_SET_PARAM 5 |
| #define LENGTH_CNS_PROFILE_AUTH_GET 3 |
| #define LENGTH_CNS_PROFILE_READ_PARAM 3 |
| #define LENGTH_CNS_PROFILE_WRITE_MAX 245 |
| #define LENGTH_CommPort 7 |
| #define LENGTH_Country (3 * UTF8_MAX_CHAR_SIZE) + 1 |
| #define LENGTH_DriverName 100 |
| #define LENGTH_HardwareId 50 |
| #define LENGTH_HdrUati 16 |
| #define LENGTH_IPAddress 16 |
| #define LENGTH_LogFileName 128 |
| #define LENGTH_MacAddress 6 |
| #define LENGTH_MaxPPPString 33 |
| #define LENGTH_MCCMNC_BUFFER 3 |
| #define LENGTH_MCCMNC_TEXT 6 |
| #define LENGTH_MEPCode 13 |
| #define LENGTH_ModemName 75 |
| #define LENGTH_Network (8 * UTF8_MAX_CHAR_SIZE) + 1 |
| #define LENGTH_PLMN (31 * UTF8_MAX_CHAR_SIZE) + 1 |
| #define LENGTH_ProductName 20 |
| #define LENGTH_RsvdGsmProfileBasic 11 |
| #define LENGTH_SdkPathName 128 |
| #define LENGTH_SectorId 16 |
| #define LENGTH_SPN (16 * UTF8_MAX_CHAR_SIZE) + 1 |
| #define LENGTH_TimeStamp 16 |
| #define LENGTH_UnlockKey 11 |
| #define LENGTH_UsbdBuildDate 9 |
| #define LENGTH_UsbdVersion 85 |
| #define LENGTH_USSDInputExp 230 |
| #define LENGTH_WAPUri 128 |
| #define MAX_AIR_SERVERS 50 /* Must be < than a frame. */ |
| #define MAX_BAND_GROUPS 50 |
| #define MAX_BAND_LIST 50 |
| #define MAX_CELLS 6 |
| #define MAX_NOTIF_LIST 122 |
| #define MAX_NUM_LBS_SV 12 |
| #define NUMVALUE_WIMAX 80216 |
| #define OBJ_LENGTH_AbvPLMN 26 |
| #define OBJ_LENGTH_Country 6 |
| #define OBJ_LENGTH_GetPrlRegion 2 |
| #define OBJ_LENGTH_GetRat 2 |
| #define OBJ_LENGTH_Network 16 |
| #define OBJ_LENGTH_Password 128 |
| #define OBJ_LENGTH_PLMN 62 |
| #define OBJ_LENGTH_SetPrlRegion 3 |
| #define OBJ_LENGTH_SetRat 3 |
| #define OBJ_LENGTH_SPN 32 |
| #define OBJ_LENGTH_UserName 128 |
| #define OBJ_PROFILE_AUTH_NUMOBJ 2 /* can only set username & password */ |
| #define OBJ_TYPE_Password 0x01 |
| #define OBJ_TYPE_UserName 0x00 |
| #define PLMN_FORBIDDEN 0x02 |
| #define PLMN_GPRS_BIT 0x10 |
| #define PLMN_HOME 0x04 |
| #define PLMN_REGISTERED 0x01 |
| #define PLMN_WEAK 0x08 |
An enumeration of authentication types.
| Enumerator | |
|---|---|
| SWI_PDPAUTHENTICATION_None |
No authentication |
| SWI_PDPAUTHENTICATION_Pap |
PAP authentication (default) |
| SWI_PDPAUTHENTICATION_Chap |
CHAP authentication |
| enum SWI_TYPE_Delay |
An enumeration of quality of service delay types.
| Enumerator | |
|---|---|
| SWI_DELAY_Subscribed |
Subscribed delay |
| SWI_DELAY_Low |
Low delay |
| SWI_DELAY_Medium |
Medium delay |
| SWI_DELAY_High |
High delay |
| SWI_DELAY_BestEffort |
Best effort delay |
An enumeration of packet session inactivity reason types.
An enumeration of quality of service mean throughput types.
| enum SWI_TYPE_MncFormat |
An enumeration of MNC formats
| Enumerator | |
|---|---|
| SWI_MNCFORMAT_2Digit |
2 digit format |
| SWI_MNCFORMAT_3Digit |
3 digit format |
| enum SWI_TYPE_ModemStatus |
An enumeration of modem power status.
| Enumerator | |
|---|---|
| SWI_MODEMSTATUS_Offline |
Offline |
| SWI_MODEMSTATUS_Online |
Online |
| SWI_MODEMSTATUS_Lpm |
Lower power mode |
| enum SWI_TYPE_Network |
An enumeration of network types.
An enumeration of PDP initiated types.
An enumeration of quality of service peak throughput types.
| enum SWI_TYPE_PLMN_Mode |
| enum SWI_TYPE_PLMN_Result |
An enumeration of result codes for a network selection.
| enum SWI_TYPE_Precedence |
An enumeration of quality of service precedence types.
| Enumerator | |
|---|---|
| SWI_PRECED_Subscribed |
Subscribed precedence |
| SWI_PRECED_HighPriority |
High priority |
| SWI_PRECED_MediumPriority |
Medium priority |
| SWI_PRECED_LowPriority |
Low priority |
An enumeration of PRL region mode change status returned by
| Enumerator | |
|---|---|
| SWI_PRLCHANGE_Success |
request successful |
| SWI_PRLCHANGE_InvalidPassword |
invalid password key |
| SWI_PRLCHANGE_GeneralFailure |
general failure |
| enum SWI_TYPE_PrlRegion |
An enumeration of PRL regions.
| enum SWI_TYPE_ProfileAuth |
| enum SWI_TYPE_ProfileInfo |
An enumeration of GSM profile information types.
| Enumerator | |
|---|---|
| SWI_PROFILEINFO_Basic | |
| SWI_PROFILEINFO_Qos |
Basic |
| SWI_PROFILEINFO_Dns |
Quality of service |
| SWI_PROFILEINFO_Tft |
Domain name service Traffic flow template |
An enumeration of profile states
An enumeration of UMTS bit rate values.
An enumeration of UMTS residual bit error ratio values.
An enumeration of UMTS SDU error ratio values.
| enum SWI_TYPE_RatMode |
An enumeration of Radio Access Technology (RAT) mode.
| enum SWI_TYPE_Reliability |
An enumeration of quality of service reliability types.
Defines the roaming states returned by the modem.
| Enumerator | |
|---|---|
| SWI_ROAMING_Home |
not roaming |
| SWI_ROAMING_Roaming |
roaming |
| SWI_ROAMING_NonPref |
no roaming information |
| SWI_ROAMING_None |
unknown roaming state |
| enum SWI_TYPE_Service |
| enum SWI_TYPE_ServiceErr |
An enumeration of service errors types.
| Enumerator | |
|---|---|
| SWI_SERVICEERR_None |
No error |
| SWI_SERVICEERR_Unspecified |
Unspecified protocol error |
An enumeration of network service status types.
| enum SWI_TYPE_ServiceType |
An enumeration of service types.
For modems capable of both circuit switched(GSM) as well as packet (GPRS) data operations, this enumerated type identifies the type of service currently available.
| SWI_API SWI_RCODE SwiActivateProfile | ( | const swi_uint32 | nProfileID, |
| swi_bool | Activate, | ||
| swi_uint32 | timeout | ||
| ) |
This function initiates or destroys a packet session.
| nProfileID,: | [IN] Profile ID to acted on. Profile ID ranges from 1-16 for 3G and newer devices and 1-3 for older (AC7xx and MP7xx) devices. |
| Activate,: | [IN] True if the profile should be activated. False if the profile should be deactivated. |
| timeout,: | [IN] Response timeout value in milliseconds. |
| SWI_API SWI_RCODE SwiEraseProfile | ( | const swi_uint32 | nProfileID, |
| swi_uint32 | timeout | ||
| ) |
This function will erase the account information from a profile and restore to factory defaults. The profile will then report a status of "deleted".
| nProfileID,: | [IN] Profile ID to be erased. Profile ID ranges from 1-16 for 3G and newer devices and 1-3 for older (AC7xx and MP7xx) devices. |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetGsmProfileBasic | ( | struct SWI_STRUCT_GsmProfileBasic * | pProfile, |
| swi_uint32 | timeout | ||
| ) |
This function retrieves the basic details of a connection profile.
This function is used with 3G and newer devices. For older devices, use SwiGetProfile.
Calling this function on profile that is not present (deleted) returns default profile settings.
SWI_NOTIFY_GsmProfileChange can be used to monitor for changes made to profile information.
| pProfile,: | [OUT] Basic profile information |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetGsmProfileDns | ( | struct SWI_STRUCT_GsmProfileDns * | pProfile, |
| swi_uint32 | timeout | ||
| ) |
This function retrieves the DNS details of a connection profile.
This function is used with 3G and newer devices. For older devices, use SwiGetProfile.
Calling this function on profile that is not present (deleted) returns default profile settings.
SWI_NOTIFY_GsmProfileChange can be used to monitor for changes made to profile information.
| pProfile,: | [OUT] DNS profile information |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetGsmProfileQos | ( | struct SWI_STRUCT_GsmProfileQos * | pProfile, |
| swi_uint32 | timeout | ||
| ) |
This function retrieves the QoS details of a connection profile.
This function is used with 3G and newer devices. For older devices, use SwiGetProfile.
Calling this function on profile that is not present (deleted) returns default profile settings.
SWI_NOTIFY_GsmProfileChange can be used to monitor for changes made to profile information.
| pProfile,: | [OUT] QoS profile information |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetGsmProfileSummary | ( | struct SWI_STRUCT_GsmProfileSummary * | pProfileSummary, |
| swi_uint32 | timeout | ||
| ) |
This function returns a summary of the status of all account profiles, and identifies which one is the default profile for auto connection.
Use this function with 3G and newer devices. SwiGetProfileSummary should be used with older devices.
The summary reports the status of each profile along with its context number. The summary structure reports two profile context identities: one for the default profile used for automatic activation, and another to identify the current profile that is actively connected to the network (activated). If the modem is not currently connected, the current profile context is reported as zero.
| pProfileSummary,: | [OUT] Profile summary information |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetGsmProfileTft | ( | struct SWI_STRUCT_GsmProfileTft * | pProfile, |
| swi_uint32 | timeout | ||
| ) |
This function retrieves the TFT details of a connection profile.
This function is used with 3G and newer devices. Older devices do not support TFT configurations.
Calling this function on profile that is not present (deleted) returns default profile settings.
SWI_NOTIFY_GsmProfileChange can be used to monitor for changes made to profile information.
| pProfile,: | [OUT] TFT profile information |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetGsmSystemStatus | ( | struct SWI_STRUCT_GsmSystemStatus * | pSysStatus, |
| swi_uint32 | timeout | ||
| ) |
This function is used to retrieve the GSM system status.
This function replaces SwiGetNetworkStatus.
Use of this function should be limited. SWI_NOTIFY_GsmSystemStatus notification is generated when there is a change in the system status information. Use of notifications is preferred over direct polling.
This function is only supported on GSM devices.
| pSysStatus,: | [OUT] System status |
| timeout,: | [IN] Response timeout value in milliseconds. |
| SWI_API SWI_RCODE SwiGetIPAddressEx | ( | struct SWI_STRUCT_IpAddress * | pIp, |
| swi_uint32 | timeout | ||
| ) |
This function retrieves the IP address of the specified profile.
This function is only supported on GSM devices.
| pIp,: | [OUT] IP address information. ProfileId of the IP address structure must be specified before calling this function. |
| timeout,: | [IN] Response timeout value in milliseconds. |
| SWI_API SWI_RCODE SwiGetPktSessionStatus | ( | struct SWI_STRUCT_PktSessionStatus * | sSessionStatus, |
| swi_uint32 | timeout | ||
| ) |
This function is used to fetch the packet session status of the modem.
This function has been deprecated and SwiGetPktSessionStatusEx() should be used instead.
| sSessionStatus,: | [OUT] Packet session status |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetPktSessionStatusEx | ( | struct SWI_STRUCT_PktSessionCall * | sPktSessionCall, |
| swi_uint32 | timeout | ||
| ) |
This API is used to fetch the packet session status of the modem.
This API replaces the old API SwiGetPktSessionStatus()
This API is only supported on GSM devices.
| sSessionStatus,: | [IN/OUT] Packet session status containing profileID |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetPLMNMode | ( | enum SWI_TYPE_PLMN_Mode * | eMode, |
| swi_uint32 | timeout | ||
| ) |
This function is used to fetch the PLMN selection mode of the modem.
The modem PLMN selection mode will be either Automatic or Manual.
This function is only supported on GSM devices.
| eMode,: | [OUT] PLMN selection mode |
| timeout,: | [OUT] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetPLMNSelection | ( | struct SWI_STRUCT_PlmnSelection * | sPlmn, |
| swi_uint32 | timeout | ||
| ) |
The PLMN scan initiated by SwiStartPLMNSearch compiles a list of PLMNs in the area. This function is used to retrieve a single PLMN from that list.
This function is only supported on GSM devices.
| sPlmn,: | [OUT] PLMN information |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetPrlRegion | ( | struct SWI_STRUCT_PrlRegion * | psPrl, |
| swi_uint32 | timeout | ||
| ) |
This function allows the host to get the PRL Region of the device. The PRL Region setting determines the scan order and grouping of the GSM and WCDMA bands.
| sPrl:[OUT] | PRL region information. The structure size must be populated by the caller. |
| timeout:[IN] | Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetRat | ( | struct SWI_STRUCT_Rat * | psRat, |
| swi_uint32 | timeout | ||
| ) |
This function allows the host to get the RAT mode of the device. This function is only supported on GSM devices.
| psRat,: | [OUT] RAT mode information. |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetRscpEcIo | ( | struct SWI_STRUCT_RscpEcIo * | pRscpEcIo, |
| swi_uint32 | timeout | ||
| ) |
This function is used to retrieve the RSCP and Ec/Io measurements.
Use of this function should be limited. SWI_NOTIFY_RscpEcIo notification is generated when there is a change in the information. Use of notifications is preferred over direct polling.
This function is only supported on GSM devices.
| pRscpEcIo,: | [OUT] RSCP and Ec/Io measurements. |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiGetRssiBars | ( | const swi_int32 | iRssi, |
| swi_uint32 * | pNumBars | ||
| ) |
This function maps RSSI values to the number of RSSI bars that should be shown to the user. It will output 0 to 5 RSSI bars.
This function is only supported on GSM devices.
| iRssi,: | [IN] RSSI value in dBm to be converted to number of RSSI bars. |
| pNumBars,: | [OUT] Number of RSSI bars to be displayed. |
| SWI_API SWI_RCODE SwiGetRssiBer | ( | struct SWI_STRUCT_Rssi * | sRssiBer, |
| swi_uint32 | timeout | ||
| ) |
Function Prototypes
This function is used to fetch the current received signal strength indication (RSSI) and bit error rate (BER) from the modem.
The RSSI values are measured in dBm. A return value approaching -110 indicates that the modem is outside of coverage or the signal is weak.
Use of this function should be reserved to application startup. There is a notification available in the GPRS API (SWI_NOTIFY_Rssi) that also includes a measure of the Block Error Rate (BER). Use of notifications is preferred over direct polling.
This function is only supported on GSM devices.
| sRssiBer,: | [OUT] RSSI and BER values |
| timeout,: | [IN] Response timeout value in milliseconds. |
| SWI_API SWI_RCODE SwiGetServiceStatusEx | ( | enum SWI_TYPE_ServiceStatus * | eServiceStatus, |
| swi_uint32 | timeout | ||
| ) |
This function requests the current service status from the modem.
Use of this function should be limited. There is a notification available in the GPRS API (SWI_NOTIFY_NetworkStatus or SWI_NOTIFY_GsmSystemStatus) that reports this data along with other useful service parameters. Use of notifications is preferred over direct polling.
This function is only supported on GSM devices.
| eServiceStatus,: | [OUT] Service status |
| timeout,: | [IN] Response timeout value in milliseconds. |
| SWI_API SWI_RCODE SwiGetTrafficStatistics | ( | swi_uint32 * | nSent, |
| swi_uint32 * | nReceived, | ||
| swi_uint32 | timeout | ||
| ) |
This function is called to retrieve network traffic statistics (the number of bytes transmitted and received).
The traffic counters are reset to zero when the connection is dropped. While disconnected, this will report zeros. The traffic count is user payload data only and does not include network housekeeping traffic or SMS messages.
| nSent,: | [OUT] Number of bytes sent |
| nReceived,: | [OUT] Number of bytes received |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiResetTrafficStatistics | ( | swi_uint32 | timeout | ) |
This function is used to reset the modem's byte data counters.
If not explicitly reset, byte counter information is persistent across PDP context activations.
This function is only supported on GSM devices.
| timeout,: | [IN] Response timeout value in milliseconds. |
| SWI_API SWI_RCODE SwiSetDefaultProfile | ( | const swi_uint32 | nProfileID, |
| swi_uint32 | timeout | ||
| ) |
This function sets which profile is to be used for possible automatic connection. If the profile that is set to be the default has the auto connection flag set to true, then that profile will be used to connect to the network automatically when the modem is started or reset.
The modem does not verify that the profile contains a valid (non-blank) account. You can set the default to a "deleted" profile; the autoconnect flag will be false so this is equivalent to disabling autoconnection.
| nProfileID,: | [IN] Profile ID to be made the default. Profile ID ranges from 1-16 for 3G and newer devices and 1-3 for older (AC7xx and MP7xx) devices. |
| timeout,: | [IN] Response timeout value in milliseconds. |
| SWI_API SWI_RCODE SwiSetGsmProfileBasic | ( | struct SWI_STRUCT_GsmProfileBasic | pProfile, |
| swi_uint32 | timeout | ||
| ) |
This function stores the basic user account information in a profile slot, making it available for connection.
This function is used with 3G and newer devices. For older devices, use SwiSetProfile.
| pProfile,: | [IN] Basic profile information to be updated on the modem. The profile ID and size of the structure must be provided by the caller. |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiSetGsmProfileDns | ( | struct SWI_STRUCT_GsmProfileDns | pProfile, |
| swi_uint32 | timeout | ||
| ) |
This function stores the DNS user account information in a profile slot.
This function is used with 3G and newer devices. For older devices, use SwiSetProfile.
| pProfile,: | [IN] DNS profile information to be updated on the modem. The profile ID and size of the structure must be provided by the caller. |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiSetGsmProfileQos | ( | struct SWI_STRUCT_GsmProfileQos | pProfile, |
| swi_uint32 | timeout | ||
| ) |
This function stores the QoS user account information in a profile slot.
This function is used with 3G and newer devices. For older devices, use SwiSetProfile.
| pProfile,: | [IN] QoS profile information to be updated on the modem. The profile ID and size of the structure must be provided by the caller. |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiSetGsmProfileTft | ( | struct SWI_STRUCT_GsmProfileTft | pProfile, |
| swi_uint32 | timeout | ||
| ) |
This function stores the TFT user account information in a profile slot.
This function is used with 3G and newer devices. Older devices do not support TFT configurations.
| pProfile,: | [IN] TFT profile information to be updated on the modem. The profile ID and size of the structure must be provided by the caller. |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiSetHostStartup | ( | swi_bool | bStartup, |
| swi_uint32 | timeout | ||
| ) |
This function controls the radio power state.
This function is similar to SwiSetModemDisable. When called to "shutdown" the radio, the modem will detach from the network and power down the radio. Unlike SwiSetModemDisable, however, this powered down state is NOT persistent across modem power cycles.
When called to "startup" the radio, the modem will power on the radio and attempt to attach to a network (if available).
It is recommended that this function be called with the "shutdown" parameter when the host application shuts down or when the PC enters a suspend state.
It is recommended that this function be called with the "startup" parameter when the host application initially starts up and after resuming from a PC suspend state.
A change in the radio's power state will be signaled with a SWI_NOTIFY_ModemDisabled indication.
This function is only supported on GSM devices.
| bStartup,: | [IN] Set to true to power up the radio and attempt to attach to a network (if available). Set to false to detach from the network and power down the radio. |
| timeout,: | [IN] Response timeout value in milliseconds. |
| SWI_API SWI_RCODE SwiSetPLMNMode | ( | const struct SWI_STRUCT_PlmnSelection | sPlmn, |
| swi_uint32 | timeout | ||
| ) |
This function is used to set the PLMN selection mode of the modem.
The mode can be set to automatic or manual. The PLMN must be specified for the manual mode. Use SwiStartPLMNSearch to search for a list of available PLMNs before switching to manual mode.
This function is only supported on GSM devices.
| sPlmn,: | [IN] PLMN selection mode information |
| timeout,: | [IN] Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiSetPrlRegion | ( | struct SWI_STRUCT_PrlRegion * | psPrl, |
| swi_uint32 | timeout | ||
| ) |
This function allows the host to set the PRL Region of the device. The PRL Region setting determines the scan order and grouping of the GSM and WCDMA bands.
| sPrl:[IN/OUT] | PRL region information. The structure size, PRL region and the password to unlock API must be populated by the caller. The action result is returned. |
| timeout:[IN] | Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiSetRat | ( | struct SWI_STRUCT_Rat * | psRat, |
| swi_uint32 | timeout | ||
| ) |
This function allows the host to set the RAT mode of the device. This function is only supported on GSM devices.
| psRat | [IN/OUT] RAT information. The structure size and RAT mode type must be supplied by the caller. The action result is returned. |
| timeout | [IN]: Response timeout value in milliseconds |
| SWI_API SWI_RCODE SwiStartPLMNSearch | ( | swi_uint32 | timeout | ) |
This function is used to initiate a PLMN scan. In general this is done before switching to manual PLMN selection mode.
This function should not be called until the SWI_NOTIFY_PlmnReady notification has been received.
This function is only supported on GSM devices.
| timeout,: | [IN] Response timeout value in milliseconds |