1.1 --- a/epoc32/include/mw/cmplugindialcommondefs.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/cmplugindialcommondefs.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,499 @@
1.4 -cmplugindialcommondefs.h
1.5 +/*
1.6 +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Resource headers for Dial Plugins.
1.19 +*
1.20 +*/
1.21 +
1.22 +#ifndef CMPLUGINDIALCOMMONDEFS_H
1.23 +#define CMPLUGINDIALCOMMONDEFS_H
1.24 +
1.25 +namespace CMManager
1.26 + {
1.27 + /// callback timeout in microseconds
1.28 + const TUint32 KCallBackTimeOut = 60000000;
1.29 +
1.30 + enum TCmCallType /// These enums are used to represent
1.31 + ///< the conn. type Analogue/ISDNv110/ISDNv120
1.32 + {
1.33 + ECmCallTypeAnalogue, ///< Analogue
1.34 + ECmCallTypeISDNv110, ///< ISDN v. 110
1.35 + ECmCallTypeISDNv120 ///< ISDN v. 120
1.36 + };
1.37 +
1.38 +
1.39 + enum TCmCallSpeed /// These enums are used to represent
1.40 + ///< the connection speed.
1.41 + {
1.42 + ECmSpeedAutobaud=0x00000000, ///< Autodetect
1.43 + ECmSpeed9600=0x00000001, ///< 9600
1.44 + ECmSpeed14400=0x00000002, ///< 14400
1.45 + ECmSpeed19200=0x00000003, ///< 19200
1.46 + ECmSpeed28800=0x00000004, ///< 28800
1.47 + ECmSpeed38400=0x00000005, ///< 38400
1.48 + ECmSpeed43200=0x00000006, ///< 43200
1.49 + ECmSpeed56000=0x00000007 ///< 56000
1.50 + };
1.51 +
1.52 + /// indicated the end of the array in the following max speed array sets
1.53 + const TInt KEndOfArray = -1;
1.54 +
1.55 + /// the set of max speeds available for CSD analogue
1.56 + const TInt KCsdAnalogue[] = { ECmSpeedAutobaud, ECmSpeed9600,
1.57 + ECmSpeed14400,
1.58 + KEndOfArray };
1.59 +
1.60 + /// the set of speeds available for CSD wcdma analogue
1.61 + const TInt KCsdAnalogueWcdma[] = { ECmSpeedAutobaud, ECmSpeed9600,
1.62 + ECmSpeed14400, ECmSpeed28800,
1.63 + KEndOfArray};
1.64 +
1.65 + /// the set of speeds available for CSD idsn 110
1.66 + const TInt KCsdIsdn110[] = { ECmSpeed9600, ECmSpeed14400,
1.67 + KEndOfArray};
1.68 +
1.69 + /// the set of speeds available for CSD isdn 110 wcdma
1.70 + const TInt KCsdIsdn110Wcdma[] = { ECmSpeed9600, ECmSpeed14400,
1.71 + ECmSpeed28800, ECmSpeed38400,
1.72 + KEndOfArray};
1.73 +
1.74 + /// the set of speeds available for CSD isdn 120
1.75 + const TInt KCsdIsdn120[] = { ECmSpeed9600, ECmSpeed14400,
1.76 + KEndOfArray};
1.77 +
1.78 + /// the set of speeds available for CSD isdn 120 wcdma
1.79 + const TInt KCsdIsdn120Wcdma[] = { ECmSpeed9600, ECmSpeed14400,
1.80 + ECmSpeed28800, ECmSpeed56000,
1.81 + KEndOfArray};
1.82 +
1.83 + /// the set of speeds available for HSCSD analogue
1.84 + const TInt KHcsdAnal[] = { ECmSpeedAutobaud, ECmSpeed9600,
1.85 + ECmSpeed14400, ECmSpeed19200,
1.86 + ECmSpeed28800, KEndOfArray };
1.87 +
1.88 + /// the set of speeds available for HSCSD isdn 110
1.89 + const TInt KHcsdIsdn110[] = { ECmSpeed9600, ECmSpeed14400,
1.90 + ECmSpeed19200, ECmSpeed28800,
1.91 + ECmSpeed38400, KEndOfArray};
1.92 +
1.93 + /// the set of speeds available for HSCSD isdn 120
1.94 + const TInt KHcsdIsdn120[] = { ECmSpeed9600, ECmSpeed14400,
1.95 + ECmSpeed19200, ECmSpeed28800,
1.96 + ECmSpeed43200, KEndOfArray};
1.97 +
1.98 + /**
1.99 + * These are the common attribute of every dial in/out
1.100 + * bearer types.
1.101 + */
1.102 + enum TConnectionMethodCsdHscsdCommonAttributes
1.103 + {
1.104 + EPluginDialAttribStart = 10000, /**<
1.105 + * Marks the beginning of common dial
1.106 + * in/out attributes.
1.107 + */
1.108 +
1.109 + EDialOut = 10001, /**<
1.110 + * Dial out or in. ETrue means dial out.
1.111 + * (TBool - default: ETrue)
1.112 + */
1.113 +
1.114 + EDialCallType = 10002, /**<
1.115 + * Call type. See acceptable values
1.116 + * in TCmCallType.
1.117 + * (TUint32 - default: ECmCallTypeAnalogue )
1.118 + */
1.119 +
1.120 + EDialMaxConnSpeed = 10003, /**<
1.121 + * Maximum speed. See acceptable values
1.122 + * in TCmCallSpeed.
1.123 + * (TUint32 - default: ECmSpeedAutobaud )
1.124 + */
1.125 +
1.126 + EDialDescription = 10100, /**<
1.127 + * Application's description of ISP.
1.128 + * (String - default: none)
1.129 + */
1.130 +
1.131 + EDialType = 10101, /**<
1.132 + * Enum value indicating ISP type,
1.133 + * e.g. Internet ISP, WAP ISP.
1.134 + * Selected from TCommsDbIspType
1.135 + * (TUint32 - default: EIspTypeInternetAndWap)
1.136 + */
1.137 +
1.138 + EDialDefaultTelNum = 10102, /**<
1.139 + * Default phone number.
1.140 + * (Only for dial out)
1.141 + * (String - default: none)
1.142 + */
1.143 +
1.144 + EDialDialResolution = 10103, /**<
1.145 + * Perform dialling resolution for
1.146 + * default phone number?
1.147 + * (Only for dial out)
1.148 + * (TBool - default: none)
1.149 + */
1.150 +
1.151 + EDialChargeCard = 10104, /**<
1.152 + * Identifier of the chargecard in
1.153 + * this ISP.
1.154 + * (Only for dial out)
1.155 + * (TUint32 - default: none)
1.156 + */
1.157 +
1.158 + EDialUseLoginScript = 10105, /**<
1.159 + * Use login script?
1.160 + * (TBool - default: EFalse)
1.161 + */
1.162 +
1.163 + EDialLoginScript = 10106, /**<
1.164 + * Login script (used if Use Login
1.165 + * Script is ETrue)
1.166 + * (String - default: none)
1.167 + */
1.168 +
1.169 + EDialAuthentication = 10107, /**<
1.170 + * UNUSED (will eventually point to
1.171 + * some authentication table/group)
1.172 + * (Only for dial in)
1.173 + * (TUint32 - default: none)
1.174 + */
1.175 +
1.176 + EDialPromptForLogin = 10108, /**<
1.177 + * Prompt user for username and password?
1.178 + * (Only for dial out)
1.179 + * (TBool - default: EFalse)
1.180 + */
1.181 +
1.182 + EDialLoginName = 10109, /**<
1.183 + * Login name.
1.184 + * (Only for dial out)
1.185 + * (String - default: none)
1.186 + */
1.187 +
1.188 + EDialLoginPassword = 10110, /**<
1.189 + * Login password.
1.190 + * (Only for dial out)
1.191 + * (String - default: none)
1.192 + */
1.193 +
1.194 + EDialDisplayPCT = 10111, /**<
1.195 + * Display PCT (without scanning
1.196 + * script for READ command)?
1.197 + * (Only for dial out)
1.198 + * (TBool - default: none)
1.199 + */
1.200 +
1.201 + EDialIFParams = 10112, /**<
1.202 + * Interface parameter string.
1.203 + * (String - default: none)
1.204 + */
1.205 +
1.206 + EDialIFNetworks = 10113, /**<
1.207 + * Comma separated list of network
1.208 + * protocols, e.g. "PPP"
1.209 + * (String - default: none)
1.210 + */
1.211 +
1.212 + EDialIFPromptForAuth = 10114, /**<
1.213 + * Prompt user for authentication
1.214 + * username and password?
1.215 + * (Only for dial out)
1.216 + * (TBool - default: EFalse)
1.217 + */
1.218 +
1.219 + EDialIFAuthName = 10115, /**<
1.220 + * Authentication username used by PPP
1.221 + * (Only for dial out)
1.222 + * (String - default: none)
1.223 + */
1.224 +
1.225 + EDialIFAuthPass = 10116, /**<
1.226 + * Authentication password used by PPP
1.227 + * (Only for dial out)
1.228 + * (String - default: none)
1.229 + */
1.230 +
1.231 + EDialIFAuthRetries = 10117, /**<
1.232 + * Number of times to retry
1.233 + * authentication if it fails.
1.234 + * (TUint32 - default: none)
1.235 + */
1.236 +
1.237 + EDialIFCallbackEnabled = 10118, /**<
1.238 + * Callback enabled?
1.239 + * (Only for dial out)
1.240 + * (TBool - default: none)
1.241 + */
1.242 +
1.243 + EDialIFCallbackType = 10119, /**<
1.244 + * Enum value indicating type of
1.245 + * callback (if enabled).
1.246 + * Selected from TCallbackAction.
1.247 + * (Only for dial out)
1.248 + * (TUint32 - default: none)
1.249 + */
1.250 +
1.251 + EDialIFCallbackInfo = 10120, /**<
1.252 + * Info for callback request (if enabled)
1.253 + * This is an 8-bit string!
1.254 + * (Only for dial out)
1.255 + * (String - default: none)
1.256 + */
1.257 +
1.258 + EDialCallbackTimeout = 10121, /**<
1.259 + * Time to wait for callback in
1.260 + * microseconds (if enabled)
1.261 + * (Only for dial out)
1.262 + * (TUint32 - default: none)
1.263 + */
1.264 +
1.265 + EDialIFServerMode = 10122, /**<
1.266 + * When PPP is configured as a server.
1.267 + * (Only for dial out)
1.268 + * (TBool - default: none)
1.269 + */
1.270 +
1.271 + EDialIPAddressFromServer = 10123, /**<
1.272 + * Get IP address from server?
1.273 + * (TBool - default: none)
1.274 + */
1.275 +
1.276 + EDialIPAddress = 10124, /**<
1.277 + * IP address of interface
1.278 + * (String - default: none)
1.279 + */
1.280 +
1.281 + EDialIPNetmask = 10125, /**<
1.282 + * IP net mask of interface
1.283 + * (String - default: none)
1.284 + */
1.285 +
1.286 + EDialIPGateway = 10126, /**<
1.287 + * IP address of gateway.
1.288 + * (String - default: none)
1.289 + */
1.290 +
1.291 + EDialIPDNSAddressFromServer = 10127,/**<
1.292 + * Get DNS addresses from server?
1.293 + * (TBool - default: none)
1.294 + */
1.295 +
1.296 + EDialIPNameServer1 = 10128, /**<
1.297 + * IP Address of primary name server.
1.298 + * (String - default: none)
1.299 + */
1.300 +
1.301 + EDialIPNameServer2 = 10129, /**<
1.302 + * IP Address of secondary name server.
1.303 + * (String - default: none)
1.304 + */
1.305 +
1.306 + EDialIP6DNSAddressFromServer = 10130,/**<
1.307 + * Get IP6 DNS addresses from server?
1.308 + * (TBool - default: none)
1.309 + */
1.310 +
1.311 + EDialIP6NameServer1 = 10131, /**<
1.312 + * IP6 Address of primary name server
1.313 + * (String - default: none)
1.314 + */
1.315 +
1.316 + EDialIP6NameServer2 = 10132, /**<
1.317 + * IP6 Address of secondary name server
1.318 + * (String - default: none)
1.319 + */
1.320 +
1.321 + EDialIPAddressLeaseValidFrom = 10133,/**<
1.322 + * IP address valid from this time,
1.323 + * used to store dynamically assigned
1.324 + * address lease info.
1.325 + * (Only for dial out)
1.326 + * (String - default: none)
1.327 + */
1.328 +
1.329 + EDialIPAddressLeaseValidTo = 10134, /**<
1.330 + * IP address valid for use until
1.331 + * this time, used to store dynamically
1.332 + * assigned address lease info.
1.333 + * (Only for dial out)
1.334 + * (String - default: none)
1.335 + */
1.336 +
1.337 + EDialConfigDaemonManagerName = 10135,/**<
1.338 + * Name of the ECOM configuration daemon
1.339 + * manager component. This component
1.340 + * interfaces with the server identified
1.341 + * in ISP_CONFIG_DAEMON_NAME.
1.342 + * If specified, ISP_CONFIG_DAEMON_NAME
1.343 + * should also be specified.
1.344 + * (Only for dial out)
1.345 + * (String - default: none)
1.346 + */
1.347 +
1.348 + EDialConfigDaemonName = 10136, /**<
1.349 + * Name of the configuration daemon
1.350 + * server. This server is used to
1.351 + * provide further configuration for
1.352 + * a connection, e.g. dynamic IP address
1.353 + * assignment. If specified,
1.354 + * ISP_CONFIG_DAEMON_MANAGER_NAME
1.355 + * should also be specified.
1.356 + * (Only for dial out)
1.357 + * (String - default: none)
1.358 + */
1.359 +
1.360 + EDialEnableIPHeaderComp = 10137, /**<
1.361 + * Enable IP header compression?
1.362 + * (TBool - default: none)
1.363 + */
1.364 +
1.365 + EDialEnableLCPExtension = 10138, /**<
1.366 + * Enable LCP extension?
1.367 + * (TBool - default: none)
1.368 + */
1.369 +
1.370 + EDialDisablePlainTextAuth = 10139, /**<
1.371 + * Disable plain text authentication?
1.372 + * (TBool - default: none)
1.373 + */
1.374 +
1.375 + EDialEnableSWComp = 10140, /**<
1.376 + * Enable software compression
1.377 + * (e.g. Microsoft, STAC or Predictor
1.378 + * compression)?
1.379 + * (TBool - default: none)
1.380 + */
1.381 +
1.382 + EDialBearerName = 10141, /**<
1.383 + * Enum value specifying the name of the
1.384 + * bearer, e.g. Asynchronous Modem.
1.385 + * Selected from
1.386 + * RBasicGsmCall::TBearerName
1.387 + * (TUint32 - default: none)
1.388 + */
1.389 +
1.390 + EDialBearerSpeed = 10142, /**<
1.391 + * Enum value specifying the bearer speed
1.392 + * from RBasicGsmCall::TBearerSpeed
1.393 + * (TUint32 - default: none)
1.394 + */
1.395 +
1.396 + EDialBearerCE = 10143, /**<
1.397 + * Enum value specifying the bearer CE,
1.398 + * e.g. non-transparent.
1.399 + * Selected from RbasicGsmCall::TBearerCE
1.400 + * (TUint32 - default: none)
1.401 + */
1.402 +
1.403 + EDialInitString = 10144, /**<
1.404 + * Modem initialisation string to be used
1.405 + * when this ISP is in use.
1.406 + * This string is copied into the
1.407 + * MODEM_ISP_INIT_STRING
1.408 + * field by NetDial.
1.409 + * 8bit string!
1.410 + * (String- default: none)
1.411 + */
1.412 +
1.413 + EDialBearerService = 10145, /**<
1.414 + * Enum of type
1.415 + * RMobileCall::TMobileCallDataService.
1.416 + * (Only for dial out)
1.417 + * (TUint32 - default: none)
1.418 + */
1.419 +
1.420 + EDialBearerProtocol = 10146, /**<
1.421 + * Enum of type
1.422 + * RMobileCall::TMobileCallDataProtocol.
1.423 + * (Only for dial out)
1.424 + * (TUint32 - default: none)
1.425 + */
1.426 +
1.427 + EDialRLPVersion = 10147, /**<
1.428 + * Enum of type
1.429 + * RMobileCall::TMobileCallDataRLPVersion.
1.430 + * (Only for dial out)
1.431 + * (TUint32 - default: none)
1.432 + */
1.433 +
1.434 + EDialIWFtoMS = 10148, /**<
1.435 + * Integer specifying network to
1.436 + * MS window size.
1.437 + * (Only for dial out)
1.438 + * (TUint32 - default: none)
1.439 + */
1.440 +
1.441 + EDialMStoIWF = 10149, /**<
1.442 + * Integer specifying MS to network
1.443 + * window size.
1.444 + * (Only for dial out)
1.445 + * (TUint32 - default: none)
1.446 + */
1.447 +
1.448 + EDialAckTimer = 10150, /**<
1.449 + * Integer specifying rlp ack timeout in
1.450 + * microseconds.
1.451 + * (Only for dial out)
1.452 + * (TUint32 - default: none)
1.453 + */
1.454 +
1.455 + EDialRetransmissionAttempts = 10151,/**<
1.456 + * Integer specifying rlp retransmission
1.457 + * attempts.
1.458 + * (Only for dial out)
1.459 + * (TUint32 - default: none)
1.460 + */
1.461 +
1.462 + EDialResequencePeriod = 10152, /**<
1.463 + * Integer specifying resequencing
1.464 + * period.
1.465 + * (Only for dial out)
1.466 + * (TUint32 - default: none)
1.467 + */
1.468 +
1.469 + EDialV42Compression = 10153, /**<
1.470 + * Enum of type TMobileCallDataV42bis.
1.471 + * (Only for dial out)
1.472 + * (TUint32 - default: none)
1.473 + */
1.474 +
1.475 + EDialV42CodeWords = 10154, /**<
1.476 + * Integer specifying V42bis codewords.
1.477 + * (Only for dial out)
1.478 + * (TUint32 - default: none)
1.479 + */
1.480 +
1.481 + EDialV42MaxLength = 10155, /**<
1.482 + * Integer specifying V42bis maximum
1.483 + * string length.
1.484 + * (Only for dial out)
1.485 + * (TUint32 - default: none)
1.486 + */
1.487 +
1.488 + EDialUseEdge = 10156, /**<
1.489 + * EDGE parameter used by GSM.
1.490 + * (TBool - default: none)
1.491 + */
1.492 +
1.493 + EPluginDialAttribRangeMax = 19999 /**<
1.494 + * Marks the end of common dial
1.495 + * in/out attributes.
1.496 + */
1.497 + };
1.498 +
1.499 +
1.500 +
1.501 + } // namespace CMManager
1.502 +
1.503 +#endif // CMPLUGINDIALCOMMONDEFS_H