1 /* |
|
2 * Copyright (c) 2002 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 * This file containes the lookup-information for the ApSettingsDlg. |
|
16 * Gives the order of the fields, number of the fields, etc. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 #ifndef APSETTINGS_LOOKUPS_H |
|
23 #define APSETTINGS_LOOKUPS_H |
|
24 |
|
25 // INCLUDE FILES |
|
26 #include <ApAccessPointItem.h> |
|
27 #include <apsetui.rsg> |
|
28 |
|
29 #include <ApSettingsHandlerCommons.h> |
|
30 |
|
31 |
|
32 // CONSTANTS |
|
33 const TInt KListIndexConnectionName = 0; |
|
34 const TInt KListIndexBearerType = 1; |
|
35 const TInt KListIndexCSDAccessNumber = 2; |
|
36 |
|
37 const TInt KListIndexWLANNetworkName = 2; |
|
38 |
|
39 const TInt KListIndexWLANSubnetMask = 1; |
|
40 const TInt KListIndexWLANDefaultGateway = 2; |
|
41 const TInt KListIndexWLANSecuritySettings = 6; |
|
42 |
|
43 |
|
44 |
|
45 const TInt KApMember = 0; |
|
46 const TInt KResourceID = 1; |
|
47 const TInt KCompulsory = 2; |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 const TInt Fields_CSD_L2_IPv4[3][2] = |
|
56 { |
|
57 { |
|
58 EApIspIPAddr, ///< Phone IP addr. |
|
59 EApIP6DNSAddrFromServer ///< Domain name servers |
|
60 }, |
|
61 { |
|
62 R_APUI_VIEW_PHONE_IP_ADDR, ///< Phone IP addr. |
|
63 R_APUI_VIEW_SET_DNS_SERVERS_IP ///< Domain name servers |
|
64 }, |
|
65 { |
|
66 0, ///< Phone IP addr. |
|
67 0 ///< Domain name servers |
|
68 } |
|
69 }; |
|
70 |
|
71 |
|
72 const TInt Fields_CSD_L2_IPv6[3][1] = |
|
73 { |
|
74 { |
|
75 EApIP6DNSAddrFromServer ///< Domain name servers |
|
76 }, |
|
77 { |
|
78 R_APUI_VIEW_SET_DNS_SERVERS_IP ///< Domain name servers |
|
79 }, |
|
80 { |
|
81 0 ///< Domain name servers |
|
82 } |
|
83 }; |
|
84 |
|
85 |
|
86 |
|
87 //---------------------------------------------------------- |
|
88 // Settings with the KWSPSettingsVisible flag defined |
|
89 //---------------------------------------------------------- |
|
90 // |
|
91 const TInt Fields_GPRS_WSP[3][8] = |
|
92 { |
|
93 { |
|
94 EApWapAccessPointName, ///< Connection name |
|
95 EApWapCurrentBearer, ///< Bearer type |
|
96 |
|
97 EApGprsAccessPointName, ///< Access Point Name |
|
98 EApIspIfAuthName, // username |
|
99 EApIspPromptForLogin, ///< prompt password |
|
100 EApIspIfAuthPass, // password |
|
101 EApGprsDisablePlainTextAuth,///< password authentication |
|
102 EApWapStartPage ///< Starting Page |
|
103 }, |
|
104 { |
|
105 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
106 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
107 R_APUI_VIEW_AP_NAME, ///< Access Point Name |
|
108 R_APUI_VIEW_USER_NAME, ///< username |
|
109 R_APUI_VIEW_PROMPT_PASSWORD, ///< prompt password |
|
110 R_APUI_VIEW_PASSWORD, ///< password |
|
111 R_APUI_VIEW_PASSWORD_AUTH, ///< password authentication |
|
112 R_APUI_VIEW_STARTING_PAGE ///< Starting Page |
|
113 }, |
|
114 { |
|
115 1, ///< Connection name |
|
116 0, ///< Bearer type |
|
117 0, ///< Access Point Name |
|
118 0, ///< username |
|
119 0, ///< prompt password |
|
120 0, ///< password |
|
121 0, ///< password authentication |
|
122 0 ///< Starting Page |
|
123 } |
|
124 }; |
|
125 |
|
126 |
|
127 |
|
128 const TInt Fields_GPRS_Advanced_WSP[3][8] = |
|
129 { |
|
130 { |
|
131 EApIspIPAddr, ///< Phone IP addr. |
|
132 EApGprsIPNameServer1, ///< Primary Name server |
|
133 EApGprsIPNameServer2, ///< Secondary Name server |
|
134 EApProxyServerAddress, ///< Proxy server address |
|
135 EApProxyPortNumber, ///< Proxy port number |
|
136 EApWapGatewayAddress, ///< Wap Gateway IP address |
|
137 EApWapSecurity, ///< WTLS Security |
|
138 EApWapWspOption ///< Connection type |
|
139 }, |
|
140 { |
|
141 R_APUI_VIEW_PHONE_IP_ADDR, ///< Phone IP addr. |
|
142 R_APUI_VIEW_PRIMARY_NAME_SERVER, ///< Primary Name server |
|
143 R_APUI_VIEW_SECONDARY_NAME_SERVER, ///< Secondary Name server |
|
144 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
145 R_APUI_VIEW_PROXY_PORT_NUMBER, ///< Proxy port number |
|
146 R_APUI_VIEW_WAP_GW_IP_ADDR, ///< Wap Gateway IP address |
|
147 R_APUI_VIEW_WTLS_SECURITY, ///< WTLS Security |
|
148 R_APUI_VIEW_CONNECTION_TYPE ///< Connection type |
|
149 }, |
|
150 { |
|
151 0, ///< Phone IP addr. |
|
152 0, ///< Primary Name server |
|
153 0, ///< Secondary Name server |
|
154 0, ///< Proxy server address |
|
155 0, ///< Proxy port number |
|
156 0, ///< Wap Gateway IP address |
|
157 0, ///< WTLS Security |
|
158 0 ///< Connection type |
|
159 } |
|
160 }; |
|
161 |
|
162 |
|
163 |
|
164 const TInt Fields_CSD_WSP[3][10] = |
|
165 { |
|
166 { |
|
167 EApWapAccessPointName, ///< Connection name |
|
168 EApWapCurrentBearer, ///< Bearer type |
|
169 |
|
170 EApIspDefaultTelNumber, ///< Access Number |
|
171 EApIspIfAuthName, // username |
|
172 EApIspPromptForLogin, ///< prompt password |
|
173 EApIspIfAuthPass, // password |
|
174 EApGprsDisablePlainTextAuth, ///< password authentication |
|
175 EApWapStartPage, ///< Starting Page |
|
176 EApIspBearerCallTypeIsdn, ///< Data call type |
|
177 ///< (analogue/ISDN110/ISDN120) |
|
178 EApIspBearerSpeed ///< Max. connection speed |
|
179 }, |
|
180 { |
|
181 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
182 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
183 R_APUI_VIEW_ACCESS_NUMBER, ///< Access Number |
|
184 R_APUI_VIEW_USER_NAME, ///< username |
|
185 R_APUI_VIEW_PROMPT_PASSWORD, ///< prompt password |
|
186 R_APUI_VIEW_PASSWORD, ///< password |
|
187 R_APUI_VIEW_PASSWORD_AUTH, ///< password authentication |
|
188 R_APUI_VIEW_STARTING_PAGE, ///< Starting Page |
|
189 R_APUI_VIEW_DATA_CALL_TYPE, ///< Data call type (analogue/ISDN) |
|
190 R_APUI_VIEW_MAX_CONN_SPEED ///< Max. connection speed |
|
191 }, |
|
192 { |
|
193 1, ///< Connection name |
|
194 0, ///< Bearer type |
|
195 1, ///< Access Number |
|
196 0, ///< username |
|
197 0, ///< prompt password |
|
198 0, ///< password |
|
199 0, ///< password authentication |
|
200 0, ///< Starting Page |
|
201 0, ///< Data call type (analogue/ISDN) |
|
202 0 ///< Max. connection speed |
|
203 } |
|
204 }; |
|
205 |
|
206 |
|
207 const TInt Fields_CSD_Advanced_WSP[3][15] = |
|
208 { |
|
209 { |
|
210 EApIspIPAddr, ///< Phone IP addr. |
|
211 EApGprsIPNameServer1, ///< Primary Name server |
|
212 EApGprsIPNameServer2, ///< Secondary Name server |
|
213 EApProxyServerAddress, ///< Proxy server address |
|
214 EApProxyPortNumber, ///< Proxy port number |
|
215 EApIspIfCallbackEnabled, ///< use callback |
|
216 EApIspIfCallbackType, ///< call back type |
|
217 EApIspIfCallbackInfo, ///< call back number |
|
218 EApIspEnableSWCompression, ///< Enable SW compression |
|
219 EApIspUseLoginScript, ///< Use login script |
|
220 EApIspLoginScript, ///< The login script |
|
221 EApIspInitString, ///< Modem init string |
|
222 EApWapGatewayAddress, ///< Wap Gateway IP address |
|
223 EApWapSecurity, ///< WTLS Security |
|
224 EApWapWspOption ///< Connection type |
|
225 }, |
|
226 { |
|
227 R_APUI_VIEW_PHONE_IP_ADDR, ///< Phone IP addr. |
|
228 R_APUI_VIEW_PRIMARY_NAME_SERVER, ///< Primary Name server |
|
229 R_APUI_VIEW_SECONDARY_NAME_SERVER, ///< Secondary Name server |
|
230 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
231 R_APUI_VIEW_PROXY_PORT_NUMBER, ///< Proxy port number |
|
232 R_APUI_VIEW_USE_CALL_BACK, ///< use callback |
|
233 R_APUI_VIEW_CALL_BACK_TYPE, ///< call back type |
|
234 R_APUI_VIEW_CALL_BACK_NUMBER, ///< call back number |
|
235 R_APUI_VIEW_ENABLE_PPP_COMP, ///< Enable PPP compression |
|
236 R_APUI_VIEW_USE_LOGIN_SCRIPT, ///< Use login script |
|
237 R_APUI_VIEW_LOGIN_SCRIPT, ///< The login script |
|
238 R_APUI_VIEW_MODEM_INIT_STRING, ///< Modem init string |
|
239 R_APUI_VIEW_WAP_GW_IP_ADDR, ///< Wap Gateway IP address |
|
240 R_APUI_VIEW_WTLS_SECURITY, ///< WTLS Security |
|
241 R_APUI_VIEW_CONNECTION_TYPE ///< Connection type |
|
242 }, |
|
243 { |
|
244 0, ///< Phone IP addr. |
|
245 0, ///< Primary Name server |
|
246 0, ///< Secondary Name server |
|
247 0, ///< Proxy server address |
|
248 0, ///< Proxy port number |
|
249 0, ///< use callback |
|
250 0, ///< call back type |
|
251 0, ///< call back number |
|
252 0, ///< Enable PPP compression |
|
253 0, ///< Use login script |
|
254 0, ///< The login script |
|
255 0, ///< Modem init string |
|
256 0, ///< Wap Gateway IP address |
|
257 0, ///< WTLS Security |
|
258 0 ///< Connection type |
|
259 } |
|
260 }; |
|
261 |
|
262 |
|
263 |
|
264 |
|
265 |
|
266 |
|
267 //---------------------------------------------------------- |
|
268 // Normal settings, no flags defined |
|
269 //---------------------------------------------------------- |
|
270 // |
|
271 const TInt Fields_GPRS[3][8] = |
|
272 { |
|
273 { |
|
274 EApWapAccessPointName, ///< Connection name |
|
275 EApWapCurrentBearer, ///< Bearer type |
|
276 |
|
277 EApGprsAccessPointName, ///< Access Point Name |
|
278 EApIspIfAuthName, // username |
|
279 EApIspPromptForLogin, ///< prompt password |
|
280 EApIspIfAuthPass, // password |
|
281 EApGprsDisablePlainTextAuth,///< password authentication |
|
282 EApWapStartPage ///< Starting Page |
|
283 }, |
|
284 { |
|
285 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
286 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
287 R_APUI_VIEW_AP_NAME, ///< Access Point Name |
|
288 R_APUI_VIEW_USER_NAME, ///< username |
|
289 R_APUI_VIEW_PROMPT_PASSWORD, ///< prompt password |
|
290 R_APUI_VIEW_PASSWORD, ///< password |
|
291 R_APUI_VIEW_PASSWORD_AUTH, ///< password authentication |
|
292 R_APUI_VIEW_STARTING_PAGE ///< Starting Page |
|
293 }, |
|
294 { |
|
295 1, ///< Connection name |
|
296 0, ///< Bearer type |
|
297 0, ///< Access Point Name |
|
298 0, ///< username |
|
299 0, ///< prompt password |
|
300 0, ///< password |
|
301 0, ///< password authentication |
|
302 0 ///< Starting Page |
|
303 } |
|
304 }; |
|
305 |
|
306 |
|
307 |
|
308 const TInt Fields_GPRS_Advanced[3][5] = |
|
309 { |
|
310 { |
|
311 EApIspIPAddr, ///< Phone IP addr. |
|
312 EApGprsIPNameServer1, ///< Primary Name server |
|
313 EApGprsIPNameServer2, ///< Secondary Name server |
|
314 EApProxyServerAddress, ///< Proxy server address |
|
315 EApProxyPortNumber ///< Proxy port number |
|
316 }, |
|
317 { |
|
318 R_APUI_VIEW_PHONE_IP_ADDR, ///< Phone IP addr. |
|
319 R_APUI_VIEW_PRIMARY_NAME_SERVER, ///< Primary Name server |
|
320 R_APUI_VIEW_SECONDARY_NAME_SERVER, ///< Secondary Name server |
|
321 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
322 R_APUI_VIEW_PROXY_PORT_NUMBER ///< Proxy port number |
|
323 }, |
|
324 { |
|
325 0, ///< Phone IP addr. |
|
326 0, ///< Primary Name server |
|
327 0, ///< Secondary Name server |
|
328 0, ///< Proxy server address |
|
329 0 ///< Proxy port number |
|
330 } |
|
331 }; |
|
332 |
|
333 |
|
334 |
|
335 const TInt Fields_CSD[3][10] = |
|
336 { |
|
337 { |
|
338 EApWapAccessPointName, ///< Connection name |
|
339 EApWapCurrentBearer, ///< Bearer type |
|
340 |
|
341 EApIspDefaultTelNumber, ///< Access Number |
|
342 EApIspIfAuthName, // username |
|
343 EApIspPromptForLogin, ///< prompt password |
|
344 EApIspIfAuthPass, // password |
|
345 EApGprsDisablePlainTextAuth, ///< password authentication |
|
346 EApWapStartPage, ///< Starting Page |
|
347 EApIspBearerCallTypeIsdn, ///< Data call type |
|
348 ///< (analogue/ISDN110/ISDN120) |
|
349 EApIspBearerSpeed ///< Max. connection speed |
|
350 }, |
|
351 { |
|
352 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
353 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
354 R_APUI_VIEW_ACCESS_NUMBER, ///< Access Number |
|
355 R_APUI_VIEW_USER_NAME, ///< username |
|
356 R_APUI_VIEW_PROMPT_PASSWORD, ///< prompt password |
|
357 R_APUI_VIEW_PASSWORD, ///< password |
|
358 R_APUI_VIEW_PASSWORD_AUTH, ///< password authentication |
|
359 R_APUI_VIEW_STARTING_PAGE, ///< Starting Page |
|
360 R_APUI_VIEW_DATA_CALL_TYPE, ///< Data call type |
|
361 ///< (analogue/ISDN) |
|
362 R_APUI_VIEW_MAX_CONN_SPEED ///< Max. connection speed |
|
363 }, |
|
364 { |
|
365 1, ///< Connection name |
|
366 0, ///< Bearer type |
|
367 1, ///< Access Number |
|
368 0, ///< username |
|
369 0, ///< prompt password |
|
370 0, ///< password |
|
371 0, ///< password authentication |
|
372 0, ///< Starting Page |
|
373 0, ///< Data call type (analogue/ISDN) |
|
374 0 ///< Max. connection speed |
|
375 } |
|
376 }; |
|
377 |
|
378 |
|
379 |
|
380 const TInt Fields_CSD_Advanced[3][12] = |
|
381 { |
|
382 { |
|
383 EApIspIPAddr, ///< Phone IP addr. |
|
384 EApGprsIPNameServer1, ///< Primary Name server |
|
385 EApGprsIPNameServer2, ///< Secondary Name server |
|
386 EApProxyServerAddress, ///< Proxy server address |
|
387 EApProxyPortNumber, ///< Proxy port number |
|
388 EApIspIfCallbackEnabled, ///< use callback |
|
389 EApIspIfCallbackType, ///< call back type |
|
390 EApIspIfCallbackInfo, ///< call back number |
|
391 EApIspEnableSWCompression, ///< Enable SW compression |
|
392 EApIspUseLoginScript, ///< Use login script |
|
393 EApIspLoginScript, ///< The login script |
|
394 EApIspInitString ///< Modem init string |
|
395 }, |
|
396 { |
|
397 R_APUI_VIEW_PHONE_IP_ADDR, ///< Phone IP addr. |
|
398 R_APUI_VIEW_PRIMARY_NAME_SERVER, ///< Primary Name server |
|
399 R_APUI_VIEW_SECONDARY_NAME_SERVER, ///< Secondary Name server |
|
400 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
401 R_APUI_VIEW_PROXY_PORT_NUMBER, ///< Proxy port number |
|
402 R_APUI_VIEW_USE_CALL_BACK, ///< use callback |
|
403 R_APUI_VIEW_CALL_BACK_TYPE, ///< call back type |
|
404 R_APUI_VIEW_CALL_BACK_NUMBER, ///< call back number |
|
405 R_APUI_VIEW_ENABLE_PPP_COMP, ///< Enable PPP compression |
|
406 R_APUI_VIEW_USE_LOGIN_SCRIPT, ///< Use login script |
|
407 R_APUI_VIEW_LOGIN_SCRIPT, ///< The login script |
|
408 R_APUI_VIEW_MODEM_INIT_STRING ///< Modem init string |
|
409 }, |
|
410 { |
|
411 0, ///< Phone IP addr. |
|
412 0, ///< Primary Name server |
|
413 0, ///< Secondary Name server |
|
414 0, ///< Proxy server address |
|
415 0, ///< Proxy port number |
|
416 0, ///< use callback |
|
417 0, ///< call back type |
|
418 0, ///< call back number |
|
419 0, ///< Enable PPP compression |
|
420 0, ///< Use login script |
|
421 0, ///< The login script |
|
422 0 ///< Modem init string |
|
423 } |
|
424 }; |
|
425 |
|
426 |
|
427 |
|
428 |
|
429 |
|
430 |
|
431 |
|
432 |
|
433 |
|
434 |
|
435 |
|
436 |
|
437 //---------------------------------------------------------- |
|
438 // Settings with the KWSPSettingsVisible flag defined |
|
439 // AND IPv6 Support enabled |
|
440 //---------------------------------------------------------- |
|
441 // |
|
442 const TInt Fields_GPRS_WSP_IPv6[3][8] = |
|
443 { |
|
444 { |
|
445 EApWapAccessPointName, ///< Connection name |
|
446 EApWapCurrentBearer, ///< Bearer type |
|
447 |
|
448 EApGprsAccessPointName, ///< Access Point Name |
|
449 EApIspIfAuthName, // username |
|
450 EApIspPromptForLogin, ///< prompt password |
|
451 EApIspIfAuthPass, // password |
|
452 EApGprsDisablePlainTextAuth,///< password authentication |
|
453 EApWapStartPage ///< Starting Page |
|
454 }, |
|
455 { |
|
456 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
457 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
458 R_APUI_VIEW_AP_NAME, ///< Access Point Name |
|
459 R_APUI_VIEW_USER_NAME, ///< username |
|
460 R_APUI_VIEW_PROMPT_PASSWORD, ///< prompt password |
|
461 R_APUI_VIEW_PASSWORD, ///< password |
|
462 R_APUI_VIEW_PASSWORD_AUTH, ///< password authentication |
|
463 R_APUI_VIEW_STARTING_PAGE ///< Starting Page |
|
464 }, |
|
465 { |
|
466 1, ///< Connection name |
|
467 0, ///< Bearer type |
|
468 0, ///< Access Point Name |
|
469 0, ///< username |
|
470 0, ///< prompt password |
|
471 0, ///< password |
|
472 0, ///< password authentication |
|
473 0 ///< Starting Page |
|
474 } |
|
475 }; |
|
476 |
|
477 |
|
478 |
|
479 const TInt Fields_GPRS_Advanced_WSP_IPv6[3][8] = |
|
480 { |
|
481 { |
|
482 EApGprsPdpType, ///< PDP type, IPv4 or IPv6 |
|
483 EApIspIPAddr, ///< Phone IP addr. |
|
484 EApIP6DNSAddrFromServer, ///< Domain name servers |
|
485 EApProxyServerAddress, ///< Proxy server address |
|
486 EApProxyPortNumber, ///< Proxy port number |
|
487 EApWapGatewayAddress, ///< Wap Gateway IP address |
|
488 EApWapSecurity, ///< WTLS Security |
|
489 EApWapWspOption ///< Connection type |
|
490 }, |
|
491 { |
|
492 R_APUI_VIEW_PDP_TYPE, ///< PDP type, IPv4 or IPv6 |
|
493 R_APUI_VIEW_PHONE_IP_ADDR, ///< Phone IP addr. |
|
494 R_APUI_VIEW_SET_DNS_SERVERS_IP, ///< Domain name servers |
|
495 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
496 R_APUI_VIEW_PROXY_PORT_NUMBER, ///< Proxy port number |
|
497 R_APUI_VIEW_WAP_GW_IP_ADDR, ///< Wap Gateway IP address |
|
498 R_APUI_VIEW_WTLS_SECURITY, ///< WTLS Security |
|
499 R_APUI_VIEW_CONNECTION_TYPE ///< Connection type |
|
500 }, |
|
501 { |
|
502 0, ///< PDP type, IPv4 or IPv6 |
|
503 0, ///< Phone IP addr. |
|
504 0, ///< Domain name servers |
|
505 0, ///< Proxy server address |
|
506 0, ///< Proxy port number |
|
507 0, ///< Wap Gateway IP address |
|
508 0, ///< WTLS Security |
|
509 0 ///< Connection type |
|
510 } |
|
511 }; |
|
512 |
|
513 |
|
514 |
|
515 |
|
516 const TInt Fields_CSD_WSP_IPv6[3][10] = |
|
517 { |
|
518 { |
|
519 EApWapAccessPointName, ///< Connection name |
|
520 EApWapCurrentBearer, ///< Bearer type |
|
521 |
|
522 EApIspDefaultTelNumber, ///< Access Number |
|
523 EApIspIfAuthName, // username |
|
524 EApIspPromptForLogin, ///< prompt password |
|
525 EApIspIfAuthPass, // password |
|
526 EApGprsDisablePlainTextAuth, ///< password authentication |
|
527 EApWapStartPage, ///< Starting Page |
|
528 EApIspBearerCallTypeIsdn, ///< Data call type |
|
529 ///< (analogue/ISDN110/ISDN120) |
|
530 EApIspBearerSpeed ///< Max. connection speed |
|
531 }, |
|
532 { |
|
533 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
534 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
535 R_APUI_VIEW_ACCESS_NUMBER, ///< Access Number |
|
536 R_APUI_VIEW_USER_NAME, ///< username |
|
537 R_APUI_VIEW_PROMPT_PASSWORD, ///< prompt password |
|
538 R_APUI_VIEW_PASSWORD, ///< password |
|
539 R_APUI_VIEW_PASSWORD_AUTH, ///< password authentication |
|
540 R_APUI_VIEW_STARTING_PAGE, ///< Starting Page |
|
541 R_APUI_VIEW_DATA_CALL_TYPE, ///< Data call type (analogue/ISDN) |
|
542 R_APUI_VIEW_MAX_CONN_SPEED ///< Max. connection speed |
|
543 }, |
|
544 { |
|
545 1, ///< Connection name |
|
546 0, ///< Bearer type |
|
547 1, ///< Access Number |
|
548 0, ///< username |
|
549 0, ///< prompt password |
|
550 0, ///< password |
|
551 0, ///< password authentication |
|
552 0, ///< Starting Page |
|
553 0, ///< Data call type (analogue/ISDN) |
|
554 0 ///< Max. connection speed |
|
555 } |
|
556 }; |
|
557 |
|
558 |
|
559 const TInt Fields_CSD_Advanced_WSP_IPv6[3][14] = |
|
560 { |
|
561 { |
|
562 EApIpv4Settings, ///< Ipv4 Settings |
|
563 EApIpv6Settings, ///< Ipv6 Settings |
|
564 EApProxyServerAddress, ///< Proxy server address |
|
565 EApProxyPortNumber, ///< Proxy port number |
|
566 EApIspIfCallbackEnabled, ///< use callback |
|
567 EApIspIfCallbackType, ///< call back type |
|
568 EApIspIfCallbackInfo, ///< call back number |
|
569 EApIspEnableSWCompression, ///< Enable SW compression |
|
570 EApIspUseLoginScript, ///< Use login script |
|
571 EApIspLoginScript, ///< The login script |
|
572 EApIspInitString, ///< Modem init string |
|
573 EApWapGatewayAddress, ///< Wap Gateway IP address |
|
574 EApWapSecurity, ///< WTLS Security |
|
575 EApWapWspOption ///< Connection type |
|
576 }, |
|
577 { |
|
578 R_APUI_VIEW_IPV4_SETTINGS, ///< Ipv4 Settings |
|
579 R_APUI_VIEW_IPV6_SETTINGS, ///< Ipv6 Settings |
|
580 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
581 R_APUI_VIEW_PROXY_PORT_NUMBER, ///< Proxy port number |
|
582 R_APUI_VIEW_USE_CALL_BACK, ///< use callback |
|
583 R_APUI_VIEW_CALL_BACK_TYPE, ///< call back type |
|
584 R_APUI_VIEW_CALL_BACK_NUMBER, ///< call back number |
|
585 R_APUI_VIEW_ENABLE_PPP_COMP, ///< Enable PPP compression |
|
586 R_APUI_VIEW_USE_LOGIN_SCRIPT, ///< Use login script |
|
587 R_APUI_VIEW_LOGIN_SCRIPT, ///< The login script |
|
588 R_APUI_VIEW_MODEM_INIT_STRING, ///< Modem init string |
|
589 R_APUI_VIEW_WAP_GW_IP_ADDR, ///< Wap Gateway IP address |
|
590 R_APUI_VIEW_WTLS_SECURITY, ///< WTLS Security |
|
591 R_APUI_VIEW_CONNECTION_TYPE ///< Connection type |
|
592 }, |
|
593 { |
|
594 0, ///< Ipv4 Settings |
|
595 0, ///< Ipv6 Settings |
|
596 0, ///< Proxy server address |
|
597 0, ///< Proxy port number |
|
598 0, ///< use callback |
|
599 0, ///< call back type |
|
600 0, ///< call back number |
|
601 0, ///< Enable PPP compression |
|
602 0, ///< Use login script |
|
603 0, ///< The login script |
|
604 0, ///< Modem init string |
|
605 0, ///< Wap Gateway IP address |
|
606 0, ///< WTLS Security |
|
607 0 ///< Connection type |
|
608 } |
|
609 }; |
|
610 |
|
611 |
|
612 |
|
613 |
|
614 |
|
615 |
|
616 |
|
617 |
|
618 |
|
619 //---------------------------------------------------------- |
|
620 // Normal settings, only Ipv6 defined |
|
621 //---------------------------------------------------------- |
|
622 // |
|
623 const TInt Fields_GPRS_IPv6[3][8] = |
|
624 { |
|
625 { |
|
626 EApWapAccessPointName, ///< Connection name |
|
627 EApWapCurrentBearer, ///< Bearer type |
|
628 |
|
629 EApGprsAccessPointName, ///< Access Point Name |
|
630 EApIspIfAuthName, // username |
|
631 EApIspPromptForLogin, ///< prompt password |
|
632 EApIspIfAuthPass, // password |
|
633 EApGprsDisablePlainTextAuth,///< password authentication |
|
634 EApWapStartPage ///< Starting Page |
|
635 }, |
|
636 { |
|
637 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
638 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
639 R_APUI_VIEW_AP_NAME, ///< Access Point Name |
|
640 R_APUI_VIEW_USER_NAME, ///< username |
|
641 R_APUI_VIEW_PROMPT_PASSWORD, ///< prompt password |
|
642 R_APUI_VIEW_PASSWORD, ///< password |
|
643 R_APUI_VIEW_PASSWORD_AUTH, ///< password authentication |
|
644 R_APUI_VIEW_STARTING_PAGE ///< Starting Page |
|
645 }, |
|
646 { |
|
647 1, ///< Connection name |
|
648 0, ///< Bearer type |
|
649 0, ///< Access Point Name |
|
650 0, ///< username |
|
651 0, ///< prompt password |
|
652 0, ///< password |
|
653 0, ///< password authentication |
|
654 0 ///< Starting Page |
|
655 } |
|
656 }; |
|
657 |
|
658 |
|
659 |
|
660 const TInt Fields_GPRS_Advanced_IPv6[3][5] = |
|
661 { |
|
662 { |
|
663 EApGprsPdpType, ///< PDP type, IPv4 or IPv6 |
|
664 EApIspIPAddr, ///< Phone IP addr. |
|
665 EApIP6DNSAddrFromServer, ///< Domain name servers |
|
666 EApProxyServerAddress, ///< Proxy server address |
|
667 EApProxyPortNumber ///< Proxy port number |
|
668 }, |
|
669 { |
|
670 R_APUI_VIEW_PDP_TYPE, ///< PDP type, IPv4 or IPv6 |
|
671 R_APUI_VIEW_PHONE_IP_ADDR, ///< Phone IP addr. |
|
672 R_APUI_VIEW_SET_DNS_SERVERS_IP, ///< Domain name servers |
|
673 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
674 R_APUI_VIEW_PROXY_PORT_NUMBER ///< Proxy port number |
|
675 }, |
|
676 { |
|
677 0, ///< PDP type, IPv4 or IPv6 |
|
678 0, ///< Phone IP addr. |
|
679 0, ///< Domain name servers |
|
680 0, ///< Proxy server address |
|
681 0 ///< Proxy port number |
|
682 } |
|
683 }; |
|
684 |
|
685 |
|
686 |
|
687 const TInt Fields_CSD_IPv6[3][10] = |
|
688 { |
|
689 { |
|
690 EApWapAccessPointName, ///< Connection name |
|
691 EApWapCurrentBearer, ///< Bearer type |
|
692 |
|
693 EApIspDefaultTelNumber, ///< Access Number |
|
694 EApIspIfAuthName, ///< username |
|
695 EApIspPromptForLogin, ///< prompt password |
|
696 EApIspIfAuthPass, ///< password |
|
697 EApGprsDisablePlainTextAuth, ///< password authentication |
|
698 EApWapStartPage, ///< Starting Page |
|
699 EApIspBearerCallTypeIsdn, ///< Data call type |
|
700 ///< (analogue/ISDN110/ISDN120) |
|
701 EApIspBearerSpeed ///< Max. connection speed |
|
702 }, |
|
703 { |
|
704 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
705 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
706 R_APUI_VIEW_ACCESS_NUMBER, ///< Access Number |
|
707 R_APUI_VIEW_USER_NAME, ///< username |
|
708 R_APUI_VIEW_PROMPT_PASSWORD, ///< prompt password |
|
709 R_APUI_VIEW_PASSWORD, ///< password |
|
710 R_APUI_VIEW_PASSWORD_AUTH, ///< password authentication |
|
711 R_APUI_VIEW_STARTING_PAGE, ///< Starting Page |
|
712 R_APUI_VIEW_DATA_CALL_TYPE, ///< Data call type (analogue/ISDN) |
|
713 R_APUI_VIEW_MAX_CONN_SPEED ///< Max. connection speed |
|
714 }, |
|
715 { |
|
716 1, ///< Connection name |
|
717 0, ///< Bearer type |
|
718 1, ///< Access Number |
|
719 0, ///< username |
|
720 0, ///< prompt password |
|
721 0, ///< password |
|
722 0, ///< password authentication |
|
723 0, ///< Starting Page |
|
724 0, ///< Data call type (analogue/ISDN) |
|
725 0 ///< Max. connection speed |
|
726 } |
|
727 }; |
|
728 |
|
729 |
|
730 |
|
731 const TInt Fields_CSD_Advanced_IPv6[3][11] = |
|
732 { |
|
733 { |
|
734 EApIpv4Settings, ///< Ipv4 Settings |
|
735 EApIpv6Settings, ///< Ipv6 Settings |
|
736 EApProxyServerAddress, ///< Proxy server address |
|
737 EApProxyPortNumber, ///< Proxy port number |
|
738 EApIspIfCallbackEnabled, ///< use callback |
|
739 EApIspIfCallbackType, ///< call back type |
|
740 EApIspIfCallbackInfo, ///< call back number |
|
741 EApIspEnableSWCompression, ///< Enable SW compression |
|
742 EApIspUseLoginScript, ///< Use login script |
|
743 EApIspLoginScript, ///< The login script |
|
744 EApIspInitString ///< Modem init string |
|
745 }, |
|
746 { |
|
747 R_APUI_VIEW_IPV4_SETTINGS, ///< Ipv4 Settings |
|
748 R_APUI_VIEW_IPV6_SETTINGS, ///< Ipv6 Settings |
|
749 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
750 R_APUI_VIEW_PROXY_PORT_NUMBER, ///< Proxy port number |
|
751 R_APUI_VIEW_USE_CALL_BACK, ///< use callback |
|
752 R_APUI_VIEW_CALL_BACK_TYPE, ///< call back type |
|
753 R_APUI_VIEW_CALL_BACK_NUMBER, ///< call back number |
|
754 R_APUI_VIEW_ENABLE_PPP_COMP, ///< Enable PPP compression |
|
755 R_APUI_VIEW_USE_LOGIN_SCRIPT, ///< Use login script |
|
756 R_APUI_VIEW_LOGIN_SCRIPT, ///< The login script |
|
757 R_APUI_VIEW_MODEM_INIT_STRING ///< Modem init string |
|
758 }, |
|
759 { |
|
760 0, ///< Ipv4 Settings |
|
761 0, ///< Ipv6 Settings |
|
762 0, ///< Proxy server address |
|
763 0, ///< Proxy port number |
|
764 0, ///< use callback |
|
765 0, ///< call back type |
|
766 0, ///< call back number |
|
767 0, ///< Enable PPP compression |
|
768 0, ///< Use login script |
|
769 0, ///< The login script |
|
770 0 ///< Modem init string |
|
771 } |
|
772 }; |
|
773 |
|
774 |
|
775 |
|
776 |
|
777 |
|
778 |
|
779 |
|
780 |
|
781 |
|
782 |
|
783 |
|
784 |
|
785 |
|
786 |
|
787 |
|
788 |
|
789 |
|
790 |
|
791 |
|
792 |
|
793 |
|
794 |
|
795 |
|
796 |
|
797 |
|
798 |
|
799 |
|
800 |
|
801 |
|
802 |
|
803 |
|
804 |
|
805 |
|
806 |
|
807 |
|
808 |
|
809 |
|
810 |
|
811 |
|
812 |
|
813 |
|
814 |
|
815 |
|
816 |
|
817 |
|
818 |
|
819 |
|
820 |
|
821 const TInt Fields_WLAN_IPv6[3][8] = |
|
822 { |
|
823 { |
|
824 EApWapAccessPointName, ///< Connection name |
|
825 EApWapCurrentBearer, ///< Bearer type |
|
826 EApWlanNetworkName, ///< The network name |
|
827 EApWlanScanSSID, ///< need to scan the SSID? |
|
828 EApWlanNetworkMode, ///< Gives network mode |
|
829 EApWlanSecurityMode, ///< The security mode |
|
830 EApWlanSecuritySettings, ///< The security settings menu |
|
831 EApWapStartPage ///< Starting Page |
|
832 }, |
|
833 { |
|
834 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
835 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
836 R_APUI_VIEW_WLAN_NETWORK_NAME, ///< The network name |
|
837 R_APUI_VIEW_WLAN_HIDDEN_NETWORK, ///< need to scan the SSID? |
|
838 R_APUI_VIEW_WLAN_NETWORK_MODE, ///< The network mode |
|
839 R_APUI_VIEW_WLAN_SECURITY_MODE, ///< The security mode |
|
840 R_APUI_VIEW_WLAN_SECURITY_SETTINGS, ///< The security settings menu |
|
841 R_APUI_VIEW_STARTING_PAGE ///< Starting Page |
|
842 }, |
|
843 { |
|
844 1, ///< Connection name |
|
845 0, ///< Bearer type |
|
846 1, ///< The network name |
|
847 0, ///< need to scan the SSID |
|
848 0, ///< Gives network mode |
|
849 0, ///< The security mode |
|
850 0, ///< The security settings menu |
|
851 0 ///< Starting Page |
|
852 } |
|
853 }; |
|
854 |
|
855 |
|
856 |
|
857 const TInt Fields_WLAN_Advanced_IPv6[3][5] = |
|
858 { |
|
859 { |
|
860 EApIpv4Settings, ///< Ipv4 Settings |
|
861 EApIpv6Settings, ///< Ipv6 Settings |
|
862 EApWlanChannelId, ///< Ad-hoc channel auto/userdef. |
|
863 EApProxyServerAddress, ///< Proxy server address |
|
864 EApProxyPortNumber ///< Proxy port number |
|
865 }, |
|
866 { |
|
867 R_APUI_VIEW_IPV4_SETTINGS, ///< Ipv4 Settings |
|
868 R_APUI_VIEW_IPV6_SETTINGS, ///< Ipv6 Settings |
|
869 R_APUI_VIEW_AD_HOC, ///< Ad-hoc channel auto/userdef. |
|
870 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
871 R_APUI_VIEW_PROXY_PORT_NUMBER ///< Proxy port number |
|
872 }, |
|
873 { |
|
874 0, ///< Ipv4 Settings |
|
875 0, ///< Ipv6 Settings |
|
876 0, ///< Ad-hoc channel auto/userdef. |
|
877 0, ///< Proxy server address |
|
878 0 ///< Proxy port number |
|
879 } |
|
880 }; |
|
881 |
|
882 |
|
883 |
|
884 |
|
885 const TInt Fields_WLAN_IPv4[3][8] = |
|
886 { |
|
887 { |
|
888 EApWapAccessPointName, ///< Connection name |
|
889 EApWapCurrentBearer, ///< Bearer type |
|
890 EApWlanNetworkName, ///< The network name |
|
891 EApWlanScanSSID, ///< need to scan the SSID? |
|
892 EApWlanNetworkMode, ///< Gives network mode |
|
893 EApWlanSecurityMode, ///< The security mode |
|
894 EApWlanSecuritySettings, ///< The security settings menu |
|
895 EApWapStartPage ///< Starting Page |
|
896 }, |
|
897 { |
|
898 R_APUI_VIEW_CONNECTION_NAME, ///< Connection name |
|
899 R_APUI_VIEW_BEARER_TYPE, ///< Bearer type |
|
900 R_APUI_VIEW_WLAN_NETWORK_NAME, ///< The network name |
|
901 R_APUI_VIEW_WLAN_HIDDEN_NETWORK, ///< need to scan the SSID? |
|
902 R_APUI_VIEW_WLAN_NETWORK_MODE, ///< The network mode |
|
903 R_APUI_VIEW_WLAN_SECURITY_MODE, ///< The security mode |
|
904 R_APUI_VIEW_WLAN_SECURITY_SETTINGS, ///< The security settings menu |
|
905 R_APUI_VIEW_STARTING_PAGE ///< Starting Page |
|
906 }, |
|
907 { |
|
908 1, ///< Connection name |
|
909 0, ///< Bearer type |
|
910 1, ///< The network name |
|
911 0, ///< need to scan the SSID |
|
912 0, ///< Gives network mode |
|
913 0, ///< The security mode |
|
914 0, ///< The security settings menu |
|
915 0 ///< Starting Page |
|
916 } |
|
917 }; |
|
918 |
|
919 |
|
920 const TInt Fields_WLAN_Advanced_IPv4[3][8] = |
|
921 { |
|
922 { |
|
923 EApIspIPAddr, ///< Phone IP addr. |
|
924 EApIspIPNetMask, ///< Subnet mask |
|
925 EApIspIPGateway, ///< IP address of gateway |
|
926 EApGprsIPNameServer1, ///< Primary Name server |
|
927 EApGprsIPNameServer2, ///< Secondary Name server |
|
928 EApWlanChannelId, ///< Ad-hoc channel auto/userdef. |
|
929 EApProxyServerAddress, ///< Proxy server address |
|
930 EApProxyPortNumber ///< Proxy port number |
|
931 }, |
|
932 { |
|
933 R_APUI_VIEW_PHONE_IP_ADDR, ///< Phone IP addr. |
|
934 R_APUI_NETMASK, ///< Subnet mask |
|
935 R_APUI_IP_GATEWAY, ///< IP address of gateway |
|
936 R_APUI_VIEW_PRIMARY_NAME_SERVER, ///< Primary Name server |
|
937 R_APUI_VIEW_SECONDARY_NAME_SERVER, ///< Secondary Name server |
|
938 R_APUI_VIEW_AD_HOC, ///< Ad-hoc channel auto/userdef. |
|
939 R_APUI_VIEW_PROXY_SERVER_ADDR, ///< Proxy server address |
|
940 R_APUI_VIEW_PROXY_PORT_NUMBER ///< Proxy port number |
|
941 }, |
|
942 { |
|
943 0, ///< Phone IP addr. |
|
944 1, ///< Subnet mask |
|
945 1, ///< IP address of gateway |
|
946 0, ///< Primary Name server |
|
947 0, ///< Secondary Name server |
|
948 0, ///< Ad-hoc channel auto/userdef. |
|
949 0, ///< Proxy server address |
|
950 0 ///< Proxy port number |
|
951 } |
|
952 }; |
|
953 |
|
954 |
|
955 |
|
956 const TInt Fields_WLAN_L2_IPv4[3][4] = |
|
957 { |
|
958 { |
|
959 EApIspIPAddr, ///< Phone IP addr. |
|
960 EApIspIPNetMask, ///< Subnet mask |
|
961 EApIspIPGateway, ///< IP address of gateway |
|
962 EApIP6DNSAddrFromServer ///< Domain name servers |
|
963 }, |
|
964 { |
|
965 R_APUI_VIEW_PHONE_IP_ADDR, ///< Phone IP addr. |
|
966 R_APUI_NETMASK, ///< Subnet mask |
|
967 R_APUI_IP_GATEWAY, ///< IP address of gateway |
|
968 R_APUI_VIEW_SET_DNS_SERVERS_IP ///< Domain name servers |
|
969 }, |
|
970 { |
|
971 0, ///< Phone IP addr. |
|
972 1, ///< Subnet mask |
|
973 1, ///< IP address of gateway |
|
974 0 ///< Domain name servers |
|
975 } |
|
976 }; |
|
977 |
|
978 |
|
979 #endif |
|
980 |
|
981 // End of File |
|