CMManager

Link against: commsdatcreator.lib

Public Attributes
const TUint32KCallBackTimeOut
const TIntKCsdAnalogue
const TIntKCsdAnalogueWcdma
const TIntKCsdIsdn110
const TIntKCsdIsdn110Wcdma
const TIntKCsdIsdn120
const TIntKCsdIsdn120Wcdma
const TIntKDataMobilitySelectionPolicyPriorityWildCard
const TIntKEndOfArray
const TIntKHcsdAnal
const TIntKHcsdIsdn110
const TIntKHcsdIsdn120
Public Member Enumerations
enumanonymous { ELanBaseSpecificAttributes, ELanBaseIfNetworks, ELanBaseIpNetMask, ELanBaseIpGateway, ..., ELanBaseRangeMax }
enumTCmCallSpeed { ECmSpeedAutobaud, ECmSpeed9600, ECmSpeed14400, ECmSpeed19200, ..., ECmSpeed56000 }
enumTCmCallType { ECmCallTypeAnalogue, ECmCallTypeISDNv110, ECmCallTypeISDNv120 }
enumTConnectionMethodCommonAttributes { ECmCoverage, ECmDefaultPriority, ECmDestination, ECmBearerHasUi, ..., ECmSpecialAttributesEnd }
enumTConnectionMethodCsdHscsdCommonAttributes { EPluginDialAttribStart, EDialOut, EDialCallType, EDialMaxConnSpeed, ..., EPluginDialAttribRangeMax }
enumTConnectionMethodLanSpecificAttributes { ELanSpecificAttributes, ELanIfNetworks, ELanIpNetMask, ELanIpGateway, ..., ELanRangeMax }
enumTConnectionMethodPacketDataSpecificAttributes { EPacketDataSpecificAttributes, EPacketDataOutGoing, EPacketDataAPName, EPacketDataPDPType, ..., EPacketDataRangeMax }
enumTConnectionMethodVpnSpecificAttributes { EPluginVpnAttribStart, EVpnServicePolicyName, EVpnServicePolicy, EVpnIapId, ..., EPluginVpnAttribRangeMax }
enumTConnectionMethodWlanSpecificAttributes { EWlanIfNetworks, EWlanIpNetMask, EWlanIpGateway, EWlanIpAddrFromServer, ..., EWlanRangeMax }
enumTIPv6Types { EIPv6Unspecified, EIPv6WellKnown, EIPv6UserDefined }
enumTLocalisedDestinations { ENotLocalisedDest, ELocalisedDestInternet, ELocalisedDestWap, ELocalisedDestMMS, ELocalisedDestIntranet }
enumTNamingMethod { ENamingNothing, ENamingUnique, ENamingNotAccept }
enumTPacketDataApType { EPacketDataInternetOnly, EPacketDataWAPOnly, EPacketDataBoth }
enumTProtectionLevel { EProtLevel0, EProtLevel1, EProtLevel2, EProtLevel3 }
enumTSeamlessnessValue { ESeamlessnessNotRoamedTo, ESeamlessnessConfirmFirst, ESeamlessnessShowprogress, ESeamlessnessFullySeamless }
enumTSnapMetadataField { ESnapMetadataInternet, ESnapMetadataHighlight, ESnapMetadataHiddenAgent, ESnapMetadataDestinationIsLocalised, ESnapMetadataPurpose }
enumTSnapPurpose { ESnapPurposeUnknown, ESnapPurposeInternet, ESnapPurposeOperator, ESnapPurposeMMS, ESnapPurposeIntranet }
enumTWapWSPOption { ECmWapWspOptionConnectionless, ECmWapWspOptionConnectionOriented }
enumTWlanNetMode { EAdhoc, EInfra }
enumTWlanSecMode { EWlanSecModeOpen, EWlanSecModeWep, EWlanSecMode802_1x, EWlanSecModeWpa, ..., EWlanSecModeWAPI }
Public Member Functions
_LIT(KConfigDaemonName, "!DhcpServ")
_LIT(KDaemonManagerName, "NetCfgExtnDhcp")
_LIT(KDefIspIfNetworksIPv4, "ip")
_LIT(KDefIspIfNetworksIPv4IPv6, ", ip6")
_LIT(KDefIspIfNetworksIPv4IPv6LAN, "ip")
_LIT(KDefIspIfNetworksIPv6, "ip6")
_LIT(KDefProxyProtocolName, "http")
_LIT(KDefaultProxyPortNumber, "0")
_LIT(KDynamicIpv6Address, "0:0:0:0:0:0:0:0")
_LIT(KKnownIp6NameServer1, "fec0:000:0000:ffff::1")
_LIT(KKnownIp6NameServer2, "fec0:000:0000:ffff::2")
_LIT(KUnspecifiedIPv4, "0.0.0.0")

Member Attribute Documentation

KCallBackTimeOut

const TUint32KCallBackTimeOut

callback timeout in microseconds

KCsdAnalogue

const TIntKCsdAnalogue

the set of max speeds available for CSD analogue

KCsdAnalogueWcdma

const TIntKCsdAnalogueWcdma

the set of speeds available for CSD wcdma analogue

KCsdIsdn110

const TIntKCsdIsdn110

the set of speeds available for CSD idsn 110

KCsdIsdn110Wcdma

const TIntKCsdIsdn110Wcdma

the set of speeds available for CSD isdn 110 wcdma

KCsdIsdn120

const TIntKCsdIsdn120

the set of speeds available for CSD isdn 120

KCsdIsdn120Wcdma

const TIntKCsdIsdn120Wcdma

the set of speeds available for CSD isdn 120 wcdma

KDataMobilitySelectionPolicyPriorityWildCard

const TIntKDataMobilitySelectionPolicyPriorityWildCard

KEndOfArray

const TIntKEndOfArray

indicated the end of the array in the following max speed array sets

KHcsdAnal

const TIntKHcsdAnal

the set of speeds available for HSCSD analogue

KHcsdIsdn110

const TIntKHcsdIsdn110

