|
LinuxQMISDK
SLQS03.03.08
|
Network Access Service API function prototypes. More...
Go to the source code of this file.
Macros | |
| #define | SLQS_SS_INFO_LIST_MAX_ELEMENTS 18 |
| #define | MAX_DESCRIPTION_LENGTH 255 |
| #define | SLQS_SYSTEM_ID_SIZE 16 |
| #define | PLMN_LENGTH 3 |
| #define | MAX_SERV_SYSTEM_RADIO_INTERFACES 0x0A |
| #define | MAX_DATA_SRV_CAPABILITIES 0x20 |
| #define | NAM_NAME_LENGTH 12 |
| #define | IMSI_M_S1_LENGTH 7 |
| #define | IMSI_M_S2_LENGTH 3 |
| #define | MAX_PILOT_SETS 0xFF |
| #define | UATISIZE 16 |
Typedefs | |
| typedef struct _slqsNetworkScanInfo | slqsNetworkScanInfo |
| typedef struct _sysSelectPrefParams | sysSelectPrefParams |
| typedef struct _sysSelectPrefInfo | sysSelectPrefInfo |
Network Access Service API function prototypes.
Copyright: © 2011-2014 Sierra Wireless, Inc. all rights reserved
| #define IMSI_M_S1_LENGTH 7 |
| #define IMSI_M_S2_LENGTH 3 |
| #define MAX_DATA_SRV_CAPABILITIES 0x20 |
| #define MAX_DESCRIPTION_LENGTH 255 |
| #define MAX_PILOT_SETS 0xFF |
| #define MAX_SERV_SYSTEM_RADIO_INTERFACES 0x0A |
| #define NAM_NAME_LENGTH 12 |
| #define PLMN_LENGTH 3 |
| #define SLQS_SS_INFO_LIST_MAX_ELEMENTS 18 |
| #define SLQS_SYSTEM_ID_SIZE 16 |
| #define UATISIZE 16 |
| typedef struct _slqsNetworkScanInfo slqsNetworkScanInfo |
Contain the network scan information.
| pNetworkInfoInstances[IN/OUT] |
|
| pNetworkInfo[OUT] |
|
| pRATInstances[IN/OUT] |
|
| pRATInfo[OUT] |
|
| typedef struct _sysSelectPrefInfo sysSelectPrefInfo |
Structure for storing the current preferred system selection settings for the device.
| pEmerMode |
|
| pModePref |
|
| pBandPref |
|
| pPRLPref |
|
| pRoamPref |
|
| pLTEBandPref |
|
| pNetSelPref |
|
| pSrvDomainPref |
|
| pGWAcqOrderPref |
|
| typedef struct _sysSelectPrefParams sysSelectPrefParams |
Contain the system selection preferences.
| pEmerMode |
|
| pModePref |
|
| pBandPref |
|
| pPRLPref |
|
| pRoamPref |
|
| pLTEBandPref |
|
| pNetSelPref | - netSelectionPref
|
| pChgDuration |
|
| pMNCIncPCSDigStat |
|
| pSrvDomainPref |
|
| pGWAcqOrderPref |
|
Retreives information about the access overload class (ACCOLC)
| pACCOLC[OUT] |
|
AN-AAA authentication status of the device.
| pStatus[OUT] |
|
| ULONG GetCDMANetworkParameters | ( | BYTE * | pSCI, |
| BYTE * | pSCM, | ||
| BYTE * | pRegHomeSID, | ||
| BYTE * | pRegForeignSID, | ||
| BYTE * | pRegForeignNID, | ||
| BYTE * | pForceRev0, | ||
| BYTE * | pCustomSCP, | ||
| ULONG * | pProtocol, | ||
| ULONG * | pBroadcast, | ||
| ULONG * | pApplication, | ||
| ULONG * | pRoaming | ||
| ) |
Gets the current CDMA network parameters
| pSCI[OUT] |
|
| pSCM[OUT] |
|
| pRegHomeSID[OUT] |
|
| pRegForeignSID[OUT] |
|
| pRegForeignNID[OUT] |
|
| pForceRev0[OUT] |
|
| pCustomSCP[OUT] |
|
| pProtocol[OUT] |
|
| pBroadcast[OUT] |
|
| pApplication[OUT] |
|
| pRoaming[OUT] |
|
| ULONG GetHomeNetwork | ( | WORD * | pMCC, |
| WORD * | pMNC, | ||
| BYTE | nameSize, | ||
| CHAR * | pName, | ||
| WORD * | pSID, | ||
| WORD * | pNID | ||
| ) |
Retreives information about the home network of the device.
| pMCC[OUT] |
|
| pMNC[OUT] |
|
| nameSize |
|
| pName[OUT] |
|
| pSID[OUT] |
|
| pNID[OUT] |
|
| ULONG GetNetworkPreference | ( | ULONG * | pTechnologyPref, |
| ULONG * | pDuration, | ||
| ULONG * | pPersistentTechnologyPref | ||
| ) |
Returns the network registration preference.
| pTechnologyPref[OUT] |
|
| pDuration[OUT] |
|
| pPersistentTechnologyPref[OUT] |
|
Sets the RFInfoList
| pInstanceSize[IN/OUT] |
|
| pInstances[OUT] |
|
| ULONG GetServingNetwork | ( | ULONG * | pRegistrationState, |
| ULONG * | pCSDomain, | ||
| ULONG * | pPSDomain, | ||
| ULONG * | pRAN, | ||
| BYTE * | pRadioIfacesSize, | ||
| BYTE * | pRadioIfaces, | ||
| ULONG * | pRoaming, | ||
| WORD * | pMCC, | ||
| WORD * | pMNC, | ||
| BYTE | nameSize, | ||
| CHAR * | pName | ||
| ) |
Provides information about the system that provides service to the device.
| pRegistrationState[OUT] |
|
| pCSDomain[OUT] |
|
| pPSDomain[OUT] |
|
| pRAN[OUT] |
|
| pRadioIfacesSize[IN/OUT] |
|
| pRadioIfaces[OUT] |
|
| pRoaming[OUT] |
|
| pMCC[OUT] |
|
| pMNC[OUT] |
|
| nameSize |
|
| pName[OUT] |
|
Returns information regarding the data capabilities of the system that currently provides service to the device.
| pDataCapsSize[IN/OUT] |
|
| pDataCaps[OUT] |
|
Returns the signal strength.
| pSignalStrength[OUT] |
|
| pRadioInterface[OUT] |
|
Returns the available signal strengths ( in dBm ) as measured by the device in an array. The API also provides the corresponding radio radio interfaces in an array.
| pArraySizes[IN/OUT] |
|
| pSignalStrength[OUT] |
|
| pRadioInterface[OUT] |
|
Initiates the network registration process.
| regType |
|
| mcc |
|
| mnc |
|
| rat |
|
Performs scan for available networks.
| pInstanceSize[IN/OUT] |
|
| pInstances[OUT] |
|
Sets the access overload class (ACCOLC)
| spc[IN] |
|
| ACCOLC |
|
| ULONG SetCDMANetworkParameters | ( | CHAR * | pSPC, |
| BYTE * | pForceRev0, | ||
| BYTE * | pCustomSCP, | ||
| ULONG * | pProtocol, | ||
| ULONG * | pBroadcast, | ||
| ULONG * | pApplication, | ||
| ULONG * | pRoaming | ||
| ) |
Sets the CDMA network parameters. Currently the modified settings will not be utilized until the device has been reset. For this reason, the recommended approach when using SetCDMANetworkParameters is for the application to perform the following steps:
1 - Call SetCDMANetworkParameters() 2 - Call SetPower( 5 ) 3 - Call QCWWANDisconnect() 4 - Reconnect after the device power cycles
| pSPC[IN] |
|
| pForceRev0[IN] |
|
| pCustomSCP[IN] |
|
| pProtocol[IN] |
|
| pBroadcast[IN] |
|
| pApplication[IN] |
|
| pRoaming[IN] |
|
Sets the network registration preference.
| technologyPref |
|
| duration |
|
| ULONG SLQSGetErrorRate | ( | GetErrRateResp * | pGetErrRateResp | ) |
This API retrieves current error rate information
| pGetErrRateResp[OUT] |
|
| ULONG SLQSGetOperatorNameData | ( | nasOperatorNameResp * | pOperatorNameData | ) |
Get the operator name data from the network.
| pOperatorNameData[OUT] |
|
| ULONG SLQSGetPLMNName | ( | nasPLMNNameReq * | pPLMNNameReq, |
| nasPLMNNameResp * | pPLMNNameResp | ||
| ) |
Get the operator name data from the network.
| pPLMNNameReq[IN] |
|
| pPLMNNameResp[OUT] |
|
| ULONG SLQSGetServingSystem | ( | qaQmiServingSystemParam * | pServingSystem | ) |
Provides information about the system that provides service to the device.
| pServingSystem[OUT] |
|
| ULONG SLQSGetSignalStrength | ( | struct slqsSignalStrengthInfo * | pSignalInfo | ) |
Queries the current signal strength as measured by the device.
| pSignalInfo[IN/OUT] |
|
| ULONG SLQSGetSysSelectionPref | ( | sysSelectPrefInfo * | pSysSelectPrefInfo | ) |
Queries the different system selection preferences of the device.
| pSysSelectPrefInfo[OUT] |
|
| ULONG SLQSInitiateNetworkRegistration | ( | nasInitNetworkReg * | pNasInitNetRegistrationReg | ) |
Initiates the network registration process.
| pNasInitNetRegistrationReq |
|
| ULONG SLQSNasGet3GPP2Subscription | ( | nasGet3GPP2SubscriptionInfoReq * | pGet3GPP2SubsInfoReq, |
| nasGet3GPP2SubscriptionInfoResp * | pGet3GPP2SubsInfoResp | ||
| ) |
This API retrieves 3GPP2 subscription-related information.
| pGet3GPP2SubsInfoReq[IN] |
|
| pGet3GPP2SubsInfoResp[OUT] |
|
| ULONG SLQSNasGetCellLocationInfo | ( | nasCellLocationInfoResp * | pNasCellLocationInfoResp | ) |
This API retrieves cell location-related information
| pNasCellLocationInfoResp[OUT] |
|
| ULONG SLQSNasGetHDRColorCode | ( | nasGetHDRColorCodeResp * | pGetHDRColorCodeResp | ) |
This API retrieves the current HDR color code value.
| pGetHDRColorCodeResp[OUT] |
|
| ULONG SLQSNasGetSigInfo | ( | nasGetSigInfoResp * | pGetSigInfoResp | ) |
This API queries information regarding the signal strength.
| pGetSigInfoResp[OUT] |
|
| ULONG SLQSNasGetSysInfo | ( | nasGetSysInfoResp * | pGetSysInfoResp | ) |
Provides the system information.
| pGetSysInfoResp[OUT] |
|
| ULONG SLQSNasGetTxRxInfo | ( | nasGetTxRxInfoReq * | pGetTxRxInfoReq, |
| nasGetTxRxInfoResp * | pGetTxRxInfoResp | ||
| ) |
This API retrieves the detailed Tx/Rx information.
| pGetTxRxInfoReq[IN] |
|
| pGetTxRxInfoResp[OUT] |
|
Register/De-register from NAS (Network access service) broadcast indications. Some callbacks would not be invoked if the indications are not registered. The details are provided in the parameter description.
| systemSelectionInd |
|
| DDTMInd |
|
| servingSystemInd |
|
| ULONG SLQSNasIndicationRegisterExt | ( | nasIndicationRegisterReq * | pIndicationRegisterReq | ) |
This API Registers/De-registers for different NAS (Network access service) indications.
| pIndicationRegisterReq[IN] |
|
| ULONG SLQSNasSwiIndicationRegister | ( | NasSwiIndReg * | pIndRegReq | ) |
sets the registration state for different QMI_NAS SWI indications
| pIndRegReq[IN] |
|
| ULONG SLQSNasSwiModemStatus | ( | swiModemStatusResp * | pModemStatusResp | ) |
This API requests the device to return the current status of modem.
| pModemStatusResp[OUT] |
|
| ULONG SLQSPerformNetworkScan | ( | slqsNetworkScanInfo * | pNetworkInfo | ) |
Performs scan for available networks and scans for RAT info as well.
| pNetworkInfo[IN/OUT] |
|
Provides information about the band preference.
| bandpreference |
|
| ULONG SLQSSetSysSelectionPref | ( | sysSelectPrefParams * | pSysSelectPrefParams | ) |
Sets the different system selection preferences of the device.
| pSysSelectPrefParams[IN] |
|
| ULONG SLQSSwiGetHDRPersonality | ( | HDRPersonalityResp * | pHDRPersonalityResp | ) |
This API retrieves HDR Personality related information
| pHDRPersonalityResp[OUT] |
|
| ULONG SLQSSwiGetHDRProtSubtype | ( | HDRProtSubtypResp * | pHDRProtSubtypResp | ) |
This API retrieves HDR Prototype Subtype related information
| pHDRProtSubtypResp[OUT] |
|
| ULONG SLQSSwiGetHRPDStats | ( | GetHRPDStatsResp * | pGetHRPDStatsResp | ) |
This API retrieves currently acquired HRPD system statistics
| pGetHRPDStatsResp[OUT] |
|
| ULONG SLQSSwiGetLteCQI | ( | LteCQIParm * | pLteCQIResp | ) |
This API Fetch CQI parameters for LTE data session
| pLteCQIParm[OUT] |
|
| ULONG SLQSSwiNetworkDebug | ( | NetworkDebugResp * | pNetworkDebugResp | ) |
This API retrieves device and network status details
| pNetworkDebugResp[OUT] |
|
| ULONG SLQSSwiPSDetach | ( | PSDetachReq * | pPSDetachReq | ) |
This API detaches PS connection.
| pPSDetachReq[IN] |
|