|
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __IACPDEF_H__ |
|
17 #define __IACPDEF_H__ |
|
18 |
|
19 //-- Mapping of Bio-Message Field names to Commbd and Miut Field Names -- |
|
20 // SMS header and password |
|
21 _LIT(KSmsHeader, "//SIAP11"); |
|
22 _LIT(SMS_HEADER, "Header"); |
|
23 _LIT(SMS_PASSWORD, "Password"); |
|
24 |
|
25 //Internet Settings (Dial Out Service Table) |
|
26 |
|
27 //--- Fields for Basic IAP Settings (Nokia Smart Messaging Spec 2.0.0Pre) |
|
28 _LIT(SMS_ISP_I_NAME, "Iname"); //Isp Provider Name |
|
29 _LIT(SMS_DEFAULT_TEL_NUM, "Itel"); // The default telephone number to be used if the location does not match those below |
|
30 _LIT(SMS_LOGIN_NAME, "Iuid"); // Login name |
|
31 _LIT(SMS_PROMPT_FOR_LOGIN, "Ipwp"); // Prompt user for username and password? |
|
32 _LIT(SMS_LOGIN_PASS, "Ipwd"); // Login password |
|
33 _LIT(SMS_INIT_STRING, "Iini"); // Modem Initialisation |
|
34 _LIT(SMS_IP_ADDR, "Iip"); // IP Address of Interface |
|
35 _LIT(SMS_IP_NAME_SERVER1, "Idns1"); // IP Address of primary name server reachable through this interface |
|
36 _LIT(SMS_IP_NAME_SERVER2, "Idns2"); // IP Address of secondary name server reachable through this interface |
|
37 _LIT(SMS_IP_NETMASK, "Imsk"); // IP Netmask of Interface |
|
38 _LIT(SMS_IP_GATEWAY, "Idgw"); // IP Address of Gateway |
|
39 |
|
40 //--- Fields for Extended IAP (ISP Settings) |
|
41 _LIT(SMS_PROXY_EXCEPTIONS, "Inop");//HTTP no proxy for |
|
42 _LIT(SMS_PROXY_PORT_NUMBER, "Ippo");//HTTP Port, maximum length 5 digits |
|
43 _LIT(SMS_PROXY_SERVER_NAME, "Iprx");//HTTP proxy <ip-string> |
|
44 _LIT(SMS_LOGIN_CUSTOMISATION, "Ilgn");//login customisation "0" for none "1" for manual, or name of the script. |
|
45 _LIT(SMS_ENABLE_SW_COMP, "Icmp");//PPP compression "Y"|"N" |
|
46 _LIT(SMS_SECURE_PROXY, "Isrx");//secure proxy ip <ip-string> |
|
47 _LIT(SMS_SECURE_PORT, "Ispo");//secure port, maximum length 5 digits |
|
48 |
|
49 //-- Script Settings (dial out ISP Table) |
|
50 _LIT(SMS_SCRIPT_NAME, "Pname"); |
|
51 _LIT(SMS_SCRIPT_TYPE, "Ptype"); //corresponds to ISP Comms DB ISP_IF_NAME which is set to "PPP" for eg. |
|
52 _LIT(SMS_SCRIPT_DATA, "Pdata"); |
|
53 _LIT(SMS_SCRIPT_ADD, "Padd"); |
|
54 |
|
55 |
|
56 //-- Email settings -- |
|
57 //Right tokens identifying sms as a POP3 or IMAP4 |
|
58 _LIT(SMS_POP, "PO"); //POP3 Protocol |
|
59 _LIT(SMS_IMAP, "IM"); //IMAP4 Protocol |
|
60 // common for POP3 and IMAP4 |
|
61 _LIT(SMS_ISP_M_NAME, "Mname"); // ISP Name |
|
62 _LIT(SMS_MAILBOX_NAME, "Muid"); // iLoginName(POP3/IMAP) |
|
63 _LIT(SMS_MAILBOX_PASS, "Mpwd"); // iPassword (POP3/IMAP) |
|
64 _LIT(SMS_RECEIVING_HOST, "Mrcv"); // iServerAddress (POP3) |
|
65 _LIT(SMS_SENDING_HOST, "Msnd"); // iServerAddress (SMTP) |
|
66 _LIT(SMS_USER_EMAIL_ADDR, "Madr"); // iEmailAddress(SMTP) |
|
67 _LIT(SMS_MAIL_PROTOCOL, "Mpro"); // PO/IM |
|
68 |
|
69 //IMAP4 settings |
|
70 _LIT(SMS_FOLDER_PATH, "Mbox"); // IMAP4 Folder path as defined in V2.0.0 of Nokia Smart Messaging Spec |
|
71 |
|
72 //SMS Settings |
|
73 _LIT(SMS_SERVICE_CENTER_NAME, "Sname"); |
|
74 _LIT(SMS_SERVICE_CENTER_ADDRESS, "Stel"); |
|
75 |
|
76 //---Telephone Settings (Configure the voice mail number) |
|
77 _LIT(SMS_TEL_VOICE_MAILBOX_NUM, "TBox"); |
|
78 |
|
79 //---WWW Hotlist Settings |
|
80 _LIT(SMS_HOTLIST_ITEM_NAME, "Hname"); |
|
81 _LIT(SMS_HOTLIST_ITEM_URL, "Hurl"); |
|
82 _LIT(SMS_HOTLIST_AUTOSELECT_IAP,"Haap"); |
|
83 _LIT(SMS_HOTLIST_ACCESS_POINT, "Hiap"); |
|
84 _LIT(SMS_HOTLIST_FOLDER, "Hdir"); |
|
85 |
|
86 //GPRS Settings |
|
87 _LIT(GPRSS_NAME, "Gname"); |
|
88 _LIT(GPRSS_APN, "Gapn"); |
|
89 _LIT(GPRSS_PDP_TYPE, "GPdpt"); |
|
90 _LIT(GPRSS_PDP_ADDRESS, "Gpdp"); |
|
91 _LIT(GPRSS_IF_NAME, "Gifn"); |
|
92 |
|
93 _LIT(GPRSS_LOGIN_NAME, "Guid"); // Login name |
|
94 _LIT(GPRSS_PROMPT_FOR_LOGIN,"Gpwp"); // Prompt user for username and password? |
|
95 _LIT(GPRSS_LOGIN_PASS, "Gpwd"); // Login password |
|
96 _LIT(GPRSS_IP_ADDR, "Gip"); // IP Address of Interface |
|
97 _LIT(GPRSS_DNS_FROM_SERVER, "Gsdns"); |
|
98 _LIT(GPRSS_IP_NAME_SERVER1, "Gdns1"); // IP Address of primary name server reachable through this interface |
|
99 _LIT(GPRSS_IP_NAME_SERVER2, "Gdns2"); // IP Address of secondary name server reachable through this interface |
|
100 _LIT(GPRSS_IP_NETMASK, "Gmsk"); // IP Netmask of Interface |
|
101 #endif //__IACPDEF_H__ |