the set of speeds available for HSCSD isdn 110

KHcsdIsdn120

const TIntKHcsdIsdn120

the set of speeds available for HSCSD isdn 120

Member Enumeration Documentation

Enum TCmCallSpeed

These enums are used to represent the connection speed.

EnumeratorValueDescription
ECmSpeedAutobaud0x00000000Autodetect.
ECmSpeed96000x000000019600
ECmSpeed144000x0000000214400
ECmSpeed192000x0000000319200
ECmSpeed288000x0000000428800
ECmSpeed384000x0000000538400
ECmSpeed432000x0000000643200
ECmSpeed560000x0000000756000

Enum TCmCallType

These enums are used to represent the conn. type Analogue/ISDNv110/ISDNv120

EnumeratorValueDescription
ECmCallTypeAnalogueAnalogue.
ECmCallTypeISDNv110ISDN v. 110.
ECmCallTypeISDNv120ISDN v. 120.

Enum TConnectionMethodCommonAttributes

This enum lists all the common attributes of Connection Methods.

EnumeratorValueDescription
ECmCoverage

The following attributes can be queried via both the manager interface's and connection method interface's Get functions. Checks if there's coverage for this bearer. (TBool - default: none - read only)

ECmDefaultPriority

Default global priority of the CM's bearer type. (TUint32 - default: none - read only)

ECmDestination

ETrue if this connection method is an embedded destination. (TBool - default: none - read only)

ECmBearerHasUi

Indicates whether the bearer has any UI. (TBool - default: none - read only)

ECmIPv6Supported

Returns ETrue if IPv6 is supported. (TBool - default: none - read only)

ECmDefaultUiPriority

Priority of this bearer type when shown in UI for configuring a new IAP. (TUint32 - default: none - read only)

ECmBearerIcon100

Return the bearer specific icon. Assumes that there's an existing EEikEnv in the client. Type cast return value from TUint32 to CGuiIcon*. Return value 0 means bearer has no icon. (TUint32 - default: none - read only)

ECmBearerAvailableIcon

Return the bearer available specific icon. Assumes that there's an existing EEikEnv in the client. Type cast return value from TUint32 to CGuiIcon*. Return value 0 means bearer has no icon. (TUint32 - default: none - read only)

ECmBearerAvailableName200

Name of the bearer. Can be used in layout list_double_large_graphic_popup_menu_pane. (String - default: none - read only)

ECmBearerSupportedName

Name of the bearer. Can be used in layout list_single_popup_menu_pane_1. (String - default: none - read only)

ECmBearerAvailableText

Localized text 'Available'. Can be used in layout list_double_large_graphic_popup_menu_pane. (String - default: none - read only)

ECmBearerNamePopupNote

Localized text of the bearer type name. Can be used in layout popup note. (String - default: none - read only)

ECmCommsDBBearerType

For backward compatibility, connection method can return its CommsDB specific bearer type. (TUint32 - default: none - read only) Leaves with KErrUnknown if no associated bearer type exists in CommsDat.

ECmBearerSettingName

Name of the data bearer used when accessing external network. (String - default: none - read only)

ECmVirtual

Is the given connection method virtual? (TBool - default: none - read only)

ECmInvalidAttribute400

These are not bearer specific, but controling attributes. Client application can check which attribute was incorrect in UpdateL(). (TUint32 - default: none - read only)

ECmAddToAvailableList

Bearer type has to be added to the avaialable bearer type list. (TBool - default: EFalse - read only)

ECmLoadResult

Result of the load process. KErrNone if there was no error. Otherwise a system wide error code. (TUint32 - default: KErrNone - read only)

ECmBearerType500
Attributes the can be queried only via
  • connection method's GetXXXAttributeL()

  • connection manager's function GetConnectionMethodInfoXXXL() functions Bearer type of the CM (TUint - default: none - read only)

ECmName

Name of the CM (String - default: none)

ECmIapId

IAP id (TUint32 - default: none - read only)

ECmStartPage

Start page of the connection method (String - default: empty string)

ECmHidden

Connection method is hidden. (not supported yet) (TBool - default: EFalse)

ECmProtected

This connection method is protected. Modifying it needs NetworkControl capability. (TBool - default: EFalse)

ECmNamingMethod

See acceptable values in TNamingControl. (TUint32 - default: ENamingUnique)

ECmSeamlessnessLevel

Defines whether an IAP can be roamed to. See details in TSeamlessnessValue. (TUint32 - default: ESeamlessnessConfirmFirst )

ECmElementID

Element id of the connection method in IAP table. (TUint32 - default: none - read only)

ECmNetworkId

Network id of the connection method. (TUint32 - default: none - read only)

ECmConnected

Is network connection created with connection method? (TBool - default: none - read only)

ECmId

ID to uniquely identify the connection methods It is guaranteed that every connection method has an ECmId (TUint32 - default: none - read only)

ECmWapId
ECmIapServiceId

Provided for backwards compatibility only. The record ID of the connection methods' corresponding WAP_ACCESS_POINT record, which use had been deprecated as the main ID should now be ECmIapId, ECmElementID or ECmId. (TUint32 - default: none - read only)

ECmMetaHighlight600

Provided for backwards compatibility only. The record ID of the connection methods' service record (TUint32 - default: none - read only) The following attributes are stored in the connection method's meta data record. Set to indicate that this connection method is highlighted in Agent dialog. Only one connection method can have this flag set. (TBool - default: EFalse)

ECmMetaHiddenAgent

Set to hide this connection method in Agent dialog. (TBool - default: EFalse)

ECmNextLayerIapId

Returns the linked connection method's IAP id. (TUint32 - default: None)

ECmNextLayerSNAPId

Returns the linked connection method's SNAP id. (TUint32 - default: None)

ECmProxyUsageEnabled1000

Set to enable/disable proxy setting of connection method. Disabling: record is deleted from proxy when UpdateL() is called. Proxy record is deleted on UpdateL() if ECmProxyServerName is an empty string. It can be queried only via the connection method's GetXXXAttributeL() (TBool: default: EFalse)

