|
LinuxQMISDK
SLQS03.03.16
|
Wireless Data Service API function prototypes. More...
Go to the source code of this file.
Macros | |
| #define | IPV6_ADDRESS_ARRAY_SIZE 8 |
Typedefs | |
| typedef struct dataBearerTechnology | QmiWDSDataBearerTechnology |
| typedef struct dataBearers | QmiWDSDataBearers |
| typedef union WdsProfileParam | QmiProfileInfo |
| typedef struct _slqs3GPPConfigItem | slqs3GPPConfigItem |
| typedef struct _GetProfileSettingIn | GetProfileSettingIn |
| typedef struct _GetProfileSettingOut | GetProfileSettingOut |
Enumerations | |
| enum | qmiDataBearerMasks { QMI_WDS_CURRENT_CALL_DB_MASK = 0x01, QMI_WDS_LAST_CALL_DB_MASK = 0x02 } |
Functions | |
| ULONG | SetMobileIP (ULONG mode) |
| ULONG | GetMobileIP (ULONG *pMode) |
| ULONG | SetMobileIPParameters (CHAR *pSPC, ULONG *pMode, BYTE *pRetryLimit, BYTE *pRetryInterval, BYTE *pReRegPeriod, BYTE *pReRegTraffic, BYTE *pHAAuthenticator, BYTE *pHA2002bis) |
| ULONG | SetAutoconnect (ULONG setting) |
| ULONG | GetAutoconnect (ULONG *pSetting) |
| ULONG | SetDefaultProfile (ULONG profileType, ULONG *pPDPType, ULONG *pIPAddress, ULONG *pPrimaryDNS, ULONG *pSecondaryDNS, ULONG *pAuthentication, CHAR *pName, CHAR *pAPNName, CHAR *pUsername, CHAR *pPassword) |
| ULONG | SetDefaultProfileLTE (ULONG profileType, ULONG *pPDPType, ULONG *pIPAddressv4, ULONG *pPrimaryDNSv4, ULONG *pSecondaryDNSv4, USHORT *pIPAddressv6, USHORT *PrimaryDNSv6, USHORT *pSecondaryDNSv6, ULONG *pAuthentication, CHAR *pName, CHAR *pAPNName, CHAR *pUsername, CHAR *pPassword) |
| ULONG | SetDefaultProfileLTEV2 (ULONG profileType, ULONG *pPDPType, ULONG *pIPAddressv4, ULONG *pPrimaryDNSv4, ULONG *pSecondaryDNSv4, USHORT *pIPAddressv6, USHORT *PrimaryDNSv6, USHORT *pSecondaryDNSv6, ULONG *pAuthentication, CHAR *pName, CHAR *pAPNName, CHAR *pUsername, CHAR *pPassword) |
| ULONG | GetDefaultProfile (ULONG profileType, ULONG *pPDPType, ULONG *pIPAddress, ULONG *pPrimaryDNS, ULONG *pSecondaryDNS, ULONG *pAuthentication, BYTE nameSize, CHAR *pName, BYTE apnSize, CHAR *pAPNName, BYTE userSize, CHAR *pUsername) |
| ULONG | GetDefaultProfileLTE (ULONG profileType, ULONG *pPDPType, ULONG *pIPAddressv4, ULONG *pPrimaryDNSv4, ULONG *pSecondaryDNSv4, USHORT *pIPAddressv6, USHORT *pPrimaryDNSv6, USHORT *pSecondaryDNSv6, ULONG *pAuthentication, BYTE nameSize, CHAR *pName, BYTE apnSize, CHAR *pAPNName, BYTE userSize, CHAR *pUsername) |
| ULONG | GetSessionState (ULONG *pState, BYTE instance) |
| ULONG | GetPacketStatus (ULONG *pTXPacketSuccesses, ULONG *pRXPacketSuccesses, ULONG *pTXPacketErrors, ULONG *pRXPacketErrors, ULONG *pTXPacketOverflows, ULONG *pRXPacketOverflows, BYTE instance) |
| ULONG | GetByteTotals (ULONGLONG *pTXTotalBytes, ULONGLONG *pRXTotalBytes, BYTE instance) |
| ULONG | GetDormancyState (ULONG *pDormancyState, BYTE instance) |
| ULONG | GetDataBearerTechnology (ULONG *pDataBearer, BYTE instance) |
| ULONG | SLQSGetDataBearerTechnology (QmiWDSDataBearers *pDataBearers, BYTE instance) |
| ULONG | GetSessionDuration (ULONGLONG *pDuration, BYTE instance) |
| ULONG | GetIPAddressLTE (WdsIpAddressInfoReq *) |
| ULONG | GetConnectionRate (ULONG *pCurrentChannelTXRate, ULONG *pCurrentChannelRXRate, ULONG *pMaxChannelTXRate, ULONG *pMaxChannelRXRate, BYTE instance) |
| ULONG | GetMobileIPProfile (BYTE index, BYTE *pEnabled, ULONG *pAddress, ULONG *pPrimaryHA, ULONG *pSecondaryHA, BYTE *pRevTunneling, BYTE naiSize, CHAR *pNAI, ULONG *pHASPI, ULONG *pAAASPI, ULONG *pHAState, ULONG *pAAAState) |
| ULONG | GetLastMobileIPError (ULONG *pError) |
| ULONG | iSLQSMISetIPFamilyPreference (BYTE IPFamilyPreference, BYTE instance) |
| BOOL | WDS_IsGobiDevice () |
| ULONG | SetActiveMobileIPProfile (CHAR *pSPC, BYTE index) |
| ULONG | SetMobileIPProfile (CHAR *pSPC, BYTE index, BYTE *pEnabled, ULONG *pAddress, ULONG *pPrimaryHA, ULONG *pSecondaryHA, BYTE *pRevTunneling, CHAR *pNAI, ULONG *pHASPI, ULONG *pAAASPI, CHAR *pMNHA, CHAR *pMNAAA) |
| ULONG | SLQSGetRuntimeSettings (struct WdsRunTimeSettings *pRunTimeSettings) |
| ULONG | SLQSSetProfile (ULONG profileType, BYTE profileId, ULONG *pPDPType, ULONG *pIPAddress, ULONG *pPrimaryDNS, ULONG *pSecondaryDNS, ULONG *pAuthentication, CHAR *pName, CHAR *pAPNName, CHAR *pUsername, CHAR *pPassword) |
| ULONG | SLQSGetProfile (ULONG profileType, BYTE profileId, ULONG *pPDPType, ULONG *pIPAddress, ULONG *pPrimaryDNS, ULONG *pSecondaryDNS, ULONG *pAuthentication, BYTE nameSize, CHAR *pName, BYTE apnSize, CHAR *pAPNName, BYTE userSize, CHAR *pUsername, WORD *pExtendedErrorCode) |
| ULONG | SLQSStartStopDataSession (struct ssdatasession_params *pin) |
| ULONG | SLQSDeleteProfile (struct SLQSDeleteProfileParams *pProfileToDelete, WORD *pExtendedErrorCode) |
| ULONG | SLQSCreateProfile (struct CreateProfileIn *pReq, struct CreateProfileOut *pResp) |
| ULONG | SLQSAutoConnect (struct slqsautoconnect *pacreq) |
| ULONG | SLQSModifyProfile (struct ModifyProfileIn *pReq, struct ModifyProfileOut *pResp) |
| ULONG | SLQSSet3GPPConfigItem (slqs3GPPConfigItem *pSLQS3GPPConfigItem) |
| ULONG | SLQSGet3GPPConfigItem (slqs3GPPConfigItem *pSLQS3GPPConfigItem) |
| ULONG | SLQSGetProfileSettings (GetProfileSettingIn *pReq, GetProfileSettingOut *pResp) |
| ULONG | SLQSWdsSetEventReport (wdsSetEventReportReq *pSetEventReportReq) |
| ULONG | SLQSWdsSwiPDPRuntimeSettings (swiPDPRuntimeSettingsReq *pPDPRuntimeSettingsReq, swiPDPRuntimeSettingsResp *pPDPRuntimeSettingsResp) |
| ULONG | iGetConnectionRate (ULONG *pv4sessionId, ULONG *pv6sessionId, struct WdsConnectionRateElmnts *pConnectionRateElmnt) |
| ULONG | SLQSGetConnectionRate (struct WdsConnectionRate *pConnectionRate) |
| ULONG | iGetByteTotals (ULONG *pv4sessionId, ULONG *pv6sessionId, struct WdsByteTotalsElmnts *pByteTotalsElmnt) |
| ULONG | SLQSGetByteTotals (struct WdsByteTotals *pByteTotals) |
| ULONG | SLQSWdsGoDormant (void) |
| ULONG | SLQSWdsGoActive (void) |
| ULONG | SLQSGetSessionState (ULONG *pStateV4, ULONG *pStateV6, BYTE instance) |
| ULONG | SLQSGetDUNCallInfo (getDUNCallInfoReq *pGetDUNCallInfoReq, getDUNCallInfoResp *pGetDUNCallInfoResp) |
| ULONG | GetPacketStatistics (struct WdsPktStatisticsReq *pStatMask, struct WdsPktStatisticsElmnts *pPktStatisticsElmnt, BYTE instance) |
| ULONG | iGetPacketStatistics (ULONG *pV4sessionId, ULONG *pV6sessionId, struct WdsPktStatisticsReq *pStatMask, struct WdsPktStatisticsElmnts *pPktStatisticsElmnt) |
| ULONG | SLQSGetPacketStatistics (struct WdsPktStatisticsReq *pStatMask, struct WdsPktStatisticsResp *pPktStatistics) |
| ULONG | SLQSGetCurrDataSystemStat (CurrDataSysStat *pCurrDataSysStat) |
| ULONG | RMSetTransferStatistics (swiRMTrasnferStaticsReq *pSwiRMTrasnferStaticsReq) |
| ULONG | SLQSResetPacketStatics () |
| ULONG | SLQSGetDataBearerTechnologyExt (DataBearerTechExt *pDataBearerTech, BYTE instance) |
| ULONG | SLQSGetCurrentChannelRate (WDSSWICurrentChannelRates *pRates, BYTE instance) |
| ULONG | SLQSSSetLoopback (WDSSetLoopbackData *pReq) |
| ULONG | SLQSSGetLoopback (WDSGetLoopbackData *data) |
| ULONG | GetDefaultProfileNum (BYTE profile_type, BYTE profile_family, BYTE *pProfile_no) |
| ULONG | SetDefaultProfileNum (BYTE profile_type, BYTE profile_family, BYTE profile_index) |
| ULONG | SLQSSSetDHCPv4ClientConfig (WdsDHCPv4Config *pReq) |
Wireless Data Service API function prototypes.
| #define IPV6_ADDRESS_ARRAY_SIZE 8 |
| typedef struct _GetProfileSettingIn GetProfileSettingIn |
This structure contains the input parameters for SLQSGetProfileSettings
| ProfileType |
|
| ProfileID |
|
| typedef struct _GetProfileSettingOut GetProfileSettingOut |
This structure contains the profile settings retrieved by the API SLQSGetProfileSettings
| curProfile |
|
| pExtErrCode |
|
| typedef union WdsProfileParam QmiProfileInfo |
This union WdsProfileParam consist of Profile3GPP and Profile3GPP2 out of which one will be used to create profile.
| typedef struct dataBearers QmiWDSDataBearers |
Structure to hold the data bearer technology values
| dataBearerMask[OUT] |
|
| pCurDataBearerTechnology[OUT] |
|
| pLastCallDataBearerTechnology[OUT] |
|
| typedef struct dataBearerTechnology QmiWDSDataBearerTechnology |
Structure to hold the current data bearer technology values
| pCurrentNetwork[OUT] |
|
| pRatMask[OUT] |
|
| pSoMask[OUT] |
|
| typedef struct _slqs3GPPConfigItem slqs3GPPConfigItem |
This structure contains the 3gpp Configuration Item information.
| pLTEAttachProfile |
|
| pProfileList |
|
| pDefaultPDNEnabled |
|
| p3gppRelease |
|
| pLTEAttachProfileList |
|
| LTEAttachProfileListLen |
|
| enum qmiDataBearerMasks |
Returns the current auto connect data session setting.
| pSetting[OUT] |
|
Returns the Rx/Tx byte counts since the start of the last packet data session for IPV4 session only.
| pTXTotalBytes[OUT] |
|
| pRXTotalBytes[OUT] |
|
| instance |
|
| ULONG GetConnectionRate | ( | ULONG * | pCurrentChannelTXRate, |
| ULONG * | pCurrentChannelRXRate, | ||
| ULONG * | pMaxChannelTXRate, | ||
| ULONG * | pMaxChannelRXRate, | ||
| BYTE | instance | ||
| ) |
Returns connection rate information for the packet data connection. This API is not applicable when multiple data session is up. For multiple PDN, please use API SLQSGetConnectionRate()
| pCurrentChannelTXRate[OUT] |
|
| pCurrentChannelRXRate[OUT] |
|
| pMaxChannelTXRate[OUT] |
|
| pMaxChannelRXRate[OUT] |
|
| instance |
|
Retrieves the current data bearer technology (only valid when connected). This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions. Please use API SLQSGetDataBearerTechnologyExt() for new firmware versions and new modules.
| pDataBearer[OUT] |
|
| instance |
|
| ULONG GetDefaultProfile | ( | ULONG | profileType, |
| ULONG * | pPDPType, | ||
| ULONG * | pIPAddress, | ||
| ULONG * | pPrimaryDNS, | ||
| ULONG * | pSecondaryDNS, | ||
| ULONG * | pAuthentication, | ||
| BYTE | nameSize, | ||
| CHAR * | pName, | ||
| BYTE | apnSize, | ||
| CHAR * | pAPNName, | ||
| BYTE | userSize, | ||
| CHAR * | pUsername | ||
| ) |
Reads the default profile settings from the device. The default profile is used to establish an auto connect data session.
| profileType |
|
| pPDPType[OUT] |
|
| pIPAddress[OUT] |
|
| pPrimaryDNS[OUT] |
|
| pSecondaryDNS[OUT] |
|
| pAuthentication[OUT] |
|
| nameSize |
|
| pName[OUT] |
|
| apnSize |
|
| pAPNName[OUT] |
|
| userSize |
|
| pUsername[OUT] |
|
| ULONG GetDefaultProfileLTE | ( | ULONG | profileType, |
| ULONG * | pPDPType, | ||
| ULONG * | pIPAddressv4, | ||
| ULONG * | pPrimaryDNSv4, | ||
| ULONG * | pSecondaryDNSv4, | ||
| USHORT * | pIPAddressv6, | ||
| USHORT * | pPrimaryDNSv6, | ||
| USHORT * | pSecondaryDNSv6, | ||
| ULONG * | pAuthentication, | ||
| BYTE | nameSize, | ||
| CHAR * | pName, | ||
| BYTE | apnSize, | ||
| CHAR * | pAPNName, | ||
| BYTE | userSize, | ||
| CHAR * | pUsername | ||
| ) |
Reads the default profile settings from the device. The default profile is used to establish an auto connect data session.
| profileType |
|
| pPDPType[OUT] |
|
| pIPAddressv4[OUT] |
|
| pPrimaryDNSv4[OUT] |
|
| pSecondaryDNSv4[OUT] |
|
| pIPAddressv6[OUT] |
|
| pPrimaryDNSv6[OUT] |
|
| pSecondaryDNSv6[OUT] |
|
| pAuthentication[OUT] |
|
| nameSize |
|
| pName[OUT] |
|
| apnSize |
|
| pAPNName[IN] |
|
| userSize |
|
| pUsername[OUT] |
|
This API to Get default profile number
| profile_type | [IN]
|
| profile_family | [IN]
|
| pProfile_no | [OUT] |
Timeout: 2 seconds\n
Returns the dormancy state of the current packet data session when connected.
| pDormancyState[OUT] |
|
| instance |
|
| ULONG GetIPAddressLTE | ( | WdsIpAddressInfoReq * | ) |
Returns the current packet data session IP address(es)
Returns the last mobile IP error.
| pError[OUT] |
|
Returns the current mobile IP setting.
| mode[OUT] |
|
| ULONG GetMobileIPProfile | ( | BYTE | index, |
| BYTE * | pEnabled, | ||
| ULONG * | pAddress, | ||
| ULONG * | pPrimaryHA, | ||
| ULONG * | pSecondaryHA, | ||
| BYTE * | pRevTunneling, | ||
| BYTE | naiSize, | ||
| CHAR * | pNAI, | ||
| ULONG * | pHASPI, | ||
| ULONG * | pAAASPI, | ||
| ULONG * | pHAState, | ||
| ULONG * | pAAAState | ||
| ) |
Returns the specified mobile IP profile settings.
| index |
|
| pEnabled[OUT] |
|
| pAddress[OUT] |
|
| pPrimaryHA[OUT] |
|
| pSecondaryHA[OUT] |
|
| pRevTunneling[OUT] |
|
| naiSize |
|
| pNAI[OUT] |
|
| pHASPI[OUT] |
|
| pAAASPI[OUT] |
|
| pHAState[OUT] |
|
| pAAAState[OUT] |
|
| ULONG GetPacketStatistics | ( | struct WdsPktStatisticsReq * | pStatMask, |
| struct WdsPktStatisticsElmnts * | pPktStatisticsElmnt, | ||
| BYTE | instance | ||
| ) |
Returns the current packet transfer counter values from the device. Since the start of the last packet data session.
| pStatMask[IN] |
|
| pPktStatisticsElmnt[OUT] |
|
| instance |
|
| ULONG GetPacketStatus | ( | ULONG * | pTXPacketSuccesses, |
| ULONG * | pRXPacketSuccesses, | ||
| ULONG * | pTXPacketErrors, | ||
| ULONG * | pRXPacketErrors, | ||
| ULONG * | pTXPacketOverflows, | ||
| ULONG * | pRXPacketOverflows, | ||
| BYTE | instance | ||
| ) |
Returns the packet data transfer statistics since the start of the current packet data.
| pTXPacketSuccesses[OUT] |
|
| pRXPacketSuccesses[OUT] |
|
| pTXPacketErrors[OUT] |
|
| pRXPacketErrors[OUT] |
|
| pTXPacketOverflows[OUT] |
|
| pRXPacketOverflows[OUT] |
|
| instance |
|
Returns the duration of the current packet data session.
| pDuration[OUT] |
|
| instance |
|
Returns the state of the current packet data session.
| pState[OUT] |
|
| instance |
|
| ULONG iGetByteTotals | ( | ULONG * | pv4sessionId, |
| ULONG * | pv6sessionId, | ||
| struct WdsByteTotalsElmnts * | pByteTotalsElmnt | ||
| ) |
| ULONG iGetConnectionRate | ( | ULONG * | pv4sessionId, |
| ULONG * | pv6sessionId, | ||
| struct WdsConnectionRateElmnts * | pConnectionRateElmnt | ||
| ) |
| ULONG iGetPacketStatistics | ( | ULONG * | pV4sessionId, |
| ULONG * | pV6sessionId, | ||
| struct WdsPktStatisticsReq * | pStatMask, | ||
| struct WdsPktStatisticsElmnts * | pPktStatisticsElmnt | ||
| ) |
| ULONG RMSetTransferStatistics | ( | swiRMTrasnferStaticsReq * | pSwiRMTrasnferStaticsReq | ) |
This API request the device to fetch current data system transfer Statistics.
| pswiRMTrasnferStaticsReq[IN] |
|
Timeout: 2 seconds\n
Sets active mobile IP profile.
| pSPC[IN] |
|
| index[IN] |
|
Sets the auto connect data session setting.
| setting[IN] |
|
| ULONG SetDefaultProfile | ( | ULONG | profileType, |
| ULONG * | pPDPType, | ||
| ULONG * | pIPAddress, | ||
| ULONG * | pPrimaryDNS, | ||
| ULONG * | pSecondaryDNS, | ||
| ULONG * | pAuthentication, | ||
| CHAR * | pName, | ||
| CHAR * | pAPNName, | ||
| CHAR * | pUsername, | ||
| CHAR * | pPassword | ||
| ) |
Writes the default profile settings to the device. The default profile is used to establish an autoconnect data session.
| profileType |
|
| pPDPType[IN] |
|
| pIPAddress[IN] |
|
| pPrimaryDNS[IN] |
|
| pSecondaryDNS[IN] |
|
| pAuthentication[IN] |
|
| pName[IN] |
|
| pAPNName[IN] |
|
| pUsername[IN] |
|
| pPassword[IN] |
|
| ULONG SetDefaultProfileLTE | ( | ULONG | profileType, |
| ULONG * | pPDPType, | ||
| ULONG * | pIPAddressv4, | ||
| ULONG * | pPrimaryDNSv4, | ||
| ULONG * | pSecondaryDNSv4, | ||
| USHORT * | pIPAddressv6, | ||
| USHORT * | PrimaryDNSv6, | ||
| USHORT * | pSecondaryDNSv6, | ||
| ULONG * | pAuthentication, | ||
| CHAR * | pName, | ||
| CHAR * | pAPNName, | ||
| CHAR * | pUsername, | ||
| CHAR * | pPassword | ||
| ) |
Writes the default profile settings to the device. The default profile is used to establish an auto connect data session.
| profileType |
|
| pPDPType[IN] |
|
| pIPAddressv4[IN] |
|
| pPrimaryDNSv4[IN] |
|
| pSecondaryDNSv4[IN] |
|
| pIPAddressv6[IN] |
|
| pPrimaryDNSv6[IN] |
|
| pSecondaryDNSv6[IN] |
|
| pAuthentication[IN] |
|
| pName[IN] |
|
| pAPNName[IN] |
|
| pUsername[IN] |
|
| pPassword[IN] |
|
| ULONG SetDefaultProfileLTEV2 | ( | ULONG | profileType, |
| ULONG * | pPDPType, | ||
| ULONG * | pIPAddressv4, | ||
| ULONG * | pPrimaryDNSv4, | ||
| ULONG * | pSecondaryDNSv4, | ||
| USHORT * | pIPAddressv6, | ||
| USHORT * | PrimaryDNSv6, | ||
| USHORT * | pSecondaryDNSv6, | ||
| ULONG * | pAuthentication, | ||
| CHAR * | pName, | ||
| CHAR * | pAPNName, | ||
| CHAR * | pUsername, | ||
| CHAR * | pPassword | ||
| ) |
Writes the default profile settings to the device. The default profile is used to establish an auto connect data session.
| profileType |
|
| pPDPType[IN] |
|
| pIPAddressv4[IN] |
|
| pPrimaryDNSv4[IN] |
|
| pSecondaryDNSv4[IN] |
|
| pIPAddressv6[IN] |
|
| pPrimaryDNSv6[IN] |
|
| pSecondaryDNSv6[IN] |
|
| pAuthentication[IN] |
|
| pName[IN] |
|
| pAPNName[IN] |
|
| pUsername[IN] |
|
| pPassword[IN] |
|
This API to Set default profile number
| profile_type | [IN]
|
| profile_family | [IN]
|
| profile_index | [IN] |
Timeout: 2 seconds\n
Sets the current mobile IP setting.
| mode[IN] |
|
| ULONG SetMobileIPParameters | ( | CHAR * | pSPC, |
| ULONG * | pMode, | ||
| BYTE * | pRetryLimit, | ||
| BYTE * | pRetryInterval, | ||
| BYTE * | pReRegPeriod, | ||
| BYTE * | pReRegTraffic, | ||
| BYTE * | pHAAuthenticator, | ||
| BYTE * | pHA2002bis | ||
| ) |
Sets the specified mobile IP parameters.
| pSPC[IN] |
|
| pMode[IN] |
|
| pRetryLimit[IN] |
|
| pRetryInterval[IN] |
|
| pReRegPeriod[IN] |
|
| pReRegTraffic[IN] |
|
| pHAAuthenticator[IN] |
|
| pHA2002bis[IN] |
|
| ULONG SetMobileIPProfile | ( | CHAR * | pSPC, |
| BYTE | index, | ||
| BYTE * | pEnabled, | ||
| ULONG * | pAddress, | ||
| ULONG * | pPrimaryHA, | ||
| ULONG * | pSecondaryHA, | ||
| BYTE * | pRevTunneling, | ||
| CHAR * | pNAI, | ||
| ULONG * | pHASPI, | ||
| ULONG * | pAAASPI, | ||
| CHAR * | pMNHA, | ||
| CHAR * | pMNAAA | ||
| ) |
Sets the mobile IP parameters.
| pSPC[IN] |
|
| index[IN] |
|
| pEnabled[IN] |
|
| pAddress[IN] |
|
| pPrimaryHA[IN] |
|
| pSecondaryHA[IN] |
|
| pRevTunneling[IN] |
|
| pNAI[IN] |
|
| pHASPI[IN] |
|
| pAAASPI[IN] |
|
| pMNHA[IN] |
|
| pMNAAA[IN] |
|
| ULONG SLQSAutoConnect | ( | struct slqsautoconnect * | pacreq | ) |
Returns auto connect settings
| slqsautoconnect[IN] |
|
| ULONG SLQSCreateProfile | ( | struct CreateProfileIn * | pReq, |
| struct CreateProfileOut * | pResp | ||
| ) |
Create a new profile with the specified parameters. Note that some firmware versions do not support the optional Profile ID parameter. In this case an error will be returned and the caller can subsequently create a profile by specifying a NULL pointer for the Profile ID parameter. The Profile ID pertaining to the newly created profile is returned in the response structure (pResp).
| pReq[IN] |
|
| pResp[OUT] |
|
| ULONG SLQSDeleteProfile | ( | struct SLQSDeleteProfileParams * | pProfileToDelete, |
| WORD * | pExtendedErrorCode | ||
| ) |
Deletes a configured profile stored on the device. The deletion of a profile does not affect profile index assignments.
| pProfileToDelete[IN] |
|
| pExtendedErrorCode[OUT] |
|
| ULONG SLQSGet3GPPConfigItem | ( | slqs3GPPConfigItem * | pSLQS3GPPConfigItem | ) |
Reads the 3gpp configuration item.
| pSLQS3GPPConfigItem[OUT] |
|
| ULONG SLQSGetByteTotals | ( | struct WdsByteTotals * | pByteTotals | ) |
This API request the device to fetch ByteTotals for IPV4 and IPV6.
| pByteTotals[IN/OUT] |
|
Timeout: 2 seconds\n
| ULONG SLQSGetConnectionRate | ( | struct WdsConnectionRate * | pConnectionRate | ) |
This API request the device to fetch ConnectionRate. It can be used for both mono and multiple PDN use case.
| pConnectionRate[IN/OUT] |
|
| ULONG SLQSGetCurrDataSystemStat | ( | CurrDataSysStat * | pCurrDataSysStat | ) |
This API request the device to fetch current data system status.
| pCurrDataSysStat[IN/OUT] |
|
Timeout: 5 seconds\n
| ULONG SLQSGetCurrentChannelRate | ( | WDSSWICurrentChannelRates * | pRates, |
| BYTE | instance | ||
| ) |
This API Queries current bitrate of a packet data connection.
| pRates | [IN]
|
Timeout: 2 seconds
| ULONG SLQSGetDataBearerTechnology | ( | QmiWDSDataBearers * | pDataBearers, |
| BYTE | instance | ||
| ) |
Retrieves the data bearer technology values for current and/or last data calls. The device must be in a data call for this function to execute successfully.
| qmiWDSDataBearers[OUT] |
|
| instance |
|
| ULONG SLQSGetDataBearerTechnologyExt | ( | DataBearerTechExt * | pDataBearerTech, |
| BYTE | instance | ||
| ) |
This API Get Data Bearer Technology. This is a new API to replace API GetDataBearerTechnology(). see the description of GetDataBearerTechnology() to get more information
| pDataBearerTech | [IN]
|
| instance | [IN]
|
Timeout: 2 seconds\n
| ULONG SLQSGetDUNCallInfo | ( | getDUNCallInfoReq * | pGetDUNCallInfoReq, |
| getDUNCallInfoResp * | pGetDUNCallInfoResp | ||
| ) |
This API queries the current modem connection status.
| pGetDUNCallInfoReq[IN] |
|
| pGetDUNCallInfoResp[OUT] |
|
| ULONG SLQSGetPacketStatistics | ( | struct WdsPktStatisticsReq * | pStatMask, |
| struct WdsPktStatisticsResp * | pPktStatistics | ||
| ) |
This API request the device to fetch current packet transfer counter values from the device
| pStatMask[IN] |
|
| pPktStatistics[OUT] |
|
Timeout: 5 seconds\n
| ULONG SLQSGetProfile | ( | ULONG | profileType, |
| BYTE | profileId, | ||
| ULONG * | pPDPType, | ||
| ULONG * | pIPAddress, | ||
| ULONG * | pPrimaryDNS, | ||
| ULONG * | pSecondaryDNS, | ||
| ULONG * | pAuthentication, | ||
| BYTE | nameSize, | ||
| CHAR * | pName, | ||
| BYTE | apnSize, | ||
| CHAR * | pAPNName, | ||
| BYTE | userSize, | ||
| CHAR * | pUsername, | ||
| WORD * | pExtendedErrorCode | ||
| ) |
Reads the profile settings from the device for the specified profile id.
| profileType |
|
| profileId |
|
| pPDPType[OUT] |
|
| pIPAddress[OUT] |
|
| pPrimaryDNS[OUT] |
|
| pSecondaryDNS[OUT] |
|
| pAuthentication[OUT] |
|
| nameSize |
|
| pName[OUT] |
|
| apnSize |
|
| pAPNName[OUT] |
|
| userSize |
|
| pUsername[OUT] |
|
| pExtendedErrorCode |
|
| ULONG SLQSGetProfileSettings | ( | GetProfileSettingIn * | pReq, |
| GetProfileSettingOut * | pResp | ||
| ) |
Retrieves a profile(3GPP/3GPP2) with the specified parameters.
| pReq[IN] |
|
| pResp[OUT] |
|
| ULONG SLQSGetRuntimeSettings | ( | struct WdsRunTimeSettings * | pRunTimeSettings | ) |
Returns the packet data session settings currently in use.
| pRunTimeSettings[OUT] |
|
Returns the state of the current packet data session.
| pStateV4[OUT] |
|
| pStateV6[OUT] |
|
| instance |
|
| ULONG SLQSModifyProfile | ( | struct ModifyProfileIn * | pReq, |
| struct ModifyProfileOut * | pResp | ||
| ) |
Modify a profile(3GPP/3GPP2) with the specified parameters.
| pReq[IN] |
|
| pResp[OUT] |
|
| ULONG SLQSResetPacketStatics | ( | ) |
This API request the device to reset packet data transfer statistics.
Timeout: 2 seconds\n
| ULONG SLQSSet3GPPConfigItem | ( | slqs3GPPConfigItem * | pSLQS3GPPConfigItem | ) |
Sets the 3gpp configuration item.
| pSLQS3GPPConfigItem[IN] |
|
| ULONG SLQSSetProfile | ( | ULONG | profileType, |
| BYTE | profileId, | ||
| ULONG * | pPDPType, | ||
| ULONG * | pIPAddress, | ||
| ULONG * | pPrimaryDNS, | ||
| ULONG * | pSecondaryDNS, | ||
| ULONG * | pAuthentication, | ||
| CHAR * | pName, | ||
| CHAR * | pAPNName, | ||
| CHAR * | pUsername, | ||
| CHAR * | pPassword | ||
| ) |
Writes the profile settings for the specified profile Id.
| profileType |
|
| profileId |
|
| pPDPType[IN] |
|
| pIPAddress[IN] |
|
| pPrimaryDNS[IN] |
|
| pSecondaryDNS[IN] |
|
| pAuthentication[IN] |
|
| pName[IN] |
|
| pAPNName[IN] |
|
| pUsername[IN] |
|
| pPassword[IN] |
|
| ULONG SLQSSGetLoopback | ( | WDSGetLoopbackData * | data | ) |
This API to Get the value of loopback mode and multiplier.
| pReq | [IN]
|
Timeout: 2 seconds\n
| ULONG SLQSSSetDHCPv4ClientConfig | ( | WdsDHCPv4Config * | pReq | ) |
This API configures the DHCP Client V4 Configuration.
| pReq | [IN]
|
Timeout: 2 seconds\n
| ULONG SLQSSSetLoopback | ( | WDSSetLoopbackData * | pReq | ) |
This API to Enable/disable Data Loopback Mode and set the value of loopback multiplier.
| pReq | [IN]
|
Timeout: 2 seconds\n
| ULONG SLQSStartStopDataSession | ( | struct ssdatasession_params * | pin | ) |
Starts or stops a 3GPP/3GPP2 data session on a preconfigured profile. To set the IP family for the data session, execute SLQSSetIPFamilyPreference prior to calling this API.
| pin[IN] |
|
| ULONG SLQSWdsGoActive | ( | void | ) |
Forces the device to immediately reestablish the traffic channel on the serving radio interface
| None |
| ULONG SLQSWdsGoDormant | ( | void | ) |
Forces the device to immediately drop the traffic channel on the serving radio interface
| None |
| ULONG SLQSWdsSetEventReport | ( | wdsSetEventReportReq * | pSetEventReportReq | ) |
This API sets the wireless data connection state reporting conditions for the requesting control point.
| pSetEventReportReq[IN] |
|
| ULONG SLQSWdsSwiPDPRuntimeSettings | ( | swiPDPRuntimeSettingsReq * | pPDPRuntimeSettingsReq, |
| swiPDPRuntimeSettingsResp * | pPDPRuntimeSettingsResp | ||
| ) |
This API requests the device to return the active PDP context associated with a context id.
| pPDPRuntimeSettingsReq[IN] |
|
| pPDPRuntimeSettingsResp[OUT] |
|
| BOOL WDS_IsGobiDevice | ( | ) |