|
1 /** |
|
2 * Copyright (c) 2003-2009 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 "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 */ |
|
23 |
|
24 #if (!defined __WAP_DEFS__) |
|
25 #define __WAP_DEFS__ |
|
26 |
|
27 // Keys in the configuration ini file |
|
28 _LIT(KSCNumber,"Service_Center"); |
|
29 _LIT(KWapPort,"Wap_Port"); |
|
30 _LIT(KTestData1,"Test_Data1"); |
|
31 _LIT(KTestData2,"Test_Data2"); |
|
32 _LIT(KTSY,"SIM"); |
|
33 |
|
34 // For test step panics |
|
35 _LIT(KWapProtSuitePanic,"WapProtSuite"); |
|
36 |
|
37 enum TDemoSuitePanicCodes{ETCPDataCorrupt = 1,EUDPDataCorrupt}; |
|
38 |
|
39 // Port for the echo server |
|
40 // Could be read from the ini file |
|
41 const TInt KEchoPort = 7; |
|
42 |
|
43 |
|
44 ////////////////////////////////////////////////////////////////////////////// |
|
45 // Wap Address / Port Settings |
|
46 ////////////////////////////////////////////////////////////////////////////// |
|
47 /* |
|
48 enum TWapPortNumber |
|
49 { |
|
50 EWapPortUnspecified = -1, // Unspecified |
|
51 EWapPortWsp = 9200, // Connectionless session protocol |
|
52 EWapPortWspWtp = 9201, // Connection oriented session protocol |
|
53 EWapPortWspWtls = 9202, // Secure connectionless session protocol |
|
54 EWapPortWspWtpWtls = 9203, // Secure connection oriented session protocol |
|
55 EWapPortVCard = 9204, // vCard |
|
56 EWapPortVCardWtls = 9206, // Secure vCard |
|
57 EWapPortVCal = 9205, // vCal |
|
58 EWapPortVCalWtls = 9207 // Secure vCal |
|
59 }; |
|
60 */ |
|
61 |
|
62 |
|
63 #endif |