ECmProxyServerName

Name of the host. It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmProxyProtocolName

Name of the protocol for which this proxy can be used. It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmProxyPortNumber

Port number It can be queried only via the connection method's GetXXXAttributeL() (TUint32 - default: none)

ECmProxyExceptions

";" separated list of the addresses for which the proxy server should not be used. It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmProxyRangeMax1999

Marks the end of the proxy range

ECmChargeCardUsageEnabled2000

Same as in ECmProxyUsageEnabled but for charge card. (TBool - default: EFalse)

ECmChargeCardAccountNumber

Account number (String - default: none)

ECmChargeCardPIN

PIN number (String - default: none)

ECmChargeCardLocalRule

Order of dialling account number, PIN and phone number for local calls. (String - default: none)

ECmChargeCardNatRule

Order of dialling account number, PIN and phone number for national calls. (String - default: none)

ECmChargeCardIntlRule

Order of dialling account number, PIN and phone number for international calls. (String - default: none)

ECmChargeCardRangeMax2999

Marks the end of the chargecard range

ECmLocationUsageEnabled3000

Same as in ECmProxyUsageEnabled but for location. (TBool - default: EFalse)

ECmLocationIntlPrefixCode

International prefix code. (String - default: none)

ECmLocationNatPrefixCode

National prefix code. (String - default: none)

ECmLocationNatCode

National code (String - default: none)

ECmLocationAreaCode

Area code. (String - default: none)

ECmLocationDialOutCode

Number to dial for an outside line. (String - default: none)

ECmLocationDisableCallWaitingCode

Code to dial to disable call waiting facility. (String - default: none)

ECmLocationMobile

Mobile phone? (TBool - default: none)

ECmLocationUsePulseDial

Use pulse dialling? (TBool - default: none)

ECmLocationWaitForDialTone

Wait for the dial tone? (TBool - default: none)

ECmLocationPauseAfterDialOut

Pause time after dial out. (TUint32 - default: none)

ECmLocationRangeMax3999

Marks the end of the location range

ECmWapIPGatewayAddress4000

WAP Gateway address, in this case an IP address. (String - default: none)

ECmWapIPWSPOption

Enum value indicating whether connection-oriented or connectionless API should be used. See valid values in TWapWSPOption. (TUint32 - default: ECmWapWspOptionConnectionless)

ECmWapIPSecurity

Attempt secure WTLS connection to the gateway (TBool - default: EFalse)

ECmWapIPProxyPort

Proxy port number. Required for WAP2.0 only. (TUint32 - default: none)

ECmWapIPProxyLoginName

Proxy login name. Required for WAP2.0 only. (String - default: none)

ECmWapIPProxyLoginPass

Proxy login password. Required for WAP2.0 only. (String - default: none)

ECmWapRangeMax4099

Marks the end of the WAP specific range

ECmCommonAttributesStart5000

The following attributes are common for many bearer types. It's not sure that every IF or IP attribute is supported by all bearer types. It's not possible to query these attributes via GetConnectionInfoXXX() functions. Marks the beginning of the common attributes

ECmIFName

Interface name It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIFParams

Interface parameter string It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIFNetworks

List of network protocols It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIFPromptForAuth

Prompt user for authentication It can be queried only via the connection method's GetXXXAttributeL() (TBool - default: none)

ECmIFAuthName

Authentication user name used by PPP It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIFAuthPass

Authentication password used by PPP It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIFAuthRetries

Number of times for retrying authentication if it fails It can be queried only via the connection method's GetXXXAttributeL() (TUint32 - default: none)

ECmIPNetmask5050

IP net mask of interface It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIPGateway

IP address of gateway It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIPAddFromServer

Get IP address from server? It can be queried only via the connection method's GetXXXAttributeL() (TBool - default: none)

ECmIPAddress

IP address of interface It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIPDNSAddrFromServer

Get DNS addresses from server? It can be queried only via the connection method's GetXXXAttributeL() (TBool - default: none)

ECmIPNameServer1

IP address of primary name server It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIPNameServer2

IP address of secondary name server It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIP6DNSAddrFromServer

Get IP6 DNS addresses from server? It can be queried only via the connection method's GetXXXAttributeL() (TBool - default: none)

ECmIP6NameServer1

IP6 address of primary name server It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIP6NameServer2

IP6 address of secondary name server It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIPAddrLeaseValidFrom

IP address valid from this time, used to store dynamically assigned address lease info It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmIPAddrLeaseValidTo

IP address valid for use until this time, used to store dynamically assigned address lease info It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmConfigDaemonManagerName5100

Name of the ECom configuration daemon manager component. This component interfaces with the server identified in ECmConfigDaemonName. If specified, ECmConfigDaemonName should also be specified. It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmConfigDaemonName

Name of the configuration daemon server. This server is used to provide further configuration for a connection, e.g. dynamic IP address assignment. If specified, ECmConfigDaemonManagerName should also be specified. It can be queried only via the connection method's GetXXXAttributeL() (String - default: none)

ECmEnableLPCExtension5110

Enable LCP extensions? It can be queried only via the connection method's GetXXXAttributeL() (TBool - default: none)

ECmDisablePlainTextAuth

Disable plaintext authentication? It can be queried only via the connection method's GetXXXAttributeL() (TBool - default: none)

ECmCommonAttributesEnd5999

Marks the end of common attributes

ECmSpecialAttributes6000

The following methods can be queried only via connection method's GetXXXAttributeL() Marks the beginning of special attributes

ECmIsLinked

Is connection method linked to any virtual connection method? It can be queried only via the connection method's GetXXXAttributeL() (TBool - default: none)

ECmSpecialAttributesEnd8999

Marks the end of special attributes

Enum TConnectionMethodCsdHscsdCommonAttributes

These are the common attribute of every dial in/out bearer types.

EnumeratorValueDescription
EPluginDialAttribStart10000

Marks the beginning of common dial in/out attributes.

EDialOut10001

Dial out or in. ETrue means dial out. (TBool - default: ETrue)

