epoc32/include/mw/cmpluginpacketdatadef.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:  packet data specific enums
    15 *
    16 */
    17 
    18 #ifndef CMPLUGINPACKETDATADEF_H
    19 #define CMPLUGINPACKETDATADEF_H
    20 
    21 /**  ECOM interface UID */
    22 const TUint KUidPacketDataBearerType = 0x10207378;
    23 
    24 namespace CMManager
    25     {
    26     /** Packet Data specific connection method attributes */
    27 enum TConnectionMethodPacketDataSpecificAttributes
    28     {
    29     EPacketDataSpecificAttributes = 10000,  /**<
    30                                             * Marks the beginning of packet
    31                                             * data specific attributes.
    32                                             */
    33     
    34     EPacketDataOutGoing,            /**<
    35                                     * Indicates the direction of this connection method. 
    36                                     * Value ETrue means outgoing, EFalse is incoming. 
    37                                     * Can be changed dynamically, 
    38                                     * but every packet data specific data is lost then.
    39                                     * (TBool - default: ETrue)
    40                                     */
    41                                     
    42     EPacketDataAPName = 10100,      /**<
    43                                     * Access point name.
    44                                     * (String - default: None)
    45                                     */
    46                                             
    47     EPacketDataPDPType,             /**<
    48                                     * PDP type. Values can be one 
    49                                     * (RPacketContext::TProtocolType):
    50                                     *   - EPdpTypeIPv4 or
    51                                     *   - EPdpTypeIPv6
    52                                     * (TUint32 - default: EPdpTypeIPv4 
    53                                     *                       if IPv4 only
    54                                     *                     EPdpTypeIPv6 
    55                                     *                       if IPv6 supported )
    56                                     */
    57 
    58     EPacketDataPDPAddress,          /**<
    59                                     * PDP address of phone.
    60                                     * ( String - default: None)
    61                                     */
    62                                             
    63     EPacketDataReqPrecedence,       /**<
    64                                     * Requested quality of service precedence class.
    65                                     * ( TUint32 - default: None)
    66                                     */
    67 
    68     EPacketDataReqDelay,            /**<
    69                                     * Requested quality of service delay class.
    70                                     * ( TUint32 - default: None)
    71                                     */
    72 
    73     EPacketDataReliability,         /**<
    74                                     * Requested quality of service reliability class.
    75                                     * ( TUint32 - default: None)
    76                                     */
    77 
    78     EPacketDataPeakThroughput,      /**<
    79                                     * Requested quality of service peak throughput class.
    80                                     * ( TUint32 - default: None)
    81                                     */
    82 
    83     EPacketDataMeanThroughput,      /**<
    84                                     * Requested quality of service mean throughput class.
    85                                     * ( TUint32 - default: None)
    86                                     */
    87 
    88     EPacketDataMinPrecedence,       /**<
    89                                     * Minimum quality of service precedence class.
    90                                     * ( TUint32 - default: None)
    91                                     */
    92 
    93     EPacketDataMinDelay,            /**<
    94                                     * Minimum quality of service delay class.
    95                                     * ( TUint32 - default: None)
    96                                     */
    97 
    98     EPacketDataMinReliability,      /**<
    99                                     * Minimum quality of service reliability class.
   100                                     * ( TUint32 - default: None)
   101                                     */
   102 
   103     EPacketDataMinPeakThroughput,   /**<
   104                                     * Minimum quality of service peak throughput class.
   105                                     * ( TUint32 - default: None)
   106                                     */
   107 
   108     EPacketDataMinMeanThroughput,   /**<
   109                                     * Minimum quality of service mean throughput class.
   110                                     * ( TUint32 - default: None)
   111                                     */
   112 
   113     EPacketDataDataCompression,     /**<
   114                                     * Data compression on?
   115                                     * ( TBool - default: None)
   116                                     */
   117 
   118     EPacketDataHeaderCompression,   /**<
   119                                     * IP header compression on?
   120                                     * ( TBool - default: None)
   121                                     */
   122 
   123     EPacketDataUseEdge,             /**<
   124                                     * EDGE parameter.
   125                                     * ( TBool - default: None)
   126                                     */
   127 
   128     EPacketDataAnonymousAccess,     /**<
   129                                     * Use anonymous access on?
   130                                     * ( TBool - default: None)
   131                                     */
   132 
   133     EPacketDataIFParams,            /**<
   134                                     * Interface parameter string.
   135                                     * ( String - default: None)
   136                                     */
   137 
   138     EPacketDataIFNetworks,          /**<
   139                                     * Comma separated list of network protocols,
   140                                     * e.g. "PPP".
   141                                     * ( String - default: None)
   142                                     */
   143 
   144     EPacketDataIFPromptForAuth,     /**<
   145                                     * Prompt user for authentication 
   146                                     * username and password?
   147                                     * ( TBool - default: None)
   148                                     */
   149 
   150     EPacketDataIFAuthName,          /**<
   151                                     * Authentication username used by PPP.
   152                                     * ( String - default: None)
   153                                     */
   154 
   155     EPacketDataIFAuthPass,          /**<
   156                                     * Authentication password used by PPP.
   157                                     * ( String - default: None)
   158                                     */
   159 
   160     EPacketDataIFAuthRetries,       /**<
   161                                     * Number of times to retry authentication if it fails.
   162                                     * ( TUint32 - default: None)
   163                                     */
   164 
   165     EPacketDataIPNetmask,           /**<
   166                                     * IP net mask of interface.
   167                                     * ( String - default: None)
   168                                     */
   169 
   170     EPacketDataIPGateway,           /**<
   171                                     * IP address of gateway
   172                                     * ( String - default: None)
   173                                     */
   174 
   175     EPacketDataIPAddrFromServer,    /**<
   176                                     * Get IP addresses (for EPOC) from server?
   177                                     * ( TBool - default: None)
   178                                     */
   179 
   180     EPacketDataIPAddr,              /**<
   181                                     * IP address of EPOC.
   182                                     * ( String - default: None)
   183                                     */
   184 
   185     EPacketDataIPDNSAddrFromServer, /**<
   186                                     * Get DNS addresses from server?
   187                                     * ( TBool - default: None)
   188                                     */
   189 
   190     EPacketDataIPNameServer1,       /**<
   191                                     * IP Address of primary name server.
   192                                     * ( String - default: None)
   193                                     */
   194 
   195     EPacketDataIPNameServer2,       /**<
   196                                     * IP Address of secondary name server.
   197                                     * ( String - default: None)
   198                                     */
   199 
   200     EPacketDataIPIP6DNSAddrFromServer,  /**<
   201                                         * Get IP6 DNS addresses from server?
   202                                         * ( TBool - default: None)
   203                                         */
   204 
   205     EPacketDataIPIP6NameServer1,    /**<
   206                                     * IP6 Address of primary name server.
   207                                     * ( String - default: None)
   208                                     */
   209 
   210     EPacketDataIPIP6NameServer2,    /**<
   211                                     * IP6 Address of secondary name server.
   212                                     * ( String - default: None)
   213                                     */
   214 
   215     EPacketDataIPAddrLeaseValidFrom,/**<
   216                                     * IP address valid from this time, used to store 
   217                                     * dynamically assigned address lease info.
   218                                     * ( String - default: None)
   219                                     */
   220 
   221     EPacketDataIPAddrLeaseValidTo,  /**<
   222                                     * IP address valid for use until this time, 
   223                                     * used to store.
   224                                     * ( String - default: None)
   225                                     */
   226 
   227     EPacketDataConfigDaemonManagerName, /**<
   228                                         * IP address valid for use until this time, 
   229                                         * used to store dynamically assigned address 
   230                                         * lease info.
   231                                         * ( String - default: None)
   232                                         */
   233 
   234     EPacketDataConfigDaemonName,    /**<
   235                                     * Name of the ECOM configuration daemon manager 
   236                                     * component. This component interfaces with the 
   237                                     * server identified in ISP_CONFIG_DAEMON_NAME. 
   238                                     * If specified, ISP_CONFIG_DAEMON_NAME 
   239                                     * should also be specified. 
   240                                     * Name of the configuration daemon server. 
   241                                     * This server is used to provide further
   242                                     * configuration for a connection, 
   243                                     * e.g. dynamic IP address assignment. 
   244                                     * If specified, ISP_CONFIG_DAEMON_MANAGER_NAME 
   245                                     * should also be specified.
   246                                     * ( String - default: None)
   247                                     */
   248 
   249     EPacketDataEnableLcpExtension,  /**<
   250                                     * Enable LCP extensions?
   251                                     * ( TBool - default: None)
   252                                     */
   253 
   254     EPacketDataDisablePlainTextAuth,/**<
   255                                     * Disable plain text authentication?
   256                                     * ( TBool - default: None)
   257                                     */
   258 
   259     EPacketDataApType,              /**<
   260                                     * Service supports Internet only, WAP only or both.
   261                                     * Values can be any of TPacketDataType.
   262                                     * ( TUint32 - default: None)
   263                                     */
   264 
   265     EPacketDataQoSWarningTimeOut,   /**<
   266                                     * If the requested QOS can not be satisfied warn
   267                                     * the user after this time in microseconds. 
   268                                     * Set to 0xffffffff to disable.
   269                                     * ( TUint32 - default: None)
   270                                     */
   271 
   272     EPacketDataServiceEnableLLMNR,  /**<
   273                                     * Enable LLMNR?
   274                                     * ( TBool - default: None)
   275                                     */
   276 
   277     EPacketDataRangeMax = 19999     /**<
   278                                     * Marks the end of packet data specific
   279                                     * attributes.
   280                                     */
   281     };
   282 
   283 /** Enumeration for packet data AP types */
   284 enum TPacketDataApType
   285     {
   286     EPacketDataInternetOnly,    ///< Internet-only connection method
   287     EPacketDataWAPOnly,         ///< WAP-only connection method
   288     EPacketDataBoth             ///< Connection method supports both WAP and
   289                                 ///< Internet
   290     };
   291 } // namespace CMManager
   292     
   293 #endif // CMPLUGINPACKETDATADEF_H