|
1 /* |
|
2 * Copyright (c) 2002-2007 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: Constants |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef RCSECONSTANTS |
|
21 #define RCSECONSTANTS |
|
22 |
|
23 |
|
24 //============================================================================ |
|
25 // CONSTANTS |
|
26 |
|
27 const TInt KDesLength256 = 256; //KMaxProviderNameLength; |
|
28 const TInt KDesLength128 = 128; |
|
29 const TInt KDesLength64 = 64; |
|
30 const TInt KDesLength15 = 15; |
|
31 |
|
32 // Timeout in microseconds for waiting a semaphore |
|
33 const TInt KRCSETimeOut = 5000000; |
|
34 |
|
35 // Identifies entry row in settings table |
|
36 _LIT( KVoIPEntry, "VoIPEntry" ); |
|
37 _LIT( KCodecEntry, "CodecEntry" ); |
|
38 |
|
39 // Space character |
|
40 _LIT( KSpace, " " ); |
|
41 |
|
42 // Profile specific settings names. |
|
43 _LIT( KProtocolIds, "PRID" ); |
|
44 _LIT( KSiqnalingQOS, "SQOS" ); |
|
45 _LIT( KSettingsName, "SN" ); |
|
46 _LIT( KAutoComplete, "AC" ); |
|
47 _LIT( KEndMediaPort, "EMP" ); |
|
48 _LIT( KHoldRingBack, "HRB" ); |
|
49 _LIT( KInbandDtmf, "IDTMF" ); |
|
50 _LIT( KMediaQOS, "MQOS" ); |
|
51 _LIT( KOutbandDtmf, "ODTMF" ); |
|
52 _LIT( KPreferredCodecs, "PC" ); |
|
53 _LIT( KProfileId, "PI" ); |
|
54 _LIT( KProviderName, "PN" ); |
|
55 _LIT( KRedundancy, "R" ); |
|
56 _LIT( KStartMediaPort, "SMP" ); |
|
57 _LIT( KCFNoAnswer, "CFNA" ); |
|
58 _LIT( KCFBusy, "CFB" ); |
|
59 _LIT( KCFUnconditional, "CFU" ); |
|
60 _LIT( KSecureCallPreference, "SCP" ); |
|
61 _LIT( KVoIPProfileLock, "VPL" ); |
|
62 _LIT( KAdhocAllowed, "AHA" ); |
|
63 _LIT( KSIPServerType, "SST" ); |
|
64 _LIT( KSBCType, "SBCT" ); |
|
65 _LIT( KSTUNServerType, "STUNST" ); |
|
66 _LIT( KWLANAPType, "WLANAPT" ); |
|
67 _LIT( KPSTNGatewayType, "PSTNGT" ); |
|
68 _LIT( KSecurityGatewayType, "SGT" ); |
|
69 _LIT( KRTCP, "RTCP" ); |
|
70 _LIT( KSIPVoIPUAHTerminalType, "UATT" ); |
|
71 _LIT( KSIPVoIPUAHeaderWLANMAC, "UAWMAC" ); |
|
72 _LIT( KSIPVoIPUAHeaderString, "UAHS" ); |
|
73 _LIT( KProfileLockedToIAP, "PLTI" ); |
|
74 _LIT( KVoIPPluginUID, "VUID" ); |
|
75 _LIT( KAllowVoIPoverWCDMA, "AWCDMA" ); |
|
76 _LIT( KAllowVoIPoverBT, "ABT" ); |
|
77 _LIT( KMeanCountOfVoIPDigits, "MCVP" ); |
|
78 _LIT( KIgnoreAddrDomainPart, "IADR" ); |
|
79 |
|
80 _LIT( KHandoverDialect, "HD" ); |
|
81 _LIT( KPSTelephonyHOPreference, "PSHOP" ); |
|
82 _LIT( KHOThresholdValueLL, "HOLL" ); |
|
83 _LIT( KHOThresholdValueHL, "HOHL" ); |
|
84 _LIT( KNumberOfMeasurementsAbove, "NMA" ); |
|
85 _LIT( KNumberOfMeasurementsBelow, "NMB" ); |
|
86 _LIT( KSmartScannInterParaHigh, "SSPH" ); |
|
87 _LIT( KSmartScannInterParaMedium, "SSPM" ); |
|
88 _LIT( KSmartScannInterParaLow, "SSPL" ); |
|
89 _LIT( KSmartScannInterParaStatic, "SSPS" ); |
|
90 |
|
91 _LIT( KSmartScannDurationHighMode, "SSHG" ); |
|
92 _LIT( KSmartScannDurationMediumMode, "SSMM" ); |
|
93 _LIT( KSmartScannDurationLowMode, "SSLM" ); |
|
94 _LIT( KHandoffNumber, "HON" ); |
|
95 _LIT( KHandbackNumber, "HBN" ); |
|
96 _LIT( KHysterisisTimer, "HT" ); |
|
97 _LIT( KHandOffProcessTimer, "HOPT" ); |
|
98 _LIT( KDisconnectProcessTimer, "DPT" ); |
|
99 _LIT( KHandoffPrefix, "HOP" ); |
|
100 _LIT( KHandbackPrefix, "HBP" ); |
|
101 _LIT( KHandoverTones, "HTO" ); |
|
102 _LIT( KSupportSMSoverWLAN, "SSW" ); |
|
103 |
|
104 _LIT( KServiceProviderId, "SPID" ); |
|
105 _LIT( KUserPhoneUriParam, "UPP" ); |
|
106 _LIT( KSIPConnTestAddress, "CTEST" ); |
|
107 _LIT( KNATSettingsStorageId, "NSID" ); |
|
108 _LIT( KSIPMinSE, "MINSE" ); |
|
109 _LIT( KSIPSessionExpires, "SESEX" ); |
|
110 _LIT( KNATProtocol, "NAT" ); |
|
111 _LIT( KNewServiceTable, "NEWST" ); |
|
112 _LIT( KSNAPId, "SNAP" ); |
|
113 |
|
114 // SCCP settings names. |
|
115 _LIT( KSCCPSettingId, "SSI" ); |
|
116 _LIT( KSCCPProfileName, "SNAME" ); |
|
117 _LIT( KVOIPLogin, "VPL" ); |
|
118 _LIT( KAccessPoint, "AP" ); |
|
119 _LIT( KCallManagerAdd0, "CMA0" ); |
|
120 _LIT( KCallManagerAdd1, "CMA1" ); |
|
121 _LIT( KCallManagerAdd2, "CMA2" ); |
|
122 _LIT( KCallManagerAdd3, "CMA3" ); |
|
123 _LIT( KCallManagerAdd4, "CMA4" ); |
|
124 _LIT( KStackVersion, "SPS" ); |
|
125 _LIT( KDHCPTFTPEnabled, "DCTT" ); |
|
126 _LIT( KTFTPServerAddress, "TTSA" ); |
|
127 _LIT( KPhoneNumber, "SPN" ); |
|
128 _LIT( KSCCPCertificates, "SSF" ); |
|
129 _LIT( KMusicServerAdd, "MS" ); |
|
130 _LIT( KCFUncondAdd, "CFUA" ); |
|
131 _LIT( KSCCPVmbx, "SVMBX" ); |
|
132 _LIT( KSCCPIntCallPrefix, "SICP" ); |
|
133 |
|
134 // SIP Profile settings names. |
|
135 _LIT( KVOIPSIPProfileSpecificId, "VSPSI" ); |
|
136 _LIT( KSIPProfileId2, "SPI" ); |
|
137 _LIT( KConferencingFactoryURI, "CFURI" ); |
|
138 _LIT( KMusicServerURI, "MSURI" ); |
|
139 _LIT( KIPVoiceMailBoxURI, "IVMB" ); |
|
140 _LIT( KCFNoAnsURI, "CFNAU" ); |
|
141 _LIT( KCFBusyURI, "CFBURI" ); |
|
142 _LIT( KCFUncondURI, "CFUURI" ); |
|
143 |
|
144 // Audio Codec settings names. |
|
145 _LIT( KAudioCodecId, "ACI" ); |
|
146 _LIT( KMediaTypeName, "MTN" ); |
|
147 _LIT( KMediaSubTypeName, "MSTN" ); |
|
148 _LIT( KJitterBufferSize, "JBS" ); |
|
149 _LIT( KOctetAlign, "OA" ); |
|
150 _LIT( KModeSet, "ME" ); |
|
151 _LIT( KModeChangePeriod, "MCP" ); |
|
152 _LIT( KModeChangeNeighbor, "MCN" ); |
|
153 _LIT( KPtime, "PT" ); |
|
154 _LIT( KMaxptime, "MPT" ); |
|
155 _LIT( KCrc, "CRC" ); |
|
156 _LIT( KRobustSorting, "RS" ); |
|
157 _LIT( KInterLeaving, "IL" ); |
|
158 _LIT( KChannels, "CH" ); |
|
159 _LIT( KVAD, "VAD" ); |
|
160 _LIT( KDTX, "DTX" ); |
|
161 _LIT( KSamplingRate, "SR" ); |
|
162 _LIT( KAnnexb, "AB" ); |
|
163 _LIT( KModeChangeCapability, "MCC" ); |
|
164 _LIT( KMaxRed, "MR" ); |
|
165 |
|
166 |
|
167 |
|
168 // Constants for supporting restore from db |
|
169 |
|
170 // CONSTANTS |
|
171 // Security uid, which identifies the security policy file used for this |
|
172 // database. |
|
173 _LIT( KDatabaseUID, "SECURE[10202869]" ); |
|
174 |
|
175 // Profile table name in db. |
|
176 _LIT( KProfileTableName, "profile" ); |
|
177 |
|
178 // Audio Codec table name in Audio db. |
|
179 _LIT( KAudioCodecTableName, "audiocodec" ); |
|
180 |
|
181 // SCCP table name in SCCP db. |
|
182 _LIT( KSCCPSettingTableName, "sccpsetting" ); |
|
183 |
|
184 // SIP Profile table name in SIP db. |
|
185 _LIT( KSIPTableName, "sipprofiles" ); |
|
186 |
|
187 // SQL statement formats |
|
188 _LIT( KSQLSelectAllStatement, "SELECT * FROM %S" ); |
|
189 |
|
190 |
|
191 #endif // RCSECONSTANTS |
|
192 |
|
193 // End of File |