EDialCallType10002

Call type. See acceptable values in TCmCallType. (TUint32 - default: ECmCallTypeAnalogue )

EDialMaxConnSpeed10003

Maximum speed. See acceptable values in TCmCallSpeed. (TUint32 - default: ECmSpeedAutobaud )

EDialDescription10100

Application's description of ISP. (String - default: none)

EDialType10101

Enum value indicating ISP type, e.g. Internet ISP, WAP ISP. Selected from TCommsDbIspType (TUint32 - default: EIspTypeInternetAndWap)

EDialDefaultTelNum10102

Default phone number. (Only for dial out) (String - default: none)

EDialDialResolution10103

Perform dialling resolution for default phone number? (Only for dial out) (TBool - default: none)

EDialChargeCard10104

Identifier of the chargecard in this ISP. (Only for dial out) (TUint32 - default: none)

EDialUseLoginScript10105

Use login script? (TBool - default: EFalse)

EDialLoginScript10106

Login script (used if Use Login Script is ETrue) (String - default: none)

EDialAuthentication10107

UNUSED (will eventually point to some authentication table/group) (Only for dial in) (TUint32 - default: none)

EDialPromptForLogin10108

Prompt user for username and password? (Only for dial out) (TBool - default: EFalse)

EDialLoginName10109

Login name. (Only for dial out) (String - default: none)

EDialLoginPassword10110

Login password. (Only for dial out) (String - default: none)

EDialDisplayPCT10111

Display PCT (without scanning script for READ command)? (Only for dial out) (TBool - default: none)

EDialIFParams10112

Interface parameter string. (String - default: none)

EDialIFNetworks10113

Comma separated list of network protocols, e.g. "PPP" (String - default: none)

EDialIFPromptForAuth10114

Prompt user for authentication username and password? (Only for dial out) (TBool - default: EFalse)

EDialIFAuthName10115

Authentication username used by PPP (Only for dial out) (String - default: none)

EDialIFAuthPass10116

Authentication password used by PPP (Only for dial out) (String - default: none)

EDialIFAuthRetries10117

Number of times to retry authentication if it fails. (TUint32 - default: none)

EDialIFCallbackEnabled10118

Callback enabled? (Only for dial out) (TBool - default: none)

EDialIFCallbackType10119

Enum value indicating type of callback (if enabled). Selected from TCallbackAction. (Only for dial out) (TUint32 - default: none)

EDialIFCallbackInfo10120

Info for callback request (if enabled) This is an 8-bit string! (Only for dial out) (String - default: none)

EDialCallbackTimeout10121

Time to wait for callback in microseconds (if enabled) (Only for dial out) (TUint32 - default: none)

EDialIFServerMode10122

When PPP is configured as a server. (Only for dial out) (TBool - default: none)

EDialIPAddressFromServer10123

Get IP address from server? (TBool - default: none)

EDialIPAddress10124

IP address of interface (String - default: none)

EDialIPNetmask10125

IP net mask of interface (String - default: none)

EDialIPGateway10126

IP address of gateway. (String - default: none)

EDialIPDNSAddressFromServer10127

Get DNS addresses from server? (TBool - default: none)

EDialIPNameServer110128

IP Address of primary name server. (String - default: none)

EDialIPNameServer210129

IP Address of secondary name server. (String - default: none)

EDialIP6DNSAddressFromServer10130

Get IP6 DNS addresses from server? (TBool - default: none)

EDialIP6NameServer110131

IP6 Address of primary name server (String - default: none)

EDialIP6NameServer210132

IP6 Address of secondary name server (String - default: none)

EDialIPAddressLeaseValidFrom10133

IP address valid from this time, used to store dynamically assigned address lease info. (Only for dial out) (String - default: none)

EDialIPAddressLeaseValidTo10134

IP address valid for use until this time, used to store dynamically assigned address lease info. (Only for dial out) (String - default: none)

EDialConfigDaemonManagerName10135

Name of the ECOM configuration daemon manager component. This component interfaces with the server identified in ISP_CONFIG_DAEMON_NAME. If specified, ISP_CONFIG_DAEMON_NAME should also be specified. (Only for dial out) (String - default: none)

EDialConfigDaemonName10136

Name of the configuration daemon server. This server is used to provide further configuration for a connection, e.g. dynamic IP address assignment. If specified, ISP_CONFIG_DAEMON_MANAGER_NAME should also be specified. (Only for dial out) (String - default: none)

EDialEnableIPHeaderComp10137

Enable IP header compression? (TBool - default: none)

EDialEnableLCPExtension10138

Enable LCP extension? (TBool - default: none)

EDialDisablePlainTextAuth10139

Disable plain text authentication? (TBool - default: none)

EDialEnableSWComp10140

Enable software compression (e.g. Microsoft, STAC or Predictor compression)? (TBool - default: none)

EDialBearerName10141

Enum value specifying the name of the bearer, e.g. Asynchronous Modem. Selected from RBasicGsmCall::TBearerName (TUint32 - default: none)

EDialBearerSpeed10142

Enum value specifying the bearer speed from RBasicGsmCall::TBearerSpeed (TUint32 - default: none)

EDialBearerCE10143

Enum value specifying the bearer CE, e.g. non-transparent. Selected from RbasicGsmCall::TBearerCE (TUint32 - default: none)

EDialInitString10144

Modem initialisation string to be used when this ISP is in use. This string is copied into the MODEM_ISP_INIT_STRING field by NetDial. 8bit string! (String- default: none)

EDialBearerService10145

Enum of type RMobileCall::TMobileCallDataService. (Only for dial out) (TUint32 - default: none)

EDialBearerProtocol10146

Enum of type RMobileCall::TMobileCallDataProtocol. (Only for dial out) (TUint32 - default: none)

EDialRLPVersion10147

Enum of type RMobileCall::TMobileCallDataRLPVersion. (Only for dial out) (TUint32 - default: none)

EDialIWFtoMS10148

Integer specifying network to MS window size. (Only for dial out) (TUint32 - default: none)

