ipcm_pub/connection_settings_api/inc/cmconnectionmethoddef.h
changeset 40 c5b848e6c7d1
parent 20 9c97ad6591ae
child 71 9f263f780e41
equal deleted inserted replaced
34:3b0cec605979 40:c5b848e6c7d1
     1 /*
     1 /*
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    23 
    23 
    24 // CONSTANTS
    24 // CONSTANTS
    25 
    25 
    26 // Beginning of the CMManager enum range (internal use)
    26 // Beginning of the CMManager enum range (internal use)
    27 const TUint KLanBaseSpecificAttributes = 20000;
    27 const TUint KLanBaseSpecificAttributes = 20000;
    28 const TUint KLanBaseIfNetworks = 20100; 
    28 const TUint KLanBaseIfNetworks = 20100;
    29 // End of the CMManager enum range (internal use)
    29 // End of the CMManager enum range (internal use)
    30 const TUint KLanBaseRangeMax = 29999;
    30 const TUint KLanBaseRangeMax = 29999;
    31 
    31 
    32 /**  ECOM interface UID */
    32 /**  ECOM interface UID */
    33 const TUint KCMPluginInterfaceUid = 0x10207377;
    33 const TUint KCMPluginInterfaceUid = 0x10207377;
    34 
    34 
    35 namespace CMManager
    35 namespace CMManager
    36     {
    36     {
    37     //Enumeration for possible values of seamlessness field 
    37     //Enumeration for possible values of seamlessness field
    38     //in IAP Metadata table 
    38     //in IAP Metadata table
    39     /**  Naming method options */
    39     /**  Naming method options */
    40     enum TNamingMethod
    40     enum TNamingMethod
    41         {
    41         {
    42         ENamingNothing,     ///< Do nothing with name set via ECmName
    42         ENamingNothing,     ///< Do nothing with name set via ECmName
    43         ENamingUnique,      ///< Make name unique when ECmName is set.
    43         ENamingUnique,      ///< Make name unique when ECmName is set.
    44         ENamingNotAccept    ///< Do not accept duplication. It will leave with
    44         ENamingNotAccept    ///< Do not accept duplication. It will leave with
    45                             ///< KErrArgument.
    45                             ///< KErrArgument.
    46         };
    46         };
    47     
    47 
    48     // Enumeration for IPv6 types
    48     // Enumeration for IPv6 types
    49     enum TIPv6Types
    49     enum TIPv6Types
    50         {
    50         {
    51         EIPv6Unspecified,   ///< Unspecified IPv6 type
    51         EIPv6Unspecified,   ///< Unspecified IPv6 type
    52         EIPv6WellKnown,     ///< Well known IPv6 type
    52         EIPv6WellKnown,     ///< Well known IPv6 type
    53         EIPv6UserDefined    ///< User defined IPv6 type
    53         EIPv6UserDefined    ///< User defined IPv6 type
    54         };
    54         };
    55     
    55 
    56     enum TSeamlessnessValue
    56     enum TSeamlessnessValue
    57         {
    57         {
    58         ESeamlessnessNotRoamedTo,   // NOT supported
    58         ESeamlessnessNotRoamedTo,   // NOT supported
    59         ESeamlessnessConfirmFirst,  // Confirm first
    59         ESeamlessnessConfirmFirst,  // Confirm first
    60         ESeamlessnessShowprogress,  // Shows progress
    60         ESeamlessnessShowprogress,  // Shows progress
    61         ESeamlessnessFullySeamless  // NOT supported
    61         ESeamlessnessFullySeamless  // NOT supported
    62         };
    62         };
    63     
    63 
    64     
    64 
    65     /// Unspecified IPv4 address
    65     /// Unspecified IPv4 address
    66     _LIT( KUnspecifiedIPv4, "0.0.0.0" );
    66     _LIT( KUnspecifiedIPv4, "0.0.0.0" );
    67     
    67 
    68     /// Known IPv6 name server 1
    68     /// Known IPv6 name server 1
    69     _LIT( KKnownIp6NameServer1, "fec0:000:0000:ffff::1" );
    69     _LIT( KKnownIp6NameServer1, "fec0:000:0000:ffff::1" );
    70     /// Known IPv6 name server 2
    70     /// Known IPv6 name server 2
    71     _LIT( KKnownIp6NameServer2, "fec0:000:0000:ffff::2" );
    71     _LIT( KKnownIp6NameServer2, "fec0:000:0000:ffff::2" );
    72     
    72 
    73     /// Dynamic IPv6 address
    73     /// Dynamic IPv6 address
    74     _LIT( KDynamicIpv6Address, "0:0:0:0:0:0:0:0" );
    74     _LIT( KDynamicIpv6Address, "0:0:0:0:0:0:0:0" );
    75 
    75 
    76     /// Default proxy protocol name
    76     /// Default proxy protocol name
    77     _LIT( KDefProxyProtocolName, "http" );
    77     _LIT( KDefProxyProtocolName, "http" );
    78     
    78 
    79     /// Default proxy port number
    79     /// Default proxy port number
    80     _LIT( KDefaultProxyPortNumber, "0" );
    80     _LIT( KDefaultProxyPortNumber, "0" );
    81 
    81 
    82     /// IPv4 network protocol
    82     /// IPv4 network protocol
    83     _LIT( KDefIspIfNetworksIPv4, "ip" );
    83     _LIT( KDefIspIfNetworksIPv4, "ip" );
    96     * This enum lists all the common attributes of Connection Methods.
    96     * This enum lists all the common attributes of Connection Methods.
    97     */
    97     */
    98     enum TConnectionMethodCommonAttributes
    98     enum TConnectionMethodCommonAttributes
    99         {
    99         {
   100         /**
   100         /**
   101         * The following attributes can be queried via both 
   101         * The following attributes can be queried via both
   102         * the manager interface's and connection method interface's ::Get functions.
   102         * the manager interface's and connection method interface's ::Get functions.
   103         */
   103         */
   104         ECmCoverage,                /**<
   104         ECmCoverage,                /**<
   105                                     * Checks if there's coverage for this bearer.
   105                                     * Checks if there's coverage for this bearer.
   106                                     * (TBool - default: none - read only)
   106                                     * (TBool - default: none - read only)
   107                                     */
   107                                     */
   108                         
   108 
   109         ECmDefaultPriority,         /**<
   109         ECmDefaultPriority,         /**<
   110                                     * Default global priority of the CM's bearer 
   110                                     * Default global priority of the CM's bearer
   111                                     * type.
   111                                     * type.
   112                                     * (TUint32 - default: none - read only)
   112                                     * (TUint32 - default: none - read only)
   113                                     */
   113                                     */
   114                         
   114 
   115         ECmDestination,             /**<
   115         ECmDestination,             /**<
   116                                     * ETrue if this connection method is 
   116                                     * ETrue if this connection method is
   117                                     * an embedded destination.
   117                                     * an embedded destination.
   118                                     * (TBool - default: none - read only)
   118                                     * (TBool - default: none - read only)
   119                                     */
   119                                     */
   120                             
   120 
   121         ECmBearerHasUi,             /**<
   121         ECmBearerHasUi,             /**<
   122                                     * Indicates whether the bearer has any UI.
   122                                     * Indicates whether the bearer has any UI.
   123                                     * (TBool - default: none - read only)
   123                                     * (TBool - default: none - read only)
   124                                     */
   124                                     */
   125 
   125 
   126         ECmIPv6Supported,           /**<
   126         ECmIPv6Supported,           /**<
   127                                     * Returns ETrue if IPv6 is supported.
   127                                     * Returns ETrue if IPv6 is supported.
   128                                     * (TBool - default: none - read only)
   128                                     * (TBool - default: none - read only)
   129                                     */
   129                                     */
   130                                     
   130 
   131         ECmDefaultUiPriority,       /**<
   131         ECmDefaultUiPriority,       /**<
   132                                     * Priority of this bearer type when shown in UI for 
   132                                     * Priority of this bearer type when shown in UI for
   133                                     * configuring a new IAP.
   133                                     * configuring a new IAP.
   134                                     * (TUint32 - default: none - read only)
   134                                     * (TUint32 - default: none - read only)
   135                                     */
   135                                     */
   136 
   136 
   137         ECmBearerIcon = 100,        /**<
   137         ECmBearerIcon = 100,        /**<
   138                                     * Sets/Gets the Connection Method specific icon name(may
   138                                     * Sets/Gets the Connection Method specific icon name(may
   139                                     * contain the path too).
   139                                     * contain the path too).
   140                                     * Used with Get/SetStringAttribute().
   140                                     * Used with Get/SetStringAttribute().
   141                                     * Returns NULL if not found.
   141                                     * Returns NULL if not found.
   142                                     * (String - default: None )
   142                                     * (String - default: None )
   143                                     */ 
   143                                     */
   144                        
   144 
   145         ECmCommsDBBearerType = 204, /**<
   145         ECmCommsDBBearerType = 204, /**<
   146                                     * For backward compatibility, connection method
   146                                     * For backward compatibility, connection method
   147                                     * can return its CommsDB specific bearer type.
   147                                     * can return its CommsDB specific bearer type.
   148                                     * (TUint32 - default: none - read only)
   148                                     * (TUint32 - default: none - read only)
   149                                     * Leaves with KErrUnknown if no associated bearer 
   149                                     * Leaves with KErrUnknown if no associated bearer
   150                                     * type exists in CommsDat.
   150                                     * type exists in CommsDat.
   151                                     */
   151                                     */
   152                                 
   152 
   153         ECmVirtual = 206,          /**<
   153         ECmVirtual = 206,          /**<
   154                                     * Is the given connection method virtual?
   154                                     * Is the given connection method virtual?
   155                                     * (TBool - default: none - read only)
   155                                     * (TBool - default: none - read only)
   156                                     */
   156                                     */
   157 
   157 
   158         /**
   158         /**
   159         * These are not bearer specific, but controling attributes.
   159         * These are not bearer specific, but controling attributes.
   160         */    
   160         */
   161         ECmInvalidAttribute = 400,  /**<
   161         ECmInvalidAttribute = 400,  /**<
   162                                     * Client application can check which attribute 
   162                                     * Client application can check which attribute
   163                                     * was incorrect in UpdateL().
   163                                     * was incorrect in UpdateL().
   164                                     * (TUint32 - default: none - read only)
   164                                     * (TUint32 - default: none - read only)
   165                                     */
   165                                     */
   166                                     
   166 
   167         ECmLoadResult = 402,        /**<
   167         ECmLoadResult = 402,        /**<
   168                                     * Result of the load process. KErrNone if there
   168                                     * Result of the load process. KErrNone if there
   169                                     * was no error. Otherwise a system wide
   169                                     * was no error. Otherwise a system wide
   170                                     * error code.
   170                                     * error code.
   171                                     * (TUint32 - default: KErrNone - read only)
   171                                     * (TUint32 - default: KErrNone - read only)
   172                                     */
   172                                     */
   173         
   173 
   174         /**
   174         /**
   175         * Attributes the can be queried only via
   175         * Attributes the can be queried only via
   176         * - connection method's GetXXXAttributeL()
   176         * - connection method's GetXXXAttributeL()
   177         * - connection manager's function GetConnectionMethodInfoXXXL()
   177         * - connection manager's function GetConnectionMethodInfoXXXL()
   178         * functions
   178         * functions
   179         */
   179         */
   180         ECmBearerType = 500,        /**<   
   180         ECmBearerType = 500,        /**<
   181                                     * Bearer type of the CM 
   181                                     * Bearer type of the CM
   182                                     * (TUint - default: none - read only)
   182                                     * (TUint - default: none - read only)
   183                                     */
   183                                     */
   184                         
   184 
   185         ECmName,                    /**<   
   185         ECmName,                    /**<
   186                                     * Name of the CM
   186                                     * Name of the CM
   187                                     * (String - default: none)
   187                                     * (String - default: none)
   188                                     */
   188                                     */
   189         
   189 
   190         ECmIapId,                   /**<    
   190         ECmIapId,                   /**<
   191                                     * IAP id
   191                                     * IAP id
   192                                     * (TUint32 - default: none - read only)
   192                                     * (TUint32 - default: none - read only)
   193                                     */
   193                                     */
   194                         
   194 
   195         ECmStartPage,               /**<
   195         ECmStartPage,               /**<
   196                                     * Start page of the connection method
   196                                     * Start page of the connection method
   197                                     * (String - default: empty string)
   197                                     * (String - default: empty string)
   198                                     */
   198                                     */
   199 
   199 
   200         ECmHidden,                  /**<
   200         ECmHidden,                  /**<
   201                                     * Connection method is hidden. 
   201                                     * Connection method is hidden.
   202                                     * (not supported yet)
   202                                     * (not supported yet)
   203                                     * (TBool - default: EFalse)
   203                                     * (TBool - default: EFalse)
   204                                     */
   204                                     */
   205 
   205 
   206         ECmProtected,               /**<
   206         ECmProtected,               /**<
   207                                     * This connection method is protected. 
   207                                     * This connection method is protected.
   208                                     * Modifying it needs NetworkControl capability.
   208                                     * Modifying it needs NetworkControl capability.
   209                                     * (TBool - default: EFalse)
   209                                     * (TBool - default: EFalse)
   210                                     */
   210                                     */
   211                         
   211 
   212         ECmNamingMethod,            /**<
   212         ECmNamingMethod,            /**<
   213                                     * See acceptable values in TNamingControl.
   213                                     * See acceptable values in TNamingControl.
   214                                     * (TUint32 - default: ENamingUnique)
   214                                     * (TUint32 - default: ENamingUnique)
   215                                     */             
   215                                     */
   216         
   216 
   217         ECmSeamlessnessLevel,   /**<
   217         ECmSeamlessnessLevel,   /**<
   218                                 * Defines whether an IAP can be roamed to.
   218                                 * Defines whether an IAP can be roamed to.
   219                                 * See details in TSeamlessnessValue.
   219                                 * See details in TSeamlessnessValue.
   220                                 * (TUint32 - default: ESeamlessnessConfirmFirst )
   220                                 * (TUint32 - default: ESeamlessnessConfirmFirst )
   221                                 */
   221                                 */
   222                                 
   222 
   223         ECmElementID,           /**<
   223         ECmElementID,           /**<
   224                                 * Element id of the connection method in IAP table.
   224                                 * Element id of the connection method in IAP table.
   225                                 * (TUint32 - default: none - read only)
   225                                 * (TUint32 - default: none - read only)
   226                                 */
   226                                 */
   227         
   227 
   228         ECmNetworkId,           /**<
   228         ECmNetworkId,           /**<
   229                                 * Network id of the connection method.
   229                                 * Network id of the connection method.
   230                                 * (TUint32 - default: none - read only)
   230                                 * (TUint32 - default: none - read only)
   231                                 */
   231                                 */
   232                                 
   232 
   233         ECmConnected,           /**<
   233         ECmConnected,           /**<
   234                                 * Is network connection created with connection
   234                                 * Is network connection created with connection
   235                                 * method?
   235                                 * method?
   236                                 * (TBool - default: none - read only)
   236                                 * (TBool - default: none - read only)
   237                                 */
   237                                 */
   238 
   238 
   239         ECmId,                  /**<    
   239         ECmId,                  /**<
   240                                 * ID to uniquely identify the connection
   240                                 * ID to uniquely identify the connection
   241                                 * methods
   241                                 * methods
   242                                 * It is guaranteed that every connection
   242                                 * It is guaranteed that every connection
   243                                 * method has an ECmId
   243                                 * method has an ECmId
   244                                 * (TUint32 - default: none - read only)
   244                                 * (TUint32 - default: none - read only)
   245                                 */
   245                                 */
   246 
   246 
   247         ECmWapId,               /**
   247         ECmWapId,               /**
   248 		                        * Provided for backwards compatibility only.
   248 		                        * Provided for backwards compatibility only.
   249                                 * The record ID of the connection methods' 
   249                                 * The record ID of the connection methods'
   250                                 * corresponding WAP_ACCESS_POINT record, which
   250                                 * corresponding WAP_ACCESS_POINT record, which
   251                                 * use had been deprecated as the main ID 
   251                                 * use had been deprecated as the main ID
   252                                 * should now be ECmIapId, ECmElementID or ECmId.
   252                                 * should now be ECmIapId, ECmElementID or ECmId.
   253                                 * (TUint32 - default: none - read only)
   253                                 * (TUint32 - default: none - read only)
   254                                 */
   254                                 */
   255 
   255 
   256         ECmIapServiceId,        /**
   256         ECmIapServiceId,        /**
   257 		                        * Provided for backwards compatibility only.
   257 		                        * Provided for backwards compatibility only.
   258                                 * The record ID of the connection methods' 
   258                                 * The record ID of the connection methods'
   259                                 * service record
   259                                 * service record
   260                                 * (TUint32 - default: none - read only)
   260                                 * (TUint32 - default: none - read only)
   261                                 */
   261                                 */
   262 
   262 
   263         /**
   263         /**
   264         * The following attributes are stored in the connection method's 
   264         * The following attributes are stored in the connection method's
   265         * meta data record.
   265         * meta data record.
   266         */
   266         */
   267         ECmMetaHighlight = 600, /**<
   267         ECmMetaHighlight = 600, /**<
   268                                 * Set to indicate that this connection method is
   268                                 * Set to indicate that this connection method is
   269                                 * highlighted in Agent dialog. Only one connection
   269                                 * highlighted in Agent dialog. Only one connection
   270                                 * method can have this flag set.
   270                                 * method can have this flag set.
   271                                 * (TBool - default: EFalse)
   271                                 * (TBool - default: EFalse)
   272                                 */
   272                                 */
   273                                 
   273 
   274         ECmMetaHiddenAgent,     /**<
   274         ECmMetaHiddenAgent,     /**<
   275                                 * Set to hide this connection method in Agent
   275                                 * Set to hide this connection method in Agent
   276                                 * dialog.
   276                                 * dialog.
   277                                 * (TBool - default: EFalse)
   277                                 * (TBool - default: EFalse)
   278                                 */
   278                                 */
   279                                 
   279 
   280         // These attributes can be used with virtual bearer type
   280         // These attributes can be used with virtual bearer type
   281         // connection methods.
   281         // connection methods.
   282         ECmNextLayerIapId,      /**<
   282         ECmNextLayerIapId,      /**<
   283                                 * Returns the linked connection method's IAP id.
   283                                 * Returns the linked connection method's IAP id.
   284                                 * (TUint32 - default: None)
   284                                 * (TUint32 - default: None)
   285                                 */
   285                                 */
   286                                 
   286 
   287         ECmNextLayerSNAPId,     /**<
   287         ECmNextLayerSNAPId,     /**<
   288                                 * Returns the linked connection method's SNAP id.
   288                                 * Returns the linked connection method's SNAP id.
   289                                 * (TUint32 - default: None)
   289                                 * (TUint32 - default: None)
   290                                 */
   290                                 */
   291         
   291 
       
   292         ECmMetaHotSpot,         /**<
       
   293                                 * Sets/Gets the information if the IAP is HotSpot IAP.
       
   294                                 * (TBool - default: EFalse)
       
   295                                 */
       
   296 
   292         // Proxy attributes
   297         // Proxy attributes
   293         ECmProxyUsageEnabled = 1000,    /**<
   298         ECmProxyUsageEnabled = 1000,    /**<
   294                                         * Set to enable/disable proxy setting
   299                                         * Set to enable/disable proxy setting
   295                                         * of connection method.
   300                                         * of connection method.
   296                                         * Disabling: record is deleted from proxy 
   301                                         * Disabling: record is deleted from proxy
   297                                         * when UpdateL() is called.
   302                                         * when UpdateL() is called.
   298                                         * Proxy record is deleted on UpdateL() 
   303                                         * Proxy record is deleted on UpdateL()
   299                                         * if ECmProxyServerName is an empty string.
   304                                         * if ECmProxyServerName is an empty string.
   300                                         * It can be queried only via the 
   305                                         * It can be queried only via the
   301                                         * connection method's GetXXXAttributeL()
   306                                         * connection method's GetXXXAttributeL()
   302                                         * (TBool: default: EFalse)
   307                                         * (TBool: default: EFalse)
   303                                         */
   308                                         */
   304      
   309 
   305         ECmProxyServerName,             /**<
   310         ECmProxyServerName,             /**<
   306                                         * Name of the host.
   311                                         * Name of the host.
   307                                         * It can be queried only via the 
   312                                         * It can be queried only via the
   308                                         * connection method's GetXXXAttributeL()
   313                                         * connection method's GetXXXAttributeL()
   309                                         * (String - default: none)
   314                                         * (String - default: none)
   310                                         */
   315                                         */
   311                                         
   316 
   312         ECmProxyProtocolName,           /**<
   317         ECmProxyProtocolName,           /**<
   313                                         * Name of the protocol for which this proxy 
   318                                         * Name of the protocol for which this proxy
   314                                         * can be used.
   319                                         * can be used.
   315                                         * It can be queried only via the 
   320                                         * It can be queried only via the
   316                                         * connection method's GetXXXAttributeL()
   321                                         * connection method's GetXXXAttributeL()
   317                                         * (String - default: none)
   322                                         * (String - default: none)
   318                                         */
   323                                         */
   319                                         
   324 
   320         ECmProxyPortNumber,             /**< 
   325         ECmProxyPortNumber,             /**<
   321                                         * Port number
   326                                         * Port number
   322                                         * It can be queried only via the 
   327                                         * It can be queried only via the
   323                                         * connection method's GetXXXAttributeL()
   328                                         * connection method's GetXXXAttributeL()
   324                                         * (TUint32 - default: none)
   329                                         * (TUint32 - default: none)
   325                                         */
   330                                         */
   326                                         
   331 
   327         ECmProxyExceptions,             /**<
   332         ECmProxyExceptions,             /**<
   328                                         * ";" separated list of the addresses for 
   333                                         * ";" separated list of the addresses for
   329                                         * which the proxy server should not be used.
   334                                         * which the proxy server should not be used.
   330                                         * It can be queried only via the 
   335                                         * It can be queried only via the
   331                                         * connection method's GetXXXAttributeL()
   336                                         * connection method's GetXXXAttributeL()
   332                                         * (String - default: none)
   337                                         * (String - default: none)
   333                                         */
   338                                         */
   334                                         
   339 
   335         ECmProxyRangeMax = 1999,        /**<
   340         ECmProxyRangeMax = 1999,        /**<
   336                                         * Marks the end of the proxy range
   341                                         * Marks the end of the proxy range
   337                                         */
   342                                         */
   338                                   
   343 
   339         ECmChargeCardUsageEnabled = 2000,   /**<
   344         ECmChargeCardUsageEnabled = 2000,   /**<
   340                                             * Same as in ECmProxyUsageEnabled but 
   345                                             * Same as in ECmProxyUsageEnabled but
   341                                             * for charge card. 
   346                                             * for charge card.
   342                                             * (TBool - default: EFalse)
   347                                             * (TBool - default: EFalse)
   343                                             */      
   348                                             */
   344                                             
   349 
   345         ECmChargeCardAccountNumber,         /**<
   350         ECmChargeCardAccountNumber,         /**<
   346                                             * Account number
   351                                             * Account number
   347                                             * (String - default: none)
   352                                             * (String - default: none)
   348                                             */
   353                                             */
   349                                             
   354 
   350         ECmChargeCardPIN,                   /**<
   355         ECmChargeCardPIN,                   /**<
   351                                             * PIN number
   356                                             * PIN number
   352                                             * (String - default: none)
   357                                             * (String - default: none)
   353                                             */
   358                                             */
   354         
   359 
   355         ECmChargeCardLocalRule,             /**<
   360         ECmChargeCardLocalRule,             /**<
   356                                             * Order of dialling account number, 
   361                                             * Order of dialling account number,
   357                                             * PIN and phone number for local calls.
   362                                             * PIN and phone number for local calls.
   358                                             * (String - default: none)
   363                                             * (String - default: none)
   359                                             */
   364                                             */
   360                                             
   365 
   361         ECmChargeCardNatRule,               /**<
   366         ECmChargeCardNatRule,               /**<
   362                                             * Order of dialling account number, 
   367                                             * Order of dialling account number,
   363                                             * PIN and phone number for national 
   368                                             * PIN and phone number for national
   364                                             * calls.
   369                                             * calls.
   365                                             * (String - default: none)
   370                                             * (String - default: none)
   366                                             */
   371                                             */
   367 
   372 
   368         ECmChargeCardIntlRule,              /**<
   373         ECmChargeCardIntlRule,              /**<
   369                                             * Order of  dialling account number, 
   374                                             * Order of  dialling account number,
   370                                             * PIN and phone number for 
   375                                             * PIN and phone number for
   371                                             * international calls.
   376                                             * international calls.
   372                                             * (String - default: none)
   377                                             * (String - default: none)
   373                                             */
   378                                             */
   374         
   379 
   375         ECmChargeCardRangeMax = 2999,       /**<
   380         ECmChargeCardRangeMax = 2999,       /**<
   376                                             * Marks the end of the chargecard range
   381                                             * Marks the end of the chargecard range
   377                                             */
   382                                             */
   378                                             
   383 
   379         ECmLocationUsageEnabled = 3000,     /**<
   384         ECmLocationUsageEnabled = 3000,     /**<
   380                                             * Same as in ECmProxyUsageEnabled but 
   385                                             * Same as in ECmProxyUsageEnabled but
   381                                             * for location. 
   386                                             * for location.
   382                                             * (TBool - default: EFalse)
   387                                             * (TBool - default: EFalse)
   383                                             */
   388                                             */
   384                                             
   389 
   385         ECmLocationIntlPrefixCode,          /**<
   390         ECmLocationIntlPrefixCode,          /**<
   386                                             * International prefix code.
   391                                             * International prefix code.
   387                                             * (String - default: none)
   392                                             * (String - default: none)
   388                                             */
   393                                             */
   389                                             
   394 
   390         ECmLocationNatPrefixCode,           /**<
   395         ECmLocationNatPrefixCode,           /**<
   391                                             * National prefix code.
   396                                             * National prefix code.
   392                                             * (String - default: none)
   397                                             * (String - default: none)
   393                                             */
   398                                             */
   394                                             
   399 
   395         ECmLocationNatCode,                 /**<
   400         ECmLocationNatCode,                 /**<
   396                                             * National code
   401                                             * National code
   397                                             * (String - default: none)
   402                                             * (String - default: none)
   398                                             */
   403                                             */
   399                                             
   404 
   400         ECmLocationAreaCode,                /**<
   405         ECmLocationAreaCode,                /**<
   401                                             * Area code.
   406                                             * Area code.
   402                                             * (String - default: none)
   407                                             * (String - default: none)
   403                                             */
   408                                             */
   404                                             
   409 
   405         ECmLocationDialOutCode,             /**<
   410         ECmLocationDialOutCode,             /**<
   406                                             * Number to dial for an outside line.
   411                                             * Number to dial for an outside line.
   407                                             * (String - default: none)
   412                                             * (String - default: none)
   408                                             */
   413                                             */
   409                                             
   414 
   410         ECmLocationDisableCallWaitingCode,  /**<
   415         ECmLocationDisableCallWaitingCode,  /**<
   411                                             * Code to dial to disable call waiting 
   416                                             * Code to dial to disable call waiting
   412                                             * facility.
   417                                             * facility.
   413                                             * (String - default: none)
   418                                             * (String - default: none)
   414                                             */
   419                                             */
   415                                             
   420 
   416         ECmLocationMobile,                  /**<
   421         ECmLocationMobile,                  /**<
   417                                             * Mobile phone?
   422                                             * Mobile phone?
   418                                             * (TBool - default: none)
   423                                             * (TBool - default: none)
   419                                             */
   424                                             */
   420                                             
   425 
   421         ECmLocationUsePulseDial,            /**<
   426         ECmLocationUsePulseDial,            /**<
   422                                             * Use pulse dialling?
   427                                             * Use pulse dialling?
   423                                             * (TBool - default: none)
   428                                             * (TBool - default: none)
   424                                             */
   429                                             */
   425                                             
   430 
   426         ECmLocationWaitForDialTone,         /**<
   431         ECmLocationWaitForDialTone,         /**<
   427                                             * Wait for the dial tone?
   432                                             * Wait for the dial tone?
   428                                             * (TBool - default: none)
   433                                             * (TBool - default: none)
   429                                             */
   434                                             */
   430                                             
   435 
   431         ECmLocationPauseAfterDialOut,       /**<
   436         ECmLocationPauseAfterDialOut,       /**<
   432                                             * Pause time after dial out.
   437                                             * Pause time after dial out.
   433                                             * (TUint32 - default: none)
   438                                             * (TUint32 - default: none)
   434                                             */
   439                                             */
   435                                             
   440 
   436         ECmLocationRangeMax = 3999,         /**<
   441         ECmLocationRangeMax = 3999,         /**<
   437                                             * Marks the end of the location
   442                                             * Marks the end of the location
   438                                             * range
   443                                             * range
   439                                             */
   444                                             */
   440         
   445 
   441         // WAP specific attributes
   446         // WAP specific attributes
   442         ECmWapIPGatewayAddress = 4000,      /**<
   447         ECmWapIPGatewayAddress = 4000,      /**<
   443                                             * WAP Gateway address, in this case an 
   448                                             * WAP Gateway address, in this case an
   444                                             * IP address.
   449                                             * IP address.
   445                                             * (String - default: none)
   450                                             * (String - default: none)
   446                                             */
   451                                             */
   447                                             
   452 
   448         ECmWapIPWSPOption,          /**<
   453         ECmWapIPWSPOption,          /**<
   449                                     * Enum value indicating whether 
   454                                     * Enum value indicating whether
   450                                     * connection-oriented 
   455                                     * connection-oriented
   451                                     * or connectionless API should be used.
   456                                     * or connectionless API should be used.
   452                                     * See valid values in TWapWSPOption.
   457                                     * See valid values in TWapWSPOption.
   453                                     * (TUint32 - default: 
   458                                     * (TUint32 - default:
   454                                     * ECmWapWspOptionConnectionless)
   459                                     * ECmWapWspOptionConnectionless)
   455                                     */
   460                                     */
   456                                             
   461 
   457         ECmWapIPSecurity,           /**<
   462         ECmWapIPSecurity,           /**<
   458                                     * Attempt secure WTLS connection to the gateway
   463                                     * Attempt secure WTLS connection to the gateway
   459                                     * (TBool - default: EFalse)
   464                                     * (TBool - default: EFalse)
   460                                     */
   465                                     */
   461         
   466 
   462         ECmWapIPProxyPort,          /**<
   467         ECmWapIPProxyPort,          /**<
   463                                     * Proxy port number. Required for WAP2.0 only.
   468                                     * Proxy port number. Required for WAP2.0 only.
   464                                     * (TUint32 - default: none)
   469                                     * (TUint32 - default: none)
   465                                     */
   470                                     */
   466                                             
   471 
   467         ECmWapIPProxyLoginName,     /**<
   472         ECmWapIPProxyLoginName,     /**<
   468                                     * Proxy login name. Required for WAP2.0 only.
   473                                     * Proxy login name. Required for WAP2.0 only.
   469                                     * (String - default: none)
   474                                     * (String - default: none)
   470                                     */
   475                                     */
   471                                             
   476 
   472         ECmWapIPProxyLoginPass,     /**<
   477         ECmWapIPProxyLoginPass,     /**<
   473                                     * Proxy login password. 
   478                                     * Proxy login password.
   474                                     * Required for WAP2.0 only.
   479                                     * Required for WAP2.0 only.
   475                                     * (String - default: none)
   480                                     * (String - default: none)
   476                                     */
   481                                     */
   477                                             
   482 
   478         ECmWapRangeMax = 4099,      /**<
   483         ECmWapRangeMax = 4099,      /**<
   479                                     * Marks the end of the WAP specific range
   484                                     * Marks the end of the WAP specific range
   480                                     */
   485                                     */
   481 
   486 
   482         /** 
   487         /**
   483         * The following attributes are common for many bearer types.
   488         * The following attributes are common for many bearer types.
   484         * It's not sure that every IF or IP attribute is supported by
   489         * It's not sure that every IF or IP attribute is supported by
   485         * all bearer types.
   490         * all bearer types.
   486         * It's not possible to query these attributes via 
   491         * It's not possible to query these attributes via
   487         * GetConnectionInfoXXX() functions.
   492         * GetConnectionInfoXXX() functions.
   488         */
   493         */
   489         ECmCommonAttributesStart = 5000, /**<
   494         ECmCommonAttributesStart = 5000, /**<
   490                                          * Marks the beginning of the common
   495                                          * Marks the beginning of the common
   491                                          * attributes
   496                                          * attributes
   492                                          */
   497                                          */
   493         
   498 
   494         ECmIFName,                  /**<
   499         ECmIFName,                  /**<
   495                                     * Interface name
   500                                     * Interface name
   496                                     * It can be queried only via the 
   501                                     * It can be queried only via the
   497                                     * connection method's GetXXXAttributeL()
   502                                     * connection method's GetXXXAttributeL()
   498                                     * (String - default: none)
   503                                     * (String - default: none)
   499                                     */
   504                                     */
   500                                     
   505 
   501         ECmIFParams,                /**<
   506         ECmIFParams,                /**<
   502                                     * Interface parameter string
   507                                     * Interface parameter string
   503                                     * It can be queried only via the 
   508                                     * It can be queried only via the
   504                                     * connection method's GetXXXAttributeL()
   509                                     * connection method's GetXXXAttributeL()
   505                                     * (String - default: none)
   510                                     * (String - default: none)
   506                                     */
   511                                     */
   507                                     
   512 
   508         ECmIFNetworks,              /**<
   513         ECmIFNetworks,              /**<
   509                                     * List of network protocols
   514                                     * List of network protocols
   510                                     * It can be queried only via the 
   515                                     * It can be queried only via the
   511                                     * connection method's GetXXXAttributeL()
   516                                     * connection method's GetXXXAttributeL()
   512                                     * (String - default: none)
   517                                     * (String - default: none)
   513                                     */
   518                                     */
   514                                     
   519 
   515         ECmIFPromptForAuth,         /**<
   520         ECmIFPromptForAuth,         /**<
   516                                     * Prompt user for authentication
   521                                     * Prompt user for authentication
   517                                     * It can be queried only via the 
   522                                     * It can be queried only via the
   518                                     * connection method's GetXXXAttributeL()
   523                                     * connection method's GetXXXAttributeL()
   519                                     * (TBool - default: none)
   524                                     * (TBool - default: none)
   520                                     */
   525                                     */
   521                                     
   526 
   522         ECmIFAuthName,              /**<
   527         ECmIFAuthName,              /**<
   523                                     * Authentication user name used by PPP
   528                                     * Authentication user name used by PPP
   524                                     * It can be queried only via the 
   529                                     * It can be queried only via the
   525                                     * connection method's GetXXXAttributeL()
   530                                     * connection method's GetXXXAttributeL()
   526                                     * (String - default: none)
   531                                     * (String - default: none)
   527                                     */
   532                                     */
   528                                     
   533 
   529         ECmIFAuthPass,              /**<
   534         ECmIFAuthPass,              /**<
   530                                     * Authentication password used by PPP
   535                                     * Authentication password used by PPP
   531                                     * It can be queried only via the 
   536                                     * It can be queried only via the
   532                                     * connection method's GetXXXAttributeL()
   537                                     * connection method's GetXXXAttributeL()
   533                                     * (String - default: none)
   538                                     * (String - default: none)
   534                                     */
   539                                     */
   535                                     
   540 
   536         ECmIFAuthRetries,           /**<
   541         ECmIFAuthRetries,           /**<
   537                                     * Number of times for retrying authentication
   542                                     * Number of times for retrying authentication
   538                                     * if it fails
   543                                     * if it fails
   539                                     * It can be queried only via the 
   544                                     * It can be queried only via the
   540                                     * connection method's GetXXXAttributeL()
   545                                     * connection method's GetXXXAttributeL()
   541                                     * (TUint32 - default: none)
   546                                     * (TUint32 - default: none)
   542                                     */
   547                                     */
   543         
   548 
   544         ECmIPNetmask = 5050,        /**<
   549         ECmIPNetmask = 5050,        /**<
   545                                     * IP net mask of interface
   550                                     * IP net mask of interface
   546                                     * It can be queried only via the 
   551                                     * It can be queried only via the
   547                                     * connection method's GetXXXAttributeL()
   552                                     * connection method's GetXXXAttributeL()
   548                                     * (String - default: none)
   553                                     * (String - default: none)
   549                                     */
   554                                     */
   550                                     
   555 
   551         ECmIPGateway,               /**<
   556         ECmIPGateway,               /**<
   552                                     * IP address of gateway
   557                                     * IP address of gateway
   553                                     * It can be queried only via the 
   558                                     * It can be queried only via the
   554                                     * connection method's GetXXXAttributeL()
   559                                     * connection method's GetXXXAttributeL()
   555                                     * (String - default: none)
   560                                     * (String - default: none)
   556                                     */
   561                                     */
   557                                     
   562 
   558         ECmIPAddFromServer,         /**<
   563         ECmIPAddFromServer,         /**<
   559                                     * Get IP address from server?
   564                                     * Get IP address from server?
   560                                     * It can be queried only via the 
   565                                     * It can be queried only via the
   561                                     * connection method's GetXXXAttributeL()
   566                                     * connection method's GetXXXAttributeL()
   562                                     * (TBool - default: none)
   567                                     * (TBool - default: none)
   563                                     */
   568                                     */
   564                                     
   569 
   565         ECmIPAddress,               /**<
   570         ECmIPAddress,               /**<
   566                                     * IP address of interface
   571                                     * IP address of interface
   567                                     * It can be queried only via the 
   572                                     * It can be queried only via the
   568                                     * connection method's GetXXXAttributeL()
   573                                     * connection method's GetXXXAttributeL()
   569                                     * (String - default: none)
   574                                     * (String - default: none)
   570                                     */
   575                                     */
   571                                     
   576 
   572         ECmIPDNSAddrFromServer,     /**<
   577         ECmIPDNSAddrFromServer,     /**<
   573                                     * Get DNS addresses from server?
   578                                     * Get DNS addresses from server?
   574                                     * It can be queried only via the 
   579                                     * It can be queried only via the
   575                                     * connection method's GetXXXAttributeL()
   580                                     * connection method's GetXXXAttributeL()
   576                                     * (TBool - default: none)
   581                                     * (TBool - default: none)
   577                                     */
   582                                     */
   578                                     
   583 
   579         ECmIPNameServer1,           /**<
   584         ECmIPNameServer1,           /**<
   580                                     * IP address of primary name server
   585                                     * IP address of primary name server
   581                                     * It can be queried only via the 
   586                                     * It can be queried only via the
   582                                     * connection method's GetXXXAttributeL()
   587                                     * connection method's GetXXXAttributeL()
   583                                     * (String - default: none)
   588                                     * (String - default: none)
   584                                     */
   589                                     */
   585                                     
   590 
   586         ECmIPNameServer2,           /**<
   591         ECmIPNameServer2,           /**<
   587                                     * IP address of secondary name server
   592                                     * IP address of secondary name server
   588                                     * It can be queried only via the 
   593                                     * It can be queried only via the
   589                                     * connection method's GetXXXAttributeL()
   594                                     * connection method's GetXXXAttributeL()
   590                                     * (String - default: none)
   595                                     * (String - default: none)
   591                                     */
   596                                     */
   592                                     
   597 
   593         ECmIP6DNSAddrFromServer,    /**<
   598         ECmIP6DNSAddrFromServer,    /**<
   594                                     * Get IP6 DNS addresses from server?
   599                                     * Get IP6 DNS addresses from server?
   595                                     * It can be queried only via the 
   600                                     * It can be queried only via the
   596                                     * connection method's GetXXXAttributeL()
   601                                     * connection method's GetXXXAttributeL()
   597                                     * (TBool - default: none)
   602                                     * (TBool - default: none)
   598                                     */
   603                                     */
   599                                     
   604 
   600         ECmIP6NameServer1,          /**<
   605         ECmIP6NameServer1,          /**<
   601                                     * IP6 address of primary name server
   606                                     * IP6 address of primary name server
   602                                     * It can be queried only via the 
   607                                     * It can be queried only via the
   603                                     * connection method's GetXXXAttributeL()
   608                                     * connection method's GetXXXAttributeL()
   604                                     * (String - default: none)
   609                                     * (String - default: none)
   605                                     */
   610                                     */
   606                                     
   611 
   607         ECmIP6NameServer2,          /**<
   612         ECmIP6NameServer2,          /**<
   608                                     * IP6 address of secondary name server
   613                                     * IP6 address of secondary name server
   609                                     * It can be queried only via the 
   614                                     * It can be queried only via the
   610                                     * connection method's GetXXXAttributeL()
   615                                     * connection method's GetXXXAttributeL()
   611                                     * (String - default: none)
   616                                     * (String - default: none)
   612                                     */
   617                                     */
   613                                     
   618 
   614         ECmIPAddrLeaseValidFrom,    /**<
   619         ECmIPAddrLeaseValidFrom,    /**<
   615                                     * IP address valid from this time, used to
   620                                     * IP address valid from this time, used to
   616                                     * store dynamically assigned address lease
   621                                     * store dynamically assigned address lease
   617                                     * info
   622                                     * info
   618                                     * It can be queried only via the 
   623                                     * It can be queried only via the
   619                                     * connection method's GetXXXAttributeL()
   624                                     * connection method's GetXXXAttributeL()
   620                                     * (String - default: none)
   625                                     * (String - default: none)
   621                                     */
   626                                     */
   622                                     
   627 
   623         ECmIPAddrLeaseValidTo,      /**<
   628         ECmIPAddrLeaseValidTo,      /**<
   624                                     * IP address valid for use until this time,
   629                                     * IP address valid for use until this time,
   625                                     * used to store dynamically assigned
   630                                     * used to store dynamically assigned
   626                                     * address lease info
   631                                     * address lease info
   627                                     * It can be queried only via the 
   632                                     * It can be queried only via the
   628                                     * connection method's GetXXXAttributeL()
   633                                     * connection method's GetXXXAttributeL()
   629                                     * (String - default: none)
   634                                     * (String - default: none)
   630                                     */
   635                                     */
   631         
   636 
   632         ECmConfigDaemonManagerName = 5100, /**<
   637         ECmConfigDaemonManagerName = 5100, /**<
   633                                             * Name of the ECom configuration
   638                                             * Name of the ECom configuration
   634                                             * daemon manager component. This
   639                                             * daemon manager component. This
   635                                             * component interfaces with the
   640                                             * component interfaces with the
   636                                             * server identified in
   641                                             * server identified in
   637                                             * ECmConfigDaemonName. If
   642                                             * ECmConfigDaemonName. If
   638                                             * specified, ECmConfigDaemonName
   643                                             * specified, ECmConfigDaemonName
   639                                             * should also be specified.                                            
   644                                             * should also be specified.
   640                                             * It can be queried only via the 
   645                                             * It can be queried only via the
   641                                             * connection method's GetXXXAttributeL()
   646                                             * connection method's GetXXXAttributeL()
   642                                             * (String - default: none)
   647                                             * (String - default: none)
   643                                             */
   648                                             */
   644                                             
   649 
   645         ECmConfigDaemonName,        /**<
   650         ECmConfigDaemonName,        /**<
   646                                     * Name of the configuration daemon server.
   651                                     * Name of the configuration daemon server.
   647                                     * This server is used to provide further
   652                                     * This server is used to provide further
   648                                     * configuration for a connection, e.g.
   653                                     * configuration for a connection, e.g.
   649                                     * dynamic IP address assignment. If
   654                                     * dynamic IP address assignment. If
   650                                     * specified, ECmConfigDaemonManagerName
   655                                     * specified, ECmConfigDaemonManagerName
   651                                     * should also be specified.
   656                                     * should also be specified.
   652                                     * It can be queried only via the 
   657                                     * It can be queried only via the
   653                                     * connection method's GetXXXAttributeL()
   658                                     * connection method's GetXXXAttributeL()
   654                                     * (String - default: none)
   659                                     * (String - default: none)
   655                                     */
   660                                     */
   656         
   661 
   657         ECmEnableLPCExtension = 5110,   /**<
   662         ECmEnableLPCExtension = 5110,   /**<
   658                                         * Enable LCP extensions?
   663                                         * Enable LCP extensions?
   659                                         * It can be queried only via the 
   664                                         * It can be queried only via the
   660                                         * connection method's GetXXXAttributeL()
   665                                         * connection method's GetXXXAttributeL()
   661                                         * (TBool - default: none)
   666                                         * (TBool - default: none)
   662                                         */
   667                                         */
   663                                         
   668 
   664         ECmDisablePlainTextAuth,        /**<
   669         ECmDisablePlainTextAuth,        /**<
   665                                         * Disable plaintext authentication?
   670                                         * Disable plaintext authentication?
   666                                         * It can be queried only via the 
   671                                         * It can be queried only via the
   667                                         * connection method's GetXXXAttributeL()
   672                                         * connection method's GetXXXAttributeL()
   668                                         * (TBool - default: none)
   673                                         * (TBool - default: none)
   669                                         */
   674                                         */
   670                                         
   675 
   671         ECmCommonAttributesEnd = 5999,  /**<
   676         ECmCommonAttributesEnd = 5999,  /**<
   672                                         * Marks the end of common attributes
   677                                         * Marks the end of common attributes
   673                                         */
   678                                         */
   674         
   679 
   675         /**
   680         /**
   676         * The following methods can be queried only via 
   681         * The following methods can be queried only via
   677         * connection method's GetXXXAttributeL()
   682         * connection method's GetXXXAttributeL()
   678         */
   683         */
   679         ECmSpecialAttributes = 6000,   /**<
   684         ECmSpecialAttributes = 6000,   /**<
   680                                         * Marks the beginning of special
   685                                         * Marks the beginning of special
   681                                         * attributes
   686                                         * attributes
   682                                         */
   687                                         */
   683         
   688 
   684         ECmIsLinked,                /**<
   689         ECmIsLinked,                /**<
   685                                     * Is connection method linked to any
   690                                     * Is connection method linked to any
   686                                     * virtual connection method?
   691                                     * virtual connection method?
   687                                     * It can be queried only via the 
   692                                     * It can be queried only via the
   688                                     * connection method's GetXXXAttributeL()
   693                                     * connection method's GetXXXAttributeL()
   689                                     * (TBool - default: none)
   694                                     * (TBool - default: none)
   690                                     */
   695                                     */
   691                                     
   696 
   692         ECmSpecialAttributesEnd = 8999  /**<
   697         ECmSpecialAttributesEnd = 8999  /**<
   693                                         * Marks the end of special attributes
   698                                         * Marks the end of special attributes
   694                                         */
   699                                         */
   695         };
   700         };
   696 
   701 
   697     /**  WAP WSP options */        
   702     /**  WAP WSP options */
   698     enum TWapWSPOption
   703     enum TWapWSPOption
   699         {
   704         {
   700         /**
   705         /**
   701         * Indicates that connectionless APIs should be used
   706         * Indicates that connectionless APIs should be used
   702         */
   707         */
   703         ECmWapWspOptionConnectionless,
   708         ECmWapWspOptionConnectionless,
   704         
   709 
   705         /**
   710         /**
   706         * Indicates that connection oriented APIs should be used
   711         * Indicates that connection oriented APIs should be used
   707         */
   712         */
   708         ECmWapWspOptionConnectionOriented
   713         ECmWapWspOptionConnectionOriented
   709         };
   714         };
   710        
   715 
   711     }   // namespace CMManager
   716     }   // namespace CMManager
   712 
   717 
   713 #endif // CMCONNECTIONMETHODDEF_H
   718 #endif // CMCONNECTIONMETHODDEF_H