Wireless Data Service API function prototypes. More...
Go to the source code of this file.
Data Structures | |
struct | dataBearerTechnology |
struct | dataBearers |
struct | UMTSQoS |
struct | ProfileIdentifier |
struct | GPRSQoS |
struct | PCSCFIPv4ServerAddressList |
struct | PCSCFFQDNAddress |
struct | PCSCFFQDNAddressList |
struct | Domain |
struct | DomainNameList |
struct | IPV6AddressInfo |
struct | IPV6GWAddressInfo |
struct | WdsRunTimeSettings |
struct | ssdatasession_params |
struct | SLQSDeleteProfileParams |
struct | Profile3GPP |
struct | Profile3GPP2 |
union | WdsProfileParam |
struct | CreateProfileIn |
struct | UMTSMinQoS |
struct | GPRSRequestedQoS |
struct | TFTIDParams |
struct | UMTSReqQoSSigInd |
struct | QosClassID |
struct | CreateProfileOut |
struct | slqsautoconnect |
struct | ModifyProfileIn |
struct | ModifyProfileOut |
struct | _slqs3GPPConfigItem |
struct | _GetProfileSettingIn |
struct | _GetProfileSettingOut |
struct | TrStatInd |
struct | wdsSetEventReportReq |
struct | swiPDPRuntimeSettingsReq |
struct | swiPDPRuntimeSettingsResp |
Defines | |
#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 | StartDataSession (ULONG *pTechnology, ULONG *pPrimaryDNS, ULONG *pSecondaryDNS, ULONG *pPrimaryNBNS, ULONG *pSecondaryNBNS, CHAR *pAPNName, ULONG *pIPAddress, ULONG *pAuthentication, CHAR *pUsername, CHAR *pPassword, ULONG *pSessionId) |
ULONG | StartDataSession2 (ULONG *pTechnology, ULONG *pPrimaryDNS, ULONG *pSecondaryDNS, ULONG *pPrimaryNBNS, ULONG *pSecondaryNBNS, CHAR *pAPNName, ULONG *pIPAddress, ULONG *pAuthentication, CHAR *pUsername, CHAR *pPassword, ULONG *pSessionId, ULONG *pFailureReason) |
ULONG | StartDataSessionLTE (ULONG *pTechnology, ULONG *pPrimaryDNSv4, ULONG *pSecondaryDNSv4, ULONG *pPrimaryNBNSv4, ULONG *pSecondaryNBNSv4, USHORT *pPrimaryDNSv6, USHORT *pSecondaryDNSv6, CHAR *pAPNName, ULONG *pIPAddressv4, USHORT *pIPAddressv6, ULONG *pAuthentication, CHAR *pUsername, CHAR *pPassword, ULONG *pSessionId, ULONG *pFailureReason, BYTE IPFamilyPreference) |
ULONG | StopDataSession (ULONG sessionId) |
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 | 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) |
ULONG | GetPacketStatus (ULONG *pTXPacketSuccesses, ULONG *pRXPacketSuccesses, ULONG *pTXPacketErrors, ULONG *pRXPacketErrors, ULONG *pTXPacketOverflows, ULONG *pRXPacketOverflows) |
ULONG | GetByteTotals (ULONGLONG *pTXTotalBytes, ULONGLONG *pRXTotalBytes) |
ULONG | GetDormancyState (ULONG *pDormancyState) |
ULONG | GetDataBearerTechnology (ULONG *pDataBearer) |
ULONG | SLQSGetDataBearerTechnology (QmiWDSDataBearers *pDataBearers) |
ULONG | GetSessionDuration (ULONGLONG *pDuration) |
ULONG | GetIPAddress (ULONG *pIPAddress) |
ULONG | GetIPAddressLTE (ULONG *pIPAddressV4, USHORT *pIPAddressV6, BYTE *pIPv6prefixlen) |
ULONG | GetConnectionRate (ULONG *pCurrentChannelTXRate, ULONG *pCurrentChannelRXRate, ULONG *pMaxChannelTXRate, ULONG *pMaxChannelRXRate) |
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 | SetActiveMobileIPProfile (CHAR *pSPC, BYTE index) |
ULONG | GetActiveMobileIPProfile (BYTE *pIndex) |
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 | GetMobileIPProfile2 (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 | GetMobileIPParameters (ULONG *pMode, BYTE *pRetryLimit, BYTE *pRetryInterval, BYTE *pReRegPeriod, BYTE *pReRegTraffic, BYTE *pHAAuthenticator, BYTE *pHA2002bis) |
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 | SLQSSetIPFamilyPreference (BYTE IPFamilyPreference) |
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) |
Wireless Data Service API function prototypes.
Copyright: © 2011 Sierra Wireless, Inc. all rights reserved
#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 |
|
enum qmiDataBearerMasks |
Gets the Active mobile IP profile
pIndex[OUT] |
|
Returns the current autoconnect data session setting.
pSetting[OUT] |
|
Returns the Rx/Tx byte counts since the start of the last packet data session.
pTXTotalBytes[OUT] |
| |
pRXTotalBytes[OUT] |
|
ULONG GetConnectionRate | ( | ULONG * | pCurrentChannelTXRate, | |
ULONG * | pCurrentChannelRXRate, | |||
ULONG * | pMaxChannelTXRate, | |||
ULONG * | pMaxChannelRXRate | |||
) |
Returns connection rate information for the packet data connection
pCurrentChannelTXRate[OUT] |
| |
pCurrentChannelRXRate[OUT] |
| |
pMaxChannelTXRate[OUT] |
| |
pMaxChannelRXRate[OUT] |
|
Retrieves the current data bearer technology (only valid when connected)
pDataBearer[OUT] |
|
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 autoconnect 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 autoconnect data session.
profileType |
| |
pPDPType[OUT] |
| |
pIPAddressv4[OUT] |
| |
pPrimaryDNSv4[OUT] |
| |
pSecondaryDNSv4[OUT] |
| |
pIPAddressv6[OUT] |
|
IPv6 address:
1234:2A01:....:5678
U0 corresponds to 1234
U1 corresponds to 2A01
-- ----------- -- ----
-- ----------- -- ----
U7 corresponds to 5678
pPrimaryDNSv6[OUT] |
| |
pSecondaryDNSv6[OUT] |
| |
pAuthentication[OUT] |
| |
nameSize |
| |
pName[OUT] |
| |
apnSize |
| |
pAPNName[IN] |
| |
userSize |
| |
pUsername[OUT] |
|
Returns the dormancy state of the current packet data session when connected.
pDormancyState[OUT] |
|
Returns the current packet data session IP address.
pIPAddress[OUT] |
|
Returns the current packet data session IP address(es)
pIPAddressV4[OUT] |
| |
pIPAddressV6[OUT] |
| |
pIPv6prefixlen[OUT] |
|
Returns the last mobile IP error.
pError[OUT] |
|
Returns the current mobile IP setting.
mode[OUT] |
|
ULONG GetMobileIPParameters | ( | ULONG * | pMode, | |
BYTE * | pRetryLimit, | |||
BYTE * | pRetryInterval, | |||
BYTE * | pReRegPeriod, | |||
BYTE * | pReRegTraffic, | |||
BYTE * | pHAAuthenticator, | |||
BYTE * | pHA2002bis | |||
) |
Gets the mobile IP parameters.
pMode[OUT] |
| |
pRetryLimit[OUT] |
| |
pRetryInterval[OUT] |
| |
pReRegPeriod[OUT] |
| |
pReRegTraffic[OUT] |
| |
pHAAuthenticator[OUT] |
| |
pHA2002bis[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 GetMobileIPProfile2 | ( | BYTE | index, | |
BYTE * | pEnabled, | |||
ULONG * | pAddress, | |||
ULONG * | pPrimaryHA, | |||
ULONG * | pSecondaryHA, | |||
BYTE * | pRevTunneling, | |||
BYTE | naiSize, | |||
CHAR * | pNAI, | |||
ULONG * | pHASPI, | |||
ULONG * | pAAASPI, | |||
ULONG * | pHAState, | |||
ULONG * | pAAAState | |||
) |
Gets the Mobile IP parameters.
index[IN] |
| |
pEnabled[OUT] |
| |
pAddress[OUT] |
| |
pPrimaryHA[OUT] |
| |
pSecondaryHA[OUT] |
| |
pRevTunneling[OUT] |
| |
naiSize[IN] |
| |
pNAI[OUT] |
| |
pHASPI[OUT] |
| |
pAAASPI[OUT] |
| |
pHAState[OUT] |
| |
pAAAState[OUT] |
|
ULONG GetPacketStatus | ( | ULONG * | pTXPacketSuccesses, | |
ULONG * | pRXPacketSuccesses, | |||
ULONG * | pTXPacketErrors, | |||
ULONG * | pRXPacketErrors, | |||
ULONG * | pTXPacketOverflows, | |||
ULONG * | pRXPacketOverflows | |||
) |
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] |
|
Returns the duration of the current packet data session.
pDuration[OUT] |
|
Returns the state of the current packet data session.
pState[OUT] |
|
Sets active mobile IP profile.
pSPC[IN] |
| |
index[IN] |
|
Sets the autoconnect data session setting.
setting |
|
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] |
|
Sets the current mobile IP setting.
mode |
|
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 autoconnect settings
slqsautoconnect |
|
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 |
| |
pExtendedErrorCode |
|
ULONG SLQSGet3GPPConfigItem | ( | slqs3GPPConfigItem * | pSLQS3GPPConfigItem | ) |
Reads the 3gpp configuration item.
pSLQS3GPPConfigItem[OUT] |
|
ULONG SLQSGetDataBearerTechnology | ( | QmiWDSDataBearers * | pDataBearers | ) |
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] |
|
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] |
|
ULONG SLQSModifyProfile | ( | struct ModifyProfileIn * | pReq, | |
struct ModifyProfileOut * | pResp | |||
) |
Modify a profile(3GPP/3GPP2) with the specified parameters.
pReq[IN] |
| |
pResp[OUT] |
|
ULONG SLQSSet3GPPConfigItem | ( | slqs3GPPConfigItem * | pSLQS3GPPConfigItem | ) |
Sets the 3gpp configuration item.
pSLQS3GPPConfigItem[IN] |
|
Sets the control point IP preference.
IPFamilyPreference |
|
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 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 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] |
|
ULONG StartDataSession | ( | ULONG * | pTechnology, | |
ULONG * | pPrimaryDNS, | |||
ULONG * | pSecondaryDNS, | |||
ULONG * | pPrimaryNBNS, | |||
ULONG * | pSecondaryNBNS, | |||
CHAR * | pAPNName, | |||
ULONG * | pIPAddress, | |||
ULONG * | pAuthentication, | |||
CHAR * | pUsername, | |||
CHAR * | pPassword, | |||
ULONG * | pSessionId | |||
) |
Activates an IPv4 packet data session.
pTechnology[IN] |
| |
pPrimaryDNS[IN] |
| |
pSecondaryDNS[IN] |
| |
pPrimaryNBNS[IN] |
| |
pSecondaryNBNS[IN] |
| |
pAPNName[IN] |
| |
pIPAddress[IN] |
| |
pAuthentication[IN] |
| |
pUsername[IN] |
| |
pPassword[IN] |
| |
pSessionId[OUT] |
|
ULONG StartDataSession2 | ( | ULONG * | pTechnology, | |
ULONG * | pPrimaryDNS, | |||
ULONG * | pSecondaryDNS, | |||
ULONG * | pPrimaryNBNS, | |||
ULONG * | pSecondaryNBNS, | |||
CHAR * | pAPNName, | |||
ULONG * | pIPAddress, | |||
ULONG * | pAuthentication, | |||
CHAR * | pUsername, | |||
CHAR * | pPassword, | |||
ULONG * | pSessionId, | |||
ULONG * | pFailureReason | |||
) |
Activates an IPv4 data session. It differs from StartDataSession in that it includes a parameter that is populated with a call failure reason when the data session cannot be established.
pTechnology[IN] |
| |
pPrimaryDNS[IN] |
| |
pSecondaryDNS[IN] |
| |
pPrimaryNBNS[IN] |
| |
pSecondaryNBNS[IN] |
| |
pAPNName[IN] |
| |
pIPAddress[IN] |
| |
pAuthentication[IN] |
| |
pUsername[IN] |
| |
pPassword[IN] |
| |
pSessionId[OUT] |
| |
pFailureReason[OUT] |
|
ULONG StartDataSessionLTE | ( | ULONG * | pTechnology, | |
ULONG * | pPrimaryDNSv4, | |||
ULONG * | pSecondaryDNSv4, | |||
ULONG * | pPrimaryNBNSv4, | |||
ULONG * | pSecondaryNBNSv4, | |||
USHORT * | pPrimaryDNSv6, | |||
USHORT * | pSecondaryDNSv6, | |||
CHAR * | pAPNName, | |||
ULONG * | pIPAddressv4, | |||
USHORT * | pIPAddressv6, | |||
ULONG * | pAuthentication, | |||
CHAR * | pUsername, | |||
CHAR * | pPassword, | |||
ULONG * | pSessionId, | |||
ULONG * | pFailureReason, | |||
BYTE | IPFamilyPreference | |||
) |
Activates either an IPv4, IPv6, or IPv4v6 packet data session. To set the IP family for the data session, execute SLQSSetIPFamilyPreference prior to calling this API.
pTechnology[IN] |
| |
pPrimaryDNSv4[IN] |
| |
pSecondaryDNSv4[IN] |
| |
pPrimaryNBNSv4[IN] |
| |
pSecondaryNBNSv4[IN] |
| |
pPrimaryDNSv6[IN] |
| |
pSecondaryDNSv6[IN] |
| |
pAPNName[IN] |
| |
pIPAddressv4[IN] |
| |
pIPAddressv6[IN] |
| |
pAuthentication[IN] |
| |
pUsername[IN] |
| |
pPassword[IN] |
| |
pSessionId[OUT] |
| |
pFailureReason[OUT] |
| |
IPFamilyPreference | (Not Used) |
Stops the current data session.
sessionId |
|