EDialMStoIWF10149

Integer specifying MS to network window size. (Only for dial out) (TUint32 - default: none)

EDialAckTimer10150

Integer specifying rlp ack timeout in microseconds. (Only for dial out) (TUint32 - default: none)

EDialRetransmissionAttempts10151

Integer specifying rlp retransmission attempts. (Only for dial out) (TUint32 - default: none)

EDialResequencePeriod10152

Integer specifying resequencing period. (Only for dial out) (TUint32 - default: none)

EDialV42Compression10153

Enum of type TMobileCallDataV42bis. (Only for dial out) (TUint32 - default: none)

EDialV42CodeWords10154

Integer specifying V42bis codewords. (Only for dial out) (TUint32 - default: none)

EDialV42MaxLength10155

Integer specifying V42bis maximum string length. (Only for dial out) (TUint32 - default: none)

EDialUseEdge10156

EDGE parameter used by GSM. (TBool - default: none)

EPluginDialAttribRangeMax19999

Marks the end of common dial in/out attributes.

Enum TConnectionMethodLanSpecificAttributes

LAN specific connection method attributes

EnumeratorValueDescription
ELanSpecificAttributesKLanBaseSpecificAttributes
ELanIfNetworksKLanBaseIfNetworks

Comma separated list of network protocols, e.g. "PPP". ( String - default: None)

ELanIpNetMask

IP net mask of interface. ( String - default: None)

ELanIpGateway

IP address of gateway ( String - default: None)

ELanIpAddrFromServer

Get IP addresses (for EPOC) from server? ( TBool - default: None)

ELanIpAddr

IP address of EPOC. ( String - default: None)

ELanIpDNSAddrFromServer

Get DNS addresses from server? ( TBool - default: None)

ELanIpNameServer1

IP Address of primary name server. ( String - default: None)

ELanIpNameServer2

IP Address of secondary name server. ( String - default: None)

ELanIp6DNSAddrFromServer

Get IP6 DNS addresses from server? ( TBool - default: None)

ELanIp6NameServer1

IP6 Address of primary name server. ( String - default: None)

ELanIp6NameServer2

IP6 Address of secondary name server. ( String - default: None)

ELanIpAddrLeaseValidFrom

IP address valid from this time, used to store dynamically assigned address lease info. ( String - default: None)

ELanIpAddrLeaseValidTo

IP address valid for use until this time, used to store . dynamically assigned address lease info. ( String - default: None)

ELanConfigDaemonManagerName

Name of the ECOM configuration daemon manager component. This component interfaces with the server identified in ISP_CONFIG_DAEMON_NAME. If specified, ISP_CONFIG_DAEMON_NAME should also be specified. ( String - default: None)

ELanConfigDaemonName

Name of the configuration daemon server. This server is used to provide further configuration for a connection, e.g. dynamic IP address assignment. If specified, ISP_CONFIG_DAEMON_MANAGER_NAME should also be specified. ( String - default: None)

ELanServiceExtensionTableName

Name of the LAN Service Extension table. ( String - default: None)

ELanServiceExtensionTableRecordId

The record ID of the linked LAN Service Extension record in the LAN Service Extension table. ( TUint32 - default: None)

ELanRangeMaxKLanBaseRangeMax

Enum TConnectionMethodPacketDataSpecificAttributes

Packet Data specific connection method attributes

EnumeratorValueDescription
EPacketDataSpecificAttributes10000

Marks the beginning of packet data specific attributes.

EPacketDataOutGoing

Indicates the direction of this connection method. Value ETrue means outgoing, EFalse is incoming. Can be changed dynamically, but every packet data specific data is lost then. (TBool - default: ETrue)

EPacketDataAPName10100

Access point name. (String - default: None)

EPacketDataPDPType
PDP type. Values can be one (RPacketContext::TProtocolType):
  • EPdpTypeIPv4 or

  • EPdpTypeIPv6 (TUint32 - default: EPdpTypeIPv4 if IPv4 only EPdpTypeIPv6 if IPv6 supported )

EPacketDataPDPAddress

PDP address of phone. ( String - default: None)

EPacketDataReqPrecedence

Requested quality of service precedence class. ( TUint32 - default: None)

EPacketDataReqDelay

Requested quality of service delay class. ( TUint32 - default: None)

EPacketDataReliability

Requested quality of service reliability class. ( TUint32 - default: None)

EPacketDataPeakThroughput

Requested quality of service peak throughput class. ( TUint32 - default: None)

EPacketDataMeanThroughput

Requested quality of service mean throughput class. ( TUint32 - default: None)

EPacketDataMinPrecedence

Minimum quality of service precedence class. ( TUint32 - default: None)

EPacketDataMinDelay

Minimum quality of service delay class. ( TUint32 - default: None)

EPacketDataMinReliability

Minimum quality of service reliability class. ( TUint32 - default: None)

EPacketDataMinPeakThroughput

Minimum quality of service peak throughput class. ( TUint32 - default: None)

EPacketDataMinMeanThroughput

Minimum quality of service mean throughput class. ( TUint32 - default: None)

EPacketDataDataCompression

Data compression on? ( TBool - default: None)

EPacketDataHeaderCompression

IP header compression on? ( TBool - default: None)

EPacketDataUseEdge

EDGE parameter. ( TBool - default: None)

EPacketDataAnonymousAccess

Use anonymous access on? ( TBool - default: None)

EPacketDataIFParams

Interface parameter string. ( String - default: None)

EPacketDataIFNetworks

Comma separated list of network protocols, e.g. "PPP". ( String - default: None)

EPacketDataIFPromptForAuth

Prompt user for authentication username and password? ( TBool - default: None)

EPacketDataIFAuthName

Authentication username used by PPP. ( String - default: None)

EPacketDataIFAuthPass

Authentication password used by PPP. ( String - default: None)

EPacketDataIFAuthRetries

Number of times to retry authentication if it fails. ( TUint32 - default: None)

EPacketDataIPNetmask

IP net mask of interface. ( String - default: None)

EPacketDataIPGateway

IP address of gateway ( String - default: None)

EPacketDataIPAddrFromServer

Get IP addresses (for EPOC) from server? ( TBool - default: None)

EPacketDataIPAddr

IP address of EPOC. ( String - default: None)

EPacketDataIPDNSAddrFromServer

Get DNS addresses from server? ( TBool - default: None)

EPacketDataIPNameServer1

IP Address of primary name server. ( String - default: None)

EPacketDataIPNameServer2

IP Address of secondary name server. ( String - default: None)

EPacketDataIPIP6DNSAddrFromServer

Get IP6 DNS addresses from server? ( TBool - default: None)

EPacketDataIPIP6NameServer1

IP6 Address of primary name server. ( String - default: None)

EPacketDataIPIP6NameServer2

IP6 Address of secondary name server. ( String - default: None)

EPacketDataIPAddrLeaseValidFrom

IP address valid from this time, used to store dynamically assigned address lease info. ( String - default: None)

EPacketDataIPAddrLeaseValidTo

IP address valid for use until this time, used to store. ( String - default: None)

EPacketDataConfigDaemonManagerName

IP address valid for use until this time, used to store dynamically assigned address lease info. ( String - default: None)

EPacketDataConfigDaemonName

Name of the ECOM configuration daemon manager component. This component interfaces with the server identified in ISP_CONFIG_DAEMON_NAME. If specified, ISP_CONFIG_DAEMON_NAME should also be specified. Name of the configuration daemon server. This server is used to provide further configuration for a connection, e.g. dynamic IP address assignment. If specified, ISP_CONFIG_DAEMON_MANAGER_NAME should also be specified. ( String - default: None)

EPacketDataEnableLcpExtension

Enable LCP extensions? ( TBool - default: None)

EPacketDataDisablePlainTextAuth

Disable plain text authentication? ( TBool - default: None)

EPacketDataApType

Service supports Internet only, WAP only or both. Values can be any of TPacketDataType. ( TUint32 - default: None)

EPacketDataQoSWarningTimeOut

If the requested QOS can not be satisfied warn the user after this time in microseconds. Set to 0xffffffff to disable. ( TUint32 - default: None)

EPacketDataServiceEnableLLMNR

Enable LLMNR? ( TBool - default: None)

EGPRSReqTrafficClass10200

Requested traffic class Defined in etelqos.h in RPacketQoS::TTrafficClass. (TUint32 - default: ETrafficClassUnspecified)

EGPRSMinTrafficClass

Minimum acceptable traffic class. Defined in etelqos.h in RPacketQoS::TTrafficClass. (TUint32 - default: ETrafficClassUnspecified)

EGPRSReqDeliveryOrder

Requested value for sequential SDU delivery. Defined in etelqos.h in RPacketQoS::TDeliveryOrder. (TUint32 - default: EDeliveryOrderUnspecified)

GPRSMinDeliveryOrder

Minimum acceptable value for sequential SDU delivery. Defined in etelqos.h in RPacketQoS::TDeliveryOrder. (TUint32 - default: EDeliveryOrderUnspecified)

EGPRSReqDeliverErroneousSDU

Requested value for erroneous SDU delivery. Defined in etelqos.h in RPacketQoS::TErroneousSDUDelivery. (TUint32 - default: EErroneousSDUDeliveryUnspecified)

EGPRSMinDeliverErroneousSDU

Minimum acceptable value for erroneous SDU delivery. Defined in etelqos.h in RPacketQoS::TErroneousSDUDelivery. (TUint32 - default: EErroneousSDUDeliveryUnspecified)

EGPRSReqMaxSDUSize

Request maximum SDU size. (TInt32 - default: 0)

EGPRSMinAcceptableMaxSDUSize

Minimum acceptable SDU size. (TInt32 - default: 0)

EGPRSReqMaxUplinkRate

Requested maximum bit rates on uplink. (TInt32 - default: 0)

EGPRSReqMinUplinkRate

Requested minimum bit rates on uplink. (TInt32 - default: 0)

EGPRSReqMaxDownlinkRate

Requested maximum bit rates on downlink. (TInt32 - default: 0)

EGPRSReqMinDownlinkRate

Requested minimum bit rates on downlink. (TInt32 - default: 0)

EGPRSReqBER

Requested target BER. Defined in etelqos.h in RPacketQoS::TBitErrorRatio. (TUint32 - default: EBERUnspecified)

EGPRSMaxBER

Maximum acceptable target BER. Defined in etelqos.h in RPacketQoS::TBitErrorRatio. (TUint32 - default: EBERUnspecified)

EGPRSReqSDUErrorRatio

Requested target SDU error ratio. Defined in etelqos.h in RPacketQoS::TSDUErrorRatio. (TUint32 - default: ESDUErrorRatioUnspecified)

EGPRSMaxSDUErrorRatio

Maximum acceptable target SDU error ratio. Defined in etelqos.h in RPacketQoS::TSDUErrorRatio. (TUint32 - default: ESDUErrorRatioUnspecified)

EGPRSReqTrafficHandlingPriority

Requested traffic handling priority. Defined in etelqos.h in RPacketQoS::TTrafficHandlingPriority. (TUint32 - default: ETrafficPriorityUnspecified)

EGPRSMinTrafficHandlingPriority

Minimum acceptable traffic handling priority. Defined in etelqos.h in RPacketQoS::TTrafficHandlingPriority. (TUint32 - default: ETrafficPriorityUnspecified)

EGPRSReqTransferDelay

Requested transfer delay(in milliseconds). (TInt32 - default: 0)

EGPRSMaxTransferDelay

Maximum acceptable transfer delay(in milliseconds). (TInt32 - default: 0)

EGPRSReqGuaranteedUplinkRate

Requested guaranteed bit rates on uplink. (TInt32 - default: 0)

EGPRSMinGuaranteedUplinkRate

Minimum acceptable guaranteed bit rates on uplink. (TInt32 - default: 0)

