|
1 /* |
|
2 * Copyright (c) 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 the License "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 #ifndef TERMINALPROFILE_H |
|
21 #define TERMINALPROFILE_H |
|
22 |
|
23 #include "terminalprofileconf.h" |
|
24 |
|
25 /* |
|
26 Do not edit this file to change the configuration. |
|
27 |
|
28 In Symbian products terminalprofileconf.h shall be handcoded with like this: |
|
29 #define TERM_PROFILE_PROFILE_DOWNLOAD 0x01 |
|
30 #define TERM_PROFILE_SMS_PP_DD 0x02 |
|
31 #define TERM_PROFILE_CB_DD 0x04 |
|
32 etc... |
|
33 |
|
34 */ |
|
35 |
|
36 |
|
37 /* First profile byte Download */ |
|
38 const TUint8 TP1 ( (TUint8) (0x00 |
|
39 | TERM_PROFILE_PROFILE_DOWNLOAD /* bit 1 */ |
|
40 | TERM_PROFILE_SMS_PP_DD /* bit 2 */ |
|
41 | TERM_PROFILE_CB_DD /* bit 3 */ |
|
42 | TERM_PROFILE_MENU_SELECTION /* bit 4 */ |
|
43 | TERM_PROFILE_SMS_PP_DD_9EXX /* bit 5 */ |
|
44 | TERM_PROFILE_TIMER_MANAGEMENT_EXPIRATION /* bit 6 */ |
|
45 | TERM_PROFILE_CC_USSD_STRING /* bit 7 */ |
|
46 | TERM_PROFILE_CC_ENVELOPE_DURING_REDIAL /* bit 8 */ |
|
47 ) ); |
|
48 |
|
49 /* Second profile byte Other */ |
|
50 const TUint8 TP2 ( (TUint8) (0x00 |
|
51 | TERM_PROFILE_COMMAND_RESULT /* bit 1 */ |
|
52 | TERM_PROFILE_CC_BY_SIM /* bit 2 */ |
|
53 | TERM_PROFILE_CC_CELL_ID /* bit 3 */ |
|
54 | TERM_PROFILE_MO_SMS_CONTROL /* bit 4 */ |
|
55 | TERM_PROFILE_CC_ALPHA_ID /* bit 5 */ |
|
56 | TERM_PROFILE_UCS2_ENTRY_SUPP /* bit 6 */ |
|
57 | TERM_PROFILE_UCS2_DISP_SUPP /* bit 7 */ |
|
58 | TERM_PROFILE_DISP_TEXT_EXTENSION /* bit 8 */ |
|
59 ) ); |
|
60 |
|
61 /* Third profile byte Proactive SIM */ |
|
62 const TUint8 TP3 ( (TUint8) (0x00 \ |
|
63 | TERM_PROFILE_DISP_TEXT /* bit 1 */ |
|
64 | TERM_PROFILE_GET_INKEY /* bit 2 */ |
|
65 | TERM_PROFILE_GET_INPUT /* bit 3 */ |
|
66 | TERM_PROFILE_MORE_TIME /* bit 4 */ |
|
67 | TERM_PROFILE_PLAY_TONE /* bit 5 */ |
|
68 | TERM_PROFILE_POLL_INTERVAL /* bit 6 */ |
|
69 | TERM_PROFILE_POLLING_OFF /* bit 7 */ |
|
70 | TERM_PROFILE_REFRESH /* bit 8 */ |
|
71 ) ); |
|
72 |
|
73 /* Fourth profile byte Proactive SIM */ |
|
74 const TUint8 TP4 ( (TUint8) (0x00 |
|
75 | TERM_PROFILE_SELECT_ITEM /* bit 1 */ |
|
76 | TERM_PROFILE_SEND_SMS /* bit 2 */ |
|
77 | TERM_PROFILE_SEND_SS /* bit 3 */ |
|
78 | TERM_PROFILE_SEND_USSD /* bit 4 */ |
|
79 | TERM_PROFILE_SETUP_CALL /* bit 5 */ |
|
80 | TERM_PROFILE_SETUP_MENU /* bit 6 */ |
|
81 | TERM_PROFILE_PROVIDE_LOCAL_INFO_IMEI /* bit 7 */ |
|
82 | TERM_PROFILE_PROVIDE_LOCAL_INFO_NMR /* bit 8 */ |
|
83 ) ); |
|
84 |
|
85 /* Fifth profile byte Event driven information */ |
|
86 const TUint8 TP5 ( (TUint8) (0x00 |
|
87 | TERM_PROFILE_SET_UP_EVENT_LIST /* bit 1 */ |
|
88 | TERM_PROFILE_MT_CALL /* bit 2 */ |
|
89 | TERM_PROFILE_CALL_CONNECTED /* bit 3 */ |
|
90 | TERM_PROFILE_CALL_DISCONNECTED /* bit 4 */ |
|
91 | TERM_PROFILE_LOCATION_STATUS /* bit 5 */ |
|
92 | TERM_PROFILE_USER_ACTIVITY /* bit 6 */ |
|
93 | TERM_PROFILE_IDLE_SCREEN_AVAIL /* bit 7 */ |
|
94 | TERM_PROFILE_CARD_READER_STATUS /* bit 8 */ |
|
95 ) ); |
|
96 |
|
97 /* Sixth profile byte Event driven information extensions */ |
|
98 const TUint8 TP6 ( (TUint8) (0x00 |
|
99 | TERM_PROFILE_LANGUAGE_SELECTION /* bit 1 */ |
|
100 | TERM_PROFILE_BROWSER_TERMINATION /* bit 2 */ |
|
101 | TERM_PROFILE_DATA_AVAILABLE /* bit 3 */ |
|
102 | TERM_PROFILE_CHANNEL_STATUS /* bit 4 */ |
|
103 | TERM_PROFILE_ACCESS_TECHNOLOGY /* bit 5 */ |
|
104 | TERM_PROFILE_DISPLAY_PARAMETERS_CHANGED /* bit 6 */ |
|
105 | TERM_PROFILE_LOCAL_CONNECTION /* bit 7 */ |
|
106 | TERM_PROFILE_NETWORK_SEARCH_MODE /* bit 8 */ |
|
107 ) ); |
|
108 |
|
109 /* Seventh profile byte Multiple card proactive commands */ |
|
110 const TUint8 TP7 ( (TUint8) (0x00 |
|
111 | TERM_PROFILE_POWER_ON_CARD /* bit 1 */ |
|
112 | TERM_PROFILE_POWER_OFF_CARD /* bit 2 */ |
|
113 | TERM_PROFILE_PERFORM_CARD_APDU /* bit 3 */ |
|
114 | TERM_PROFILE_GET_READER_STATUS /* bit 4 */ |
|
115 | TERM_PROFILE_GET_READER_STATUS_ID /* bit 5 */ |
|
116 /* bit 6-8 RFU */ |
|
117 ) ); |
|
118 |
|
119 /* Eighth profile byte Proactive SIM */ |
|
120 const TUint8 TP8 ( (TUint8) (0x00 |
|
121 | TERM_PROFILE_TIMER_MANAGEMENT_START_STOP /* bit 1 */ |
|
122 | TERM_PROFILE_TIMER_MANAGEMENT_GET_VALUE /* bit 2 */ |
|
123 | TERM_PROFILE_PROVIDE_LOCAL_INFO_DATE_TIME /* bit 3 */ |
|
124 | TERM_PROFILE_GET_INKEY_BINARY /* bit 4 */ |
|
125 | TERM_PROFILE_IDLE_MODE_TEXT /* bit 5 */ |
|
126 | TERM_PROFILE_RUN_AT_COMMAND /* bit 6 */ |
|
127 | TERM_PROFILE_SETUP_CALL_SECOND_ALPHA /* bit 7 */ |
|
128 | TERM_PROFILE_CC_SECOND_CCP /* bit 8 */ |
|
129 ) ); |
|
130 |
|
131 /* Ninth profile byte */ |
|
132 const TUint8 TP9 ( (TUint8) (0x00 |
|
133 | TERM_PROFILE_SUSTAINED_DISPLAY_TEXT /* bit 1 */ |
|
134 | TERM_PROFILE_SEND_DTMF /* bit 2 */ |
|
135 | TERM_PROFILE_PROVIDE_LOCAL_INFO_BCCH /* bit 3 */ |
|
136 | TERM_PROFILE_PROVIDE_LOCAL_INFO_LANGUAGE /* bit 4 */ |
|
137 | TERM_PROFILE_PROVIDE_LOCAL_INFO_TIMING_ADVANCE /* bit 5 */ |
|
138 | TERM_PROFILE_LANGUAGE_NOTIFICATION /* bit 6 */ |
|
139 | TERM_PROFILE_LAUNCH_BROWSER /* bit 7 */ |
|
140 | TERM_PROFILE_PROVIDE_LOCAL_INFO_ACCESS_TECHNOLOGY /* bit 8 */ |
|
141 ) ); |
|
142 |
|
143 /* Tenth profile byte Soft keys support */ |
|
144 const TUint8 TP10 ( (TUint8) (0x00 |
|
145 | TERM_PROFILE_SELECT_ITEM_SOFT_KEYS /* bit 1 */ |
|
146 | TERM_PROFILE_SETUP_MENU_SOFT_KEYS /* bit 2 */ |
|
147 /* bit 3-8 RFU */ |
|
148 ) ); |
|
149 |
|
150 /* Eleventh profile byte Soft keys information */ |
|
151 const TUint8 TP11 ( (TUint8) (0x00 |
|
152 | TERM_PROFILE_MAX_NO_SOFT_KEYS /* bit 1-8 */ |
|
153 ) ); |
|
154 |
|
155 /* Twelfth profile byte Bearer independent protocol proactive cmds */ |
|
156 const TUint8 TP12 ( (TUint8) (0x00 |
|
157 | TERM_PROFILE_OPEN_CHANNEL /* bit 1 */ |
|
158 | TERM_PROFILE_CLOSE_CHANNEL /* bit 2 */ |
|
159 | TERM_PROFILE_RECEIVE_DATA /* bit 3 */ |
|
160 | TERM_PROFILE_SEND_DATA /* bit 4 */ |
|
161 | TERM_PROFILE_GET_CHANNEL_STATUS /* bit 5 */ |
|
162 | TERM_PROFILE_SERVICE_SEARCH /* bit 6 */ |
|
163 | TERM_PROFILE_GET_SERVICE_INFORMAION /* bit 7 */ |
|
164 | TERM_PROFILE_DECLARE_SERVICE /* bit 8 */ |
|
165 ) ); |
|
166 |
|
167 /* Thirteenth profile byte Bearer independent protocol supported bearers */ |
|
168 const TUint8 TP13 ( (TUint8) (0x00 |
|
169 | TERM_PROFILE_CSD_SUPPORT /* bit 1 */ |
|
170 | TERM_PROFILE_GPRS_SUPPORT /* bit 2 */ |
|
171 | TERM_PROFILE_BLUETOOTH_SUPPORT /* bit 3 */ |
|
172 | TERM_PROFILE_IRDA_SUPPORT /* bit 4 */ |
|
173 | TERM_PROFILE_RS232_SUPPORT /* bit 5 */ |
|
174 | (TERM_PROFILE_NO_CHANNELS << 5) /* bit 6-8 */ |
|
175 ) ); |
|
176 |
|
177 /* Fourteenth profile byte Screen height */ |
|
178 const TUint8 TP14 ( (TUint8) (0x00 |
|
179 | TERM_PROFILE_NO_CHARS_DOWN /* bit 1-5*/ |
|
180 /* bit 6-7 rfu */ |
|
181 | TERM_PROFILE_SCREEN_SIZE_PARAM /* bit 8 */ |
|
182 ) ); |
|
183 |
|
184 /* Fifteenth profile byte Screen width */ |
|
185 const TUint8 TP15 ( (TUint8) (0x00 |
|
186 | TERM_PROFILE_NO_CHARS_ACROSS /* bit 1-7 */ |
|
187 | TERM_PROFILE_VAR_SIZE_FONTS /* bit 8 */ |
|
188 ) ); |
|
189 |
|
190 /* Sixteenth profile byte Screen effects */ |
|
191 const TUint8 TP16 ( (TUint8) (0x00 |
|
192 | TERM_PROFILE_DISPLAY_RESIZE /* bit 1 */ |
|
193 | TERM_PROFILE_TEXT_WRAPPING /* bit 2 */ |
|
194 | TERM_PROFILE_TEXT_SCROLLING /* bit 3 */ |
|
195 /* bit 4-5 rfu */ |
|
196 | (TERM_PROFILE_WIDTH_REDUCTION_IN_MENU << 5) /* bit 6-8 */ |
|
197 ) ); |
|
198 |
|
199 /* Seventeenth profile byte Bearer independent protocol supported transport interface */ |
|
200 const TUint8 TP17 ( (TUint8) (0x00 |
|
201 | TERM_PROFILE_TCP /* bit 1 */ |
|
202 | TERM_PROFILE_UDP /* bit 2 */ |
|
203 /* bit 3-8 RFU */ |
|
204 ) ); |
|
205 |
|
206 /* Eighteenth profile byte for ICC and RUIM */ |
|
207 const TUint8 TP18 ( (TUint8) (0x00 |
|
208 | TERM_PROFILE_DISPLAY_TXT_TIMEOUT /* bit 1 */ |
|
209 | TERM_PROFILE_GET_INKEY_TIMEOUT_HELP /* bit 2 */ |
|
210 | TERM_PROFILE_USB_SUPPORT /* bit 3 */ |
|
211 | TERM_PROFILE_GET_INKEY_TIMEOUT /* bit 4 */ |
|
212 /* bit 5-8 RFU */ |
|
213 ) ); |
|
214 |
|
215 /* Eighteenth profile byte for USIM */ |
|
216 const TUint8 TP18_USIM ( (TUint8) (0x00 |
|
217 | TERM_PROFILE_DISPLAY_TXT_TIMEOUT /* bit 1 */ |
|
218 | TERM_PROFILE_GET_INKEY_TIMEOUT_HELP /* bit 2 */ |
|
219 | TERM_PROFILE_USB_SUPPORT /* bit 3 */ |
|
220 | TERM_PROFILE_GET_INKEY_TIMEOUT /* bit 4 */ |
|
221 /* bit 5 RFU*/ |
|
222 | TERM_PROFILE_CALL_CONTROL_ON_GPRS /* bit 6 */ |
|
223 | TERM_PROFILE_PROVIDE_LOCAL_INFO_IMEISV /* bit 7 */ |
|
224 | TERM_PROFILE_PROVIDE_LOCAL_INFO_SEARCH_MODE_CHANGE/* bit 8 */ |
|
225 ) ); |
|
226 |
|
227 /* Nineteenth profile byte reserved for TIA/EIA-136 */ |
|
228 const TUint8 TP19 ( (TUint8) (0x00 |
|
229 | TERM_PROFILE_PROTOCOL_VERSION /* bit 1-4 */ |
|
230 /* bit 5-8 RFU */ |
|
231 ) ); |
|
232 |
|
233 /* Twentieth profile byte for ICC and USIM */ |
|
234 const TUint8 TP20 ( (TUint8) (0x00 |
|
235 /* bit 1-8 RFU */ |
|
236 ) ); |
|
237 |
|
238 /* Twenty one profile byte for USIM */ |
|
239 const TUint8 TP21 ( (TUint8) (0x00 |
|
240 | TERM_PROFILE_WML /* bit 1 */ |
|
241 | TERM_PROFILE_XHTML /* bit 2 */ |
|
242 | TERM_PROFILE_HTML /* bit 3 */ |
|
243 | TERM_PROFILE_CHTML /* bit 4 */ |
|
244 /* bit 5-8 RFU */ |
|
245 ) ); |
|
246 |
|
247 /* Twenty second profile byte for USIM */ |
|
248 const TUint8 TP22 ( (TUint8) (0x00 |
|
249 | TERM_PROFILE_UTRAN_PS_EXTENDED /* bit 1 */ |
|
250 | TERM_PROFILE_PROVIDE_LOCAL_INFO_BATTERY_STATE /* bit 2 */ |
|
251 | TERM_PROFILE_PLAY_TONE_MELODY_TONES /* bit 3 */ |
|
252 | TERM_PROFILE_SETUP_CALL_MULITI_MEDIA /* bit 4 */ |
|
253 | TERM_PROFILE_TOOLKIT_GBA /* bit 5 */ |
|
254 | TERM_PROFILE_MULTI_MEDIA_MESSAGE /* bit 6 */ |
|
255 | TERM_PROFILE_SUBMIT_MULTI_MEDIA_MESSAGE /* bit 7 */ |
|
256 | TERM_PROFILE_DISPLAY_MULTI_MEDIA_MESSAGE /* bit 8 */ |
|
257 ) ); |
|
258 |
|
259 /* Twenty third profile byte for USIM */ |
|
260 const TUint8 TP23 ( (TUint8) (0x00 |
|
261 | TERM_PROFILE_SET_FRAMES /* bit 1 */ |
|
262 | TERM_PROFILE_GET_FRAMES_STATUS /* bit 2 */ |
|
263 | TERM_PROFILE_MMS_NOTIFICATION_DOWNLOAD /* bit 3 */ |
|
264 /* bit 4-5 RFU */ |
|
265 | TERM_PROFILE_PROVIDE_LOCAL_INFO_MEID /* bit 6 */ |
|
266 | TERM_PROFILE_PROVIDE_LOCAL_INFO_UTRAN_NMR /* bit 7 */ |
|
267 | TERM_PROFILE_USSD_DOWNLOAD /* bit 8 */ |
|
268 ) ); |
|
269 |
|
270 const TUint8 KTerminalProfileIcc[19] = |
|
271 { |
|
272 TP1, TP2, TP3, TP4, TP5, TP6, TP7, |
|
273 TP8, TP9, TP10, TP11, TP12, TP13, |
|
274 TP14, TP15, TP16, TP17, TP18, TP19 |
|
275 }; |
|
276 |
|
277 const TUint8 KTerminalProfileUicc[23] = |
|
278 { |
|
279 TP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, |
|
280 TP9, TP10, TP11, TP12, TP13, TP14, TP15, TP16, |
|
281 TP17, TP18_USIM, TP19, TP20, TP21, TP22, TP23 |
|
282 }; |
|
283 |
|
284 #endif // TERMINALPROFILE_H |
|
285 |
|
286 // End of File |