|
1 /* |
|
2 * Copyright (c) 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __RCSEPRIVATECRKEYS__ |
|
20 #define __RCSEPRIVATECRKEYS__ |
|
21 |
|
22 /** Central Repository UID of RCSE */ |
|
23 const TUid KCRUidRCSE = { 0x200100FD }; |
|
24 |
|
25 /** Central Repository UID of RCSE audio codecs */ |
|
26 const TUid KCRUidRCSECodec = { 0x2001B26B }; |
|
27 |
|
28 |
|
29 // Structure of VoIP profile table in repository. |
|
30 // Audio codec entries are stored equally. |
|
31 // |
|
32 //---------------------------------------------------------------------------- |
|
33 //| KColProfileId | KColProviderName | KColSettingsName | ... | ... | KColxx | |
|
34 //| (int) | (des) | (des) | | ... | (des) | |
|
35 //---------------------------------------------------------------------------- |
|
36 //| 1 | "Provider 1" | "Name x" | ... | ... | "aaa" | |
|
37 //| 7 | "Provider 2" | "Name y" | ... | ... | "bbb" | |
|
38 //| 15 | "Provider 3" | "Name z" | ... | ... | "ccc" | |
|
39 //| 0 | "" | "" | ... | ... | | |
|
40 //| 0 | "" | "" | ... | ... | | |
|
41 //| ... | ... | ... | ... | ... | | |
|
42 //| ... | ... | ... | ... | ... | | |
|
43 //---------------------------------------------------------------------------- |
|
44 |
|
45 |
|
46 |
|
47 //************************ Single keys (actual keys) ************************ |
|
48 |
|
49 /** ID counter. Contains the next available ID for entry */ |
|
50 const TUint32 KRCSEIdCounter = 0x00000000; |
|
51 |
|
52 /** Notifier key for VoIP profiles */ |
|
53 //const TUint32 KRCSEVoIPProfileNotifier = 0x00000010; // Not needed |
|
54 |
|
55 /** Notifier key for Audio Codecs */ |
|
56 //const TUint32 KRCSEAudioCodecNotifier = 0x00000011; // Not needed |
|
57 |
|
58 //******************************** Key ranges ******************************* |
|
59 |
|
60 /** Range for general keys */ |
|
61 const TUint32 KRCSESpecialKeys = 0x00000000; // --> 0x00000FFF |
|
62 |
|
63 |
|
64 // Range for VoIP profile table (4096 rows) |
|
65 const TUint32 KRCSEProfileTable = 0x00001000; // --> 0x0012FFFF |
|
66 |
|
67 |
|
68 // Ranges for Audio Codec table (4096 rows) |
|
69 const TUint32 KRCSECodecTable = 0x00001000; // --> 0x0004FFFF |
|
70 |
|
71 // Columns for VoIP profiles. Each column has 4096 rows |
|
72 // Add new profile columns to the end of profile column list! |
|
73 const TUint32 KColProfileId = KRCSEProfileTable; // Int range! |
|
74 const TUint32 KColProviderName = 0x00002000; |
|
75 const TUint32 KColSettingsName = 0x00003000; |
|
76 const TUint32 KColPreferredCodecs = 0x00004000; |
|
77 const TUint32 KColStartMediaPort = 0x00005000; |
|
78 const TUint32 KColEndMediaPort = 0x00006000; |
|
79 const TUint32 KColSiqnalingQOS = 0x00007000; |
|
80 const TUint32 KColMediaQOS = 0x00008000; |
|
81 const TUint32 KColInbandDtmf = 0x00009000; |
|
82 const TUint32 KColOutbandDtmf = 0x0000A000; // 10 |
|
83 |
|
84 const TUint32 KColHoldRingBack = 0x0000B000; |
|
85 const TUint32 KColAutoComplete = 0x0000C000; |
|
86 const TUint32 KColCFNoAnswer = 0x0000D000; |
|
87 const TUint32 KColCFBusy = 0x0000E000; |
|
88 const TUint32 KColCFUnconditional = 0x0000F000; |
|
89 const TUint32 KColRedundancy = 0x00010000; |
|
90 const TUint32 KColProtocolIds = 0x00011000; |
|
91 const TUint32 KColSecureCallPreference = 0x00012000; |
|
92 const TUint32 KColVoIPProfileLock = 0x00013000; |
|
93 const TUint32 KColAdhocAllowed = 0x00014000; // 20 |
|
94 |
|
95 const TUint32 KColSIPServerType = 0x00015000; |
|
96 const TUint32 KColSBCType = 0x00016000; |
|
97 const TUint32 KColSTUNServerType = 0x00017000; |
|
98 const TUint32 KColWLANAPType = 0x00018000; |
|
99 const TUint32 KColPSTNGatewayType = 0x00019000; |
|
100 const TUint32 KColSecurityGatewayType = 0x0001A000; |
|
101 const TUint32 KColRTCP = 0x0001B000; |
|
102 const TUint32 KColSIPVoIPUAHTerminalType = 0x0001C000; |
|
103 const TUint32 KColSIPVoIPUAHeaderWLANMAC = 0x0001D000; |
|
104 const TUint32 KColSIPVoIPUAHeaderString = 0x0001E000; // 30 |
|
105 |
|
106 const TUint32 KColProfileLockedToIAP = 0x0001F000; |
|
107 const TUint32 KColVoIPPluginUID = 0x00020000; |
|
108 const TUint32 KColAllowVoIPoverWCDMA = 0x00021000; |
|
109 const TUint32 KColAllowVoIPoverBT = 0x00022000; |
|
110 const TUint32 KColMeanCountOfVoIPDigits = 0x00023000; |
|
111 const TUint32 KColIgnoreAddrDomainPart = 0x00024000; |
|
112 const TUint32 KColHandoverDialect = 0x00025000; |
|
113 const TUint32 KColPSTelephonyHOPreference = 0x00026000; |
|
114 const TUint32 KColHOThresholdValueLL = 0x00027000; |
|
115 const TUint32 KColHOThresholdValueHL = 0x00028000; // 40 |
|
116 |
|
117 const TUint32 KColNumberOfMeasurementsAbove = 0x00029000; |
|
118 const TUint32 KColNumberOfMeasurementsBelow = 0x0002A000; |
|
119 const TUint32 KColSmartScannInterParaHigh = 0x0002B000; |
|
120 const TUint32 KColSmartScannInterParaMedium = 0x0002C000; |
|
121 const TUint32 KColSmartScannInterParaLow = 0x0002D000; |
|
122 const TUint32 KColSmartScannInterParaStatic = 0x0002E000; |
|
123 const TUint32 KColSmartScannDurationHighMode = 0x0002F000; |
|
124 const TUint32 KColSmartScannDurationMediumMode = 0x00030000; |
|
125 const TUint32 KColSmartScannDurationLowMode = 0x00031000; |
|
126 const TUint32 KColHandoffNumber = 0x00032000; // 50 |
|
127 |
|
128 const TUint32 KColHandbackNumber = 0x00033000; |
|
129 const TUint32 KColHysterisisTimer = 0x00034000; |
|
130 const TUint32 KColHandOffProcessTimer = 0x00035000; |
|
131 const TUint32 KColDisconnectProcessTimer = 0x00036000; |
|
132 const TUint32 KColHandoffPrefix = 0x00037000; |
|
133 const TUint32 KColHandbackPrefix = 0x00038000; |
|
134 const TUint32 KColHandoverTones = 0x00039000; |
|
135 const TUint32 KColSupportSMSoverWLAN = 0x0003A000; |
|
136 const TUint32 KColServiceProviderId = 0x0003B000; |
|
137 const TUint32 KColUserPhoneUriParam = 0x0003C000; // 60 |
|
138 |
|
139 const TUint32 KColSIPConnTestAddress = 0x0003D000; |
|
140 const TUint32 KColNATSettingsStorageId = 0x0003E000; |
|
141 const TUint32 KColSIPMinSE = 0x0003F000; |
|
142 const TUint32 KColSIPSessionExpires = 0x00040000; |
|
143 const TUint32 KColNATProtocol = 0x00041000; |
|
144 const TUint32 KColNewServiceTable = 0x00042000; |
|
145 const TUint32 KColSNAPId = 0x00043000; |
|
146 const TUint32 KColCreationUrl = 0x00044000; // = KRCSELastColumnVoIP |
|
147 |
|
148 |
|
149 // Columns for Audio Codecs. Each column has 4096 rows |
|
150 // Add new codec columns to end of the audio codec list! |
|
151 const TUint32 KColAudioCodecId = KRCSECodecTable; // Int range! |
|
152 const TUint32 KColMediaTypeName = 0x00002000; |
|
153 const TUint32 KColMediaSubTypeName = 0x00003000; |
|
154 const TUint32 KColJitterBufferSize = 0x00004000; |
|
155 const TUint32 KColOctetAlign = 0x00005000; |
|
156 const TUint32 KColModeSet = 0x00006000; |
|
157 const TUint32 KColModeChangePeriod = 0x00007000; |
|
158 const TUint32 KColModeChangeNeighbor = 0x00008000; |
|
159 const TUint32 KColPtime = 0x00009000; |
|
160 const TUint32 KColMaxptime = 0x0000A000; // 10 |
|
161 |
|
162 const TUint32 KColCrc = 0x0000B000; |
|
163 const TUint32 KColRobustSorting = 0x0000C000; |
|
164 const TUint32 KColInterLeaving = 0x0000D000; |
|
165 const TUint32 KColChannels = 0x0000E000; |
|
166 const TUint32 KColVAD = 0x0000F000; |
|
167 const TUint32 KColDTX = 0x00010000; |
|
168 const TUint32 KColSamplingRate = 0x00011000; |
|
169 const TUint32 KColAnnexb = 0x00012000; |
|
170 const TUint32 KColModeChangeCapability = 0x00013000; |
|
171 const TUint32 KColMaxRed = 0x00014000; // KRCSELastColumnCodec |
|
172 |
|
173 |
|
174 //********************************* Key masks ******************************* |
|
175 |
|
176 /** Increment for rows in table */ |
|
177 const TUint32 KRCSERowIncrement = 0x00000001; |
|
178 |
|
179 const TUint32 KRCSEColIncrement = 0x00001000; |
|
180 |
|
181 /** Query mask for all rows in setting tables */ |
|
182 const TUint32 KRCSEColumnMask = 0xFFFFF000; |
|
183 |
|
184 |
|
185 //************************ Other key related constants ********************** |
|
186 |
|
187 /** Last column in current setting table */ |
|
188 const TInt KRCSELastColumnVoIP = KColCreationUrl; |
|
189 const TInt KRCSELastColumnCodec = KColMaxRed; |
|
190 |
|
191 /** Amount of columns in current setting tables */ |
|
192 const TInt KRCSEColumnCountVoIP = 68; // Cols until KRCSELastColumnVoIP |
|
193 const TInt KRCSEColumnCountCodec = 20; // Cols until KRCSELastColumnCodec |
|
194 |
|
195 /** Amount of rows in setting tables */ |
|
196 const TInt KRCSERowCountVoIP = 4096; // = 0x00001000 |
|
197 const TInt KRCSERowCountCodec = 4096; // = 0x00001000 |
|
198 |
|
199 |
|
200 /** ID not set */ |
|
201 const TInt KNoEntryId = 0; |
|
202 |
|
203 |
|
204 #endif // __RCSEPRIVATECRKEYS__ |
|
205 |