EGPRSReqGuaranteedDownlinkRate

Requested guaranteed bit rates on downlink. (TInt32 - default: 0)

EGPRSMinGuaranteedDownlinkRate

Minimum acceptable guaranteed bit rates on downlink. (TInt32 - default: 0)

EGPRSSignallingIndication

Signalling indication. (TBool - default: EFalse)

EGPRS_ImCnSignallingIndication

IP Multimeida System (IMS) Core Network (CN) Signalling Indicator. (TBool - default: EFalse)

EGPRSSourceStatisticsDescriptor

Static source descriptor. Defined in etelqos.h in RPacketQoS::TSourceStatisticsDescriptor. (TUint32 - default: ESourceStatisticsDescriptorUnknown)

EPacketDataRangeMax19999

Marks the end of packet data specific attributes.

Enum TConnectionMethodVpnSpecificAttributes

VPN specific attributes

Note: ECmProxyPortNumber is a common bearer attribute, but its default value varies in the VPN plug-in, where it is 80

Note2: VPN, as it is a virtual plugin, does not supports the following common attributes (these are valid only for real bearers): ECmIFName, ECmIFParams, ECmIFNetworks, ECmIFPromptForAuth, ECmIFAuthName, ECmIFAuthPass, ECmIFAuthRetries, ECmIPNetmask, ECmIPGateway, ECmIPAddFromServer, ECmIPAddress, ECmIPDNSAddrFromServer, ECmIPNameServer1, ECmIPNameServer2, ECmIP6DNSAddrFromServer, ECmIP6NameServer1, ECmIP6NameServer2, ECmIPAddrLeaseValidFrom, ECmIPAddrLeaseValidTo, ECmConfigDaemonManagerName, ECmConfigDaemonName, ECmEnableLPCExtension, ECmDisablePlainTextAuth Querying these will leave with KErrNotSupported.

EnumeratorValueDescription
EPluginVpnAttribStart30000

Marks the beginning of the VPN attributes.

EVpnServicePolicyName30100

Policy name. (String - default: None)

EVpnServicePolicy

Policy. (String - default: None)

EVpnIapId

Home IAP Id. (TUint32 - default: None)

EVpnNetworkId

Network Id. (TUint32 - default: None - read only)

EVpnServiceEnableLLMNR

LLMNR (TBool - default: EFalse)

EPluginVpnAttribRangeMax39999

Marks the end of the VPN attributes.

Enum TConnectionMethodWlanSpecificAttributes

Wlan specific connection method attributes

EnumeratorValueDescription
EWlanIfNetworksKLanBaseIfNetworks

Comma separated list of network protocols, e.g. "PPP". ( String - default: None)

EWlanIpNetMask

IP net mask of interface. ( String - default: None)

EWlanIpGateway

IP address of gateway ( String - default: None)

EWlanIpAddrFromServer

Get IP addresses (for EPOC) from server? ( TBool - default: None)

EWlanIpAddr

IP address of EPOC. ( String - default: None)

EWlanIpDNSAddrFromServer

Get DNS addresses from server? ( TBool - default: None)

EWlanIpNameServer1

IP Address of primary name server. ( String - default: None)

EWlanIpNameServer2

IP Address of secondary name server. ( String - default: None)

EWlanIp6DNSAddrFromServer

Get IP6 DNS addresses from server? ( TBool - default: None)

EWlanIp6NameServer1

IP6 Address of primary name server. ( String - default: None)

EWlanIp6NameServer2

IP6 Address of secondary name server. ( String - default: None)

EWlanIpAddrLeaseValidFrom

IP address valid from this time, used to store dynamically assigned address lease info. ( String - default: None)

EWlanIpAddrLeaseValidTo

IP address valid for use until this time, used to store dynamically assigned address lease info. ( String - default: None)

EWlanConfigDaemonManagerName

Name of the ECOM configuration daemon manager component. This component interfaces with the server identified in ISP_CONFIG_DAEMON_NAME. If specified, ISP_CONFIG_DAEMON_NAME should also be specified. ( String - default: None)

EWlanConfigDaemonName

Name of the configuration daemon server. This server is used to provide further configuration for a connection, e.g. dynamic IP address assignment. If specified, ISP_CONFIG_DAEMON_MANAGER_NAME should also be specified. ( String - default: None)

EWlanServiceExtensionTableName

Name of the WLAN Service Extension table. ( String - default: None)

EWlanServiceExtensionTableRecordId

The record ID of the linked WLAN Service Extension record in the WLAN Service Extension table. ( TUint32 - default: None)

EWlanSpecificAttributes30000

Marks the beginning of WLAN specific attributes.

EWlanServiceId30100

The record ID to which IAP record these settings belong to. ( TUint32 - default: None)

EWlanConnectionMode

The connection mode. This can be either Ad-hoc or infrastructure. TWlanNetMode enum is to be used. ( TUint32 - default: EInfra )

EWlanSSID

The SSID of this WLAN connection. ( String - default: None)

EWlanUsedSSID

Used SSID. ( String - default: None)

EWlanSecurityMode

The security mode of this WLAN connection. It is a TWlanSecMode enum. ( TUint32 - default: EWlanSecModeOpen )

EWlanAuthenticationMode

Authentication type: none, wep, wpa, wpapresharedkey ( TUint32 - default: None )

EWlanScanSSID

Gives whether it should scan for the SSID. (TBool - default: EFalse )

EWlanChannelID

This is the channel ID in ad-hoc network mode ( TUint32 - default: EAdhocAutomatic, if set to EAdhocUserDefined default = 7 )

EWlanAllowSSIDRoaming

Gives whether it is allowed to roam inside one SSID or not. (TBool - default: determined through variation )

EWlanRangeInternal35000

Internal limiter

EWlanSecuritySettings

Internal, used for the security settings.

EWlanRangeMax39999

Marks the end of WLAN attributes.

Enum TIPv6Types

EnumeratorValueDescription
EIPv6UnspecifiedUnspecified IPv6 type.
EIPv6WellKnownWell known IPv6 type.
EIPv6UserDefinedUser defined IPv6 type.

