00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CMPLUGINDIALCOMMONDEFS_H
00019 #define CMPLUGINDIALCOMMONDEFS_H
00020
00021 namespace CMManager
00022 {
00024 const TUint32 KCallBackTimeOut = 60000000;
00025
00026 enum TCmCallType
00027
00028 {
00029 ECmCallTypeAnalogue,
00030 ECmCallTypeISDNv110,
00031 ECmCallTypeISDNv120
00032 };
00033
00034
00035 enum TCmCallSpeed
00036
00037 {
00038 ECmSpeedAutobaud=0x00000000,
00039 ECmSpeed9600=0x00000001,
00040 ECmSpeed14400=0x00000002,
00041 ECmSpeed19200=0x00000003,
00042 ECmSpeed28800=0x00000004,
00043 ECmSpeed38400=0x00000005,
00044 ECmSpeed43200=0x00000006,
00045 ECmSpeed56000=0x00000007
00046 };
00047
00049 const TInt KEndOfArray = -1;
00050
00052 const TInt KCsdAnalogue[] = { ECmSpeedAutobaud, ECmSpeed9600,
00053 ECmSpeed14400,
00054 KEndOfArray };
00055
00057 const TInt KCsdAnalogueWcdma[] = { ECmSpeedAutobaud, ECmSpeed9600,
00058 ECmSpeed14400, ECmSpeed28800,
00059 KEndOfArray};
00060
00062 const TInt KCsdIsdn110[] = { ECmSpeed9600, ECmSpeed14400,
00063 KEndOfArray};
00064
00066 const TInt KCsdIsdn110Wcdma[] = { ECmSpeed9600, ECmSpeed14400,
00067 ECmSpeed28800, ECmSpeed38400,
00068 KEndOfArray};
00069
00071 const TInt KCsdIsdn120[] = { ECmSpeed9600, ECmSpeed14400,
00072 KEndOfArray};
00073
00075 const TInt KCsdIsdn120Wcdma[] = { ECmSpeed9600, ECmSpeed14400,
00076 ECmSpeed28800, ECmSpeed56000,
00077 KEndOfArray};
00078
00080 const TInt KHcsdAnal[] = { ECmSpeedAutobaud, ECmSpeed9600,
00081 ECmSpeed14400, ECmSpeed19200,
00082 ECmSpeed28800, KEndOfArray };
00083
00085 const TInt KHcsdIsdn110[] = { ECmSpeed9600, ECmSpeed14400,
00086 ECmSpeed19200, ECmSpeed28800,
00087 ECmSpeed38400, KEndOfArray};
00088
00090 const TInt KHcsdIsdn120[] = { ECmSpeed9600, ECmSpeed14400,
00091 ECmSpeed19200, ECmSpeed28800,
00092 ECmSpeed43200, KEndOfArray};
00093
00098 enum TConnectionMethodCsdHscsdCommonAttributes
00099 {
00100 EPluginDialAttribStart = 10000,
00105 EDialOut = 10001,
00110 EDialCallType = 10002,
00116 EDialMaxConnSpeed = 10003,
00122 EDialDescription = 10100,
00127 EDialType = 10101,
00134 EDialDefaultTelNum = 10102,
00140 EDialDialResolution = 10103,
00147 EDialChargeCard = 10104,
00154 EDialUseLoginScript = 10105,
00159 EDialLoginScript = 10106,
00165 EDialAuthentication = 10107,
00172 EDialPromptForLogin = 10108,
00178 EDialLoginName = 10109,
00184 EDialLoginPassword = 10110,
00190 EDialDisplayPCT = 10111,
00197 EDialIFParams = 10112,
00202 EDialIFNetworks = 10113,
00208 EDialIFPromptForAuth = 10114,
00215 EDialIFAuthName = 10115,
00221 EDialIFAuthPass = 10116,
00227 EDialIFAuthRetries = 10117,
00233 EDialIFCallbackEnabled = 10118,
00239 EDialIFCallbackType = 10119,
00247 EDialIFCallbackInfo = 10120,
00254 EDialCallbackTimeout = 10121,
00261 EDialIFServerMode = 10122,
00267 EDialIPAddressFromServer = 10123,
00272 EDialIPAddress = 10124,
00277 EDialIPNetmask = 10125,
00282 EDialIPGateway = 10126,
00287 EDialIPDNSAddressFromServer = 10127,
00292 EDialIPNameServer1 = 10128,
00297 EDialIPNameServer2 = 10129,
00302 EDialIP6DNSAddressFromServer = 10130,
00307 EDialIP6NameServer1 = 10131,
00312 EDialIP6NameServer2 = 10132,
00317 EDialIPAddressLeaseValidFrom = 10133,
00325 EDialIPAddressLeaseValidTo = 10134,
00333 EDialConfigDaemonManagerName = 10135,
00344 EDialConfigDaemonName = 10136,
00356 EDialEnableIPHeaderComp = 10137,
00361 EDialEnableLCPExtension = 10138,
00366 EDialDisablePlainTextAuth = 10139,
00371 EDialEnableSWComp = 10140,
00378 EDialBearerName = 10141,
00386 EDialBearerSpeed = 10142,
00392 EDialBearerCE = 10143,
00399 EDialInitString = 10144,
00409 EDialBearerService = 10145,
00416 EDialBearerProtocol = 10146,
00423 EDialRLPVersion = 10147,
00430 EDialIWFtoMS = 10148,
00437 EDialMStoIWF = 10149,
00444 EDialAckTimer = 10150,
00451 EDialRetransmissionAttempts = 10151,
00458 EDialResequencePeriod = 10152,
00465 EDialV42Compression = 10153,
00471 EDialV42CodeWords = 10154,
00477 EDialV42MaxLength = 10155,
00484 EDialUseEdge = 10156,
00489 EPluginDialAttribRangeMax = 19999
00493 };
00494
00495
00496
00497 }
00498
00499
00500 #endif