Enum TLocalisedDestinations

This is the enum set of the TSnapMetadataField's ESnapMetadataDestinationIsLocalised

EnumeratorValueDescription
ENotLocalisedDest0x00000000

Used to sign that the destination is not localised at all

ELocalisedDestInternet0x00000001

Used to sign that the destination is localised as 'Internet'

ELocalisedDestWap0x00000002

Used to sign that the destination is localised as 'Wap'

ELocalisedDestMMS0x00000003

Used to sign that the destination is localised as 'MMS'

ELocalisedDestIntranet0x00000004

Used to sign that the destination is localised as 'Intranet'

Enum TNamingMethod

Naming method options

EnumeratorValueDescription
ENamingNothingDo nothing with name set via ECmName.
ENamingUniqueMake name unique when ECmName is set.
ENamingNotAccept

Do not accept duplication. It will leave with KErrArgument.

Enum TPacketDataApType

Enumeration for packet data AP types

EnumeratorValueDescription
EPacketDataInternetOnlyInternet-only connection method.
EPacketDataWAPOnlyWAP-only connection method.
EPacketDataBoth

Connection method supports both WAP and Internet

Enum TProtectionLevel

Protection Levels

EnumeratorValueDescription
EProtLevel00

No protection

EProtLevel11

A destination and its contents

EProtLevel22

A destination

EProtLevel33

Note: Level 3 - Set the ECmProtected attr on connection method

Enum TSeamlessnessValue

Enum TSnapMetadataField

Metadata items

EnumeratorValueDescription
ESnapMetadataInternet0x00000001

If set this destination is for internet usage. There can be only one such destination. (TBool - default: EFalse) Deprecated

ESnapMetadataHighlight0x00000002

If set this destination is highlighted by default in the Agent dialog. (TBool - default: EFalse)

ESnapMetadataHiddenAgent0x00000004

If set this destination is hidden in the Agent dialog. (TBool - default: EFalse)

ESnapMetadataDestinationIsLocalised0x000000F0

This set of flags identifies the fixed destinations which have localised names. The possible values for this flag-set are the enums of TLocalisedDestinations.

ESnapMetadataPurpose0x00000F00

This set of flags identifies the fixed destinations for fixed purposes. The possible values for this flag-set are the enums of TSnapPurpose.

Enum TSnapPurpose

This is the enum set of the TSnapMetadataField's ESnapMetadataPurpose

EnumeratorValueDescription
ESnapPurposeUnknown0x00000000
ESnapPurposeInternet0x00000001

Used to sign that the destination is identified as 'Internet'

ESnapPurposeOperator0x00000002

Used to sign that the destination is identified as 'Operator'

ESnapPurposeMMS0x00000003

Used to sign that the destination is identified as 'MMS'

ESnapPurposeIntranet0x00000004

Used to sign that the destination is identified as 'Intranet'

Enum TWapWSPOption

WAP WSP options

EnumeratorValueDescription
ECmWapWspOptionConnectionless

Indicates that connectionless APIs should be used

ECmWapWspOptionConnectionOriented

Indicates that connection oriented APIs should be used

Enum TWlanNetMode

enumerations for WLAN network modes

EnumeratorValueDescription
EAdhoc0Ad-Hoc mode.
EInfra1Infrastructure mode.

Enum TWlanSecMode

enumerations for WLAN security modes It's possible to extend this enumeration

EnumeratorValueDescription
EWlanSecModeOpen1Open security mode.
EWlanSecModeWep2WEP security mode.
EWlanSecMode802_1x4802.1x security mode
EWlanSecModeWpa8WPA security mode.
EWlanSecModeWpa216WPA2 security mode.
EWlanSecModeWAPI32WAPI security mode.

Member Function Documentation

_LIT ( KConfigDaemonName, "!DhcpServ" )

_LIT(KConfigDaemonName,
"!DhcpServ"
)

_LIT ( KDaemonManagerName, "NetCfgExtnDhcp" )

_LIT(KDaemonManagerName,
"NetCfgExtnDhcp"
)

_LIT ( KDefIspIfNetworksIPv4, "ip" )

_LIT(KDefIspIfNetworksIPv4,
"ip"
)

IPv4 network protocol.

_LIT ( KDefIspIfNetworksIPv4IPv6, ", ip6" )

_LIT(KDefIspIfNetworksIPv4IPv6,
"ip,
ip6"
)

IPv4 and IPv6 network protocols.

_LIT ( KDefIspIfNetworksIPv4IPv6LAN, "ip" )

_LIT(KDefIspIfNetworksIPv4IPv6LAN,
"ip"
)

IPv4 and IPv6 network protocols for LAN bearers.

_LIT ( KDefIspIfNetworksIPv6, "ip6" )

_LIT(KDefIspIfNetworksIPv6,
"ip6"
)

IPv6 network protocol.

_LIT ( KDefProxyProtocolName, "http" )

_LIT(KDefProxyProtocolName,
"http"
)

Default proxy protocol name.

_LIT ( KDefaultProxyPortNumber, "0" )

_LIT(KDefaultProxyPortNumber,
"0"
)

Default proxy port number.

_LIT ( KDynamicIpv6Address, "0:0:0:0:0:0:0:0" )

_LIT(KDynamicIpv6Address,
"0:0:0:0:0:0:0:0"
)

Dynamic IPv6 address.

_LIT ( KKnownIp6NameServer1, "fec0:000:0000:ffff::1" )

_LIT(KKnownIp6NameServer1,
"fec0:000:0000:ffff::1"
)

Known IPv6 name server 1.

_LIT ( KKnownIp6NameServer2, "fec0:000:0000:ffff::2" )

_LIT(KKnownIp6NameServer2,
"fec0:000:0000:ffff::2"
)

Known IPv6 name server 2.

_LIT ( KUnspecifiedIPv4, "0.0.0.0" )

_LIT(KUnspecifiedIPv4,
"0.0.0.0"
)

Unspecified IPv4 address.