comparison chipsetsw/drivers/drv_app/ffs/board/pcmdata.c @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /*
2 +-------------------------------------------------------------------+
3 | PROJECT: GSM-PS $Workfile:: pcmdata.c $|
4 | $Author: mmj $Revision: 1.1.1.2 $|
5 | CREATED: 26.11.1998 $Modtime:: 23.03.00 16:23 $|
6 +-------------------------------------------------------------------+
7
8 MODULE : PCM
9
10 PURPOSE : This Modul defines the data & values for the permanent
11 memory configuration driver.
12 */
13
14
15 /*==== INCLUDES ===================================================*/
16
17 #define __STANDARD_H__ /* Avoid to define UBYTE, UINT16 and UINT32. */
18
19 #define NEQ !=
20
21 #ifndef TARGET
22 #include "ffs.cfg"
23 #endif
24
25 #if (TARGET == 1)
26 #include "rv/general.h"
27 #include "swconfig.cfg"
28 #include "sys.cfg"
29 #endif
30
31 #include "ffs/pcm.h"
32
33
34 /*==== VARIABLES ==================================================*/
35 /*
36 * RAM for the copy of PCM data
37 */
38
39 UBYTE pcm_mem [PCM_SIZE];
40
41 UBYTE std;
42 // set treshold for initial power measurements (= -106 dBm)
43 USHORT min_rxlev = 20;
44
45
46 #define START_MSCAP 0
47 #define START_IMEI START_MSCAP + LEN_MSCAP
48 #define START_IMSI START_IMEI + LEN_IMEI
49 #define START_SMS START_IMSI + LEN_IMSI
50 #define START_CLASS2 START_SMS + LEN_SMS
51 #define START_CLASS3 START_CLASS2 + LEN_CLASS2
52 #define START_MSSUP START_CLASS3 + LEN_CLASS3
53 #define START_CLNG START_MSSUP + LEN_MSSUP
54 #define START_MSSET START_CLNG + LEN_CLNG
55 #define START_HZCACHE START_MSSET + LEN_MSSET
56 #define START_LDN START_HZCACHE + LEN_HZCACHE
57 #define START_LRN START_LDN + LEN_LDN
58 #define START_LMN START_LRN + LEN_LRN
59 #define START_UPN START_LMN + LEN_LMN
60 #define START_MBN START_UPN + LEN_UPN
61 #define START_VMN START_MBN + LEN_MBN
62 #define START_CTIM START_VMN + LEN_VMN
63 #define START_CCNT START_CTIM + LEN_CTIM
64 #define START_ECC START_CCNT + LEN_CCNT
65 #define START_ORG START_ECC + LEN_ECC
66 #define START_CCP START_ORG + LEN_ORG
67 #define START_EXT1 START_CCP + LEN_CCP
68 #define START_SIMLCK START_EXT1 + LEN_EXT1
69 #define START_MAIN START_SIMLCK + LEN_SIMLCK
70 #define START_SFK START_MAIN + LEN_MAIN
71 #define START_FAULT START_SFK + LEN_SFK
72 #define START_DEBUG START_FAULT + LEN_FAULT
73 #define START_POWER START_DEBUG + LEN_DEBUG
74 #define START_KEYB START_POWER + LEN_POWER
75 #define START_RADIO START_KEYB + LEN_KEYB
76 #define START_CGMI START_RADIO + LEN_RADIO
77 #define START_INF0 START_CGMI + LEN_CGMI
78 #define START_CGMM START_INF0 + LEN_INF0
79 #define START_CGMR START_CGMM + LEN_CGMM
80 #define START_CGSN START_CGMR + LEN_CGMR
81 #define START_SMSPRFL START_CGSN + LEN_CGSN
82 #define START_PLMN START_SMSPRFL + LEN_SMSPRFL
83 #define START_BCCHINFO START_PLMN + LEN_PLMN
84 #define START_ALS START_BCCHINFO + LEN_BCCHINFO
85 #define START_LOCGPRS START_ALS + LEN_ALS
86 #define START_KCGPRS START_LOCGPRS + LEN_LOCGPRS
87 #define START_IMSIGPRS START_KCGPRS + LEN_KCGPRS
88
89
90 const T_PCM_DESCRIPTION pcm_table[] =
91 {
92 {"/pcm/" "MSCAP" , START_MSCAP , SIZE_EF_MSCAP + 2, NR_EF_MSCAP },
93 {"/pcm/" "IMEI" , START_IMEI , SIZE_EF_IMEI + 2, NR_EF_IMEI },
94 {"/pcm/" "IMSI" , START_IMSI , SIZE_EF_IMSI + 2, NR_EF_IMSI },
95 {"/pcm/" "SMS " , START_SMS , SIZE_EF_SMS + 2, NR_EF_SMS },
96 {"/pcm/" "CLASS2" , START_CLASS2 , SIZE_EF_CLASS2 + 2, NR_EF_CLASS2 },
97 {"/pcm/" "CLASS3" , START_CLASS3 , SIZE_EF_CLASS3 + 2, NR_EF_CLASS3 },
98 {"/pcm/" "MSSUP" , START_MSSUP , SIZE_EF_MSSUP + 2, NR_EF_MSSUP },
99 {"/pcm/" "CLNG" , START_CLNG , SIZE_EF_CLNG + 2, NR_EF_CLNG },
100 {"/pcm/" "MSSET" , START_MSSET , SIZE_EF_MSSET + 2, NR_EF_MSSET },
101 {"/pcm/" "HZCACHE" , START_HZCACHE , SIZE_EF_HZCACHE + 2, NR_EF_HZCACHE },
102 {"/pcm/" "LDN" , START_LDN , SIZE_EF_LDN + 2, NR_EF_LDN },
103 {"/pcm/" "LRN" , START_LRN , SIZE_EF_LRN + 2, NR_EF_LRN },
104 {"/pcm/" "LMN" , START_LMN , SIZE_EF_LMN + 2, NR_EF_LMN },
105 {"/pcm/" "UPN" , START_UPN , SIZE_EF_UPN + 2, NR_EF_UPN },
106 {"/pcm/" "MBN" , START_MBN , SIZE_EF_MBN + 2, NR_EF_MBN },
107 {"/pcm/" "VMN" , START_VMN , SIZE_EF_VMN + 2, NR_EF_VMN },
108 {"/pcm/" "CTIM" , START_CTIM , SIZE_EF_CTIM + 2, NR_EF_CTIM },
109 {"/pcm/" "CCNT" , START_CCNT , SIZE_EF_CCNT + 2, NR_EF_CCNT },
110 {"/pcm/" "ECC" , START_ECC , SIZE_EF_ECC + 2, NR_EF_ECC },
111 {"/pcm/" "ORG" , START_ORG , SIZE_EF_ORG + 2, NR_EF_ORG },
112 {"/pcm/" "CCP" , START_CCP , SIZE_EF_CCP + 2, NR_EF_CCP },
113 {"/pcm/" "EXT1" , START_EXT1 , SIZE_EF_EXT1 + 2, NR_EF_EXT1 },
114 {"/pcm/" "SIMLCK" , START_SIMLCK , SIZE_EF_SIMLCK + 2, NR_EF_SIMLCK },
115 {"/pcm/" "MAIN" , START_MAIN , SIZE_EF_MAIN + 2, NR_EF_MAIN },
116 {"/pcm/" "SFK" , START_SFK , SIZE_EF_SFK + 2, NR_EF_SFK },
117 {"/pcm/" "FAULT" , START_FAULT , SIZE_EF_FAULT + 2, NR_EF_FAULT },
118 {"/pcm/" "DEBUG" , START_DEBUG , SIZE_EF_DEBUG + 2, NR_EF_DEBUG },
119 {"/pcm/" "POWER" , START_POWER , SIZE_EF_POWER + 2, NR_EF_POWER },
120 {"/pcm/" "KEYB" , START_KEYB , SIZE_EF_KEYB + 2, NR_EF_KEYB },
121 {"/pcm/" "RADIO" , START_RADIO , SIZE_EF_RADIO + 2, NR_EF_RADIO },
122 {"/pcm/" "CGMI" , START_CGMI , SIZE_EF_CGMI + 2, NR_EF_CGMI },
123 {"/pcm/" "INF0" , START_INF0 , SIZE_EF_INF0 + 2, NR_EF_INF0 },
124 {"/pcm/" "CGMM" , START_CGMM , SIZE_EF_CGMM + 2, NR_EF_CGMM },
125 {"/pcm/" "CGMR" , START_CGMR , SIZE_EF_CGMR + 2, NR_EF_CGMR },
126 {"/pcm/" "CGSN" , START_CGSN , SIZE_EF_CGSN + 2, NR_EF_CGSN },
127 {"/pcm/" "SMSPRFL" , START_SMSPRFL , SIZE_EF_SMSPRFL + 2, NR_EF_SMSPRFL },
128 {"/pcm/" "PLMN" , START_PLMN , SIZE_EF_PLMN + 2, NR_EF_PLMN },
129 {"/pcm/" "BCCHINF" , START_BCCHINFO, SIZE_EF_BCCHINFO + 2, NR_EF_BCCHINFO },
130 {"/pcm/" "ALS" , START_ALS , SIZE_EF_ALS + 2, NR_EF_ALS },
131 {"/pcm/" "LOCGPRS" , START_LOCGPRS , SIZE_EF_LOCGPRS + 2, NR_EF_LOCGPRS },
132 {"/pcm/" "KCGPRS" , START_KCGPRS , SIZE_EF_KCGPRS + 2, NR_EF_KCGPRS },
133 {"/pcm/" "IMSIGPRS", START_IMSIGPRS, SIZE_EF_IMSIGPRS + 2, NR_EF_IMSIGPRS },
134 {0 , 0 , 0 , 0 }
135 };
136
137
138 const UBYTE pcm_default_values[] =
139 {
140 /********************************************************************
141 * Field MOBILE CAPABILITIES - MSCAP
142 ********************************************************************/
143 #if ((DSP == 34) || (DSP == 35) || (DSP == 36)) // ROM Codes including AMR feature.
144 #if (STD == 1) // GSM 900
145 #if defined (FAX_AND_DATA)
146 0xB1, 0xC7, 0x00,
147 #else
148 0x31, 0x00, 0x00,
149 #endif
150 #elif ((STD == 3) || (STD == 4)) // DCS 1800 or PCS 1900
151 #if defined (FAX_AND_DATA)
152 0xB7, 0xC7, 0x00,
153 #else
154 #if defined (TM_SPECIAL)
155 0x31, 0x00, 0x00,
156 #else
157 0x37, 0x00, 0x00,
158 #endif
159 #endif
160 #elif (STD == 5) // Dualband GSM 900 / DCS 1800
161 #if defined (FAX_AND_DATA)
162 0xB7, 0xC7, 0x00,
163 #else
164 0x37, 0x00, 0x00,
165 #endif
166 #elif (STD == 6) // Dualband GSM 900 / E-GSM / DCS 1800
167 #if defined (FAX_AND_DATA)
168 0xB7, 0xC7, 0x00,
169 #else
170 0x37, 0x00, 0x00,
171 #endif
172 #endif // STD = 1, 3, 4, 5 or 6
173 #else // DSP = 16, 17, 30, 31, 32 or 33
174 #if (STD == 1) // GSM 900
175 #if defined (FAX_AND_DATA)
176 #if (OP_WCP == 1)
177 0x85, 0xC7, 0x00,
178 #else
179 0x81, 0xC7, 0x00,
180 #endif
181 #else
182 0x01, 0x00, 0x00,
183 #endif
184 #elif ((STD == 3) || (STD == 4)) // DCS 1800 or PCS 1900
185 #if defined (FAX_AND_DATA)
186 #if (OP_WCP == 1)
187 0x85, 0xC7, 0x00,
188 #else
189 0x87, 0xC7, 0x00,
190 #endif
191 #else
192 #if defined (TM_SPECIAL)
193 0x01, 0x00, 0x00,
194 #else
195 0x07, 0x00, 0x00,
196 #endif
197 #endif
198 #elif (STD == 5) // Dualband GSM 900 / DCS 1800
199 #if defined (FAX_AND_DATA)
200 #if (OP_WCP == 1)
201 0x85, 0xC7, 0x00,
202 #else
203 0x87, 0xC7, 0x00,
204 #endif
205 #else
206 0x07, 0x00, 0x00,
207 #endif
208 #elif (STD == 6) // Dualband GSM 900 / E-GSM / DCS 1800
209 #if defined (FAX_AND_DATA)
210 #if (OP_WCP == 1)
211 0x85, 0xC7, 0x00,
212 #else
213 0x87, 0xC7, 0x00,
214 #endif
215 #else
216 0x07, 0x00, 0x00,
217 #endif
218 #endif // STD = 1, 3, 4, 5 or 6
219 #endif // DSP
220 0x00, 0x00, 0x00,
221
222 /********************************************************************
223 * Field INTERNATIONAL MOBILE EQUIPMENT ID - IMEI
224 ********************************************************************/
225 0x44, 0x06, 0x91, 0x91, 0x57, 0x70, 0x95, 0x00,
226
227 /********************************************************************
228 * Field INTERNATIONAL MOBILE SUBSCRIBER ID - IMSI
229 ********************************************************************/
230 0x0F,
231 0x44, 0x06, 0x91, 0x91, 0x57, 0x70, 0x95, 0xF0,
232
233 /********************************************************************
234 * Field SHORT MESSAGE SERVICE - SMS
235 ********************************************************************/
236 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
237 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F,
238 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
239 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
240 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
241 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
242 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
243 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
244 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
245 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
246 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
247 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
248 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
249 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
250 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
251 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
252 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
253 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
254 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
255 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
256 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
257 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F,
258
259 /********************************************************************
260 * Field MOBILE STATION CLASSMARK 2 & 3 - CLASS2 & CLASS3
261 ********************************************************************/
262 #if (STD == 1) // GSM 900
263 0x33, 0x18, 0x01,
264 0x00, 0x00, 0x10,
265 #elif ((STD == 3) || (STD == 4)) // DCS 1800 or PCS 1900
266 0x30, 0x18, 0x01,
267 0x00, 0x00, 0x10,
268 #elif (STD == 5) // Dualband GSM 900 / DCS 1800
269 0x30, 0x18, 0x81,
270 0x50, 0x14, 0x10,
271 #elif (STD == 6) // Dualband GSM 900 / E-GSM / DCS 1800
272 0x30, 0x19, 0x81,
273 0x60, 0x14, 0x10,
274 #endif // STD =1, 3, 4, 5 or 6
275
276 /********************************************************************
277 * Field MOBILE SETUP - MSSUP
278 ********************************************************************/
279 0xB7, 0x46, 0x47, 0x1F, 0x00,
280
281 /********************************************************************
282 * Field CURRENT LANGUAGE - CLNG
283 ********************************************************************/
284 'a', 'u',
285
286 /********************************************************************
287 * Field MOBILE STATION SETTTINGS - MSSET
288 ********************************************************************/
289 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
290 0x38, 0x39,
291
292 /********************************************************************
293 * Field HOMEZONE CACHE record 1 - HZCACHE
294 ********************************************************************/
295 0xFF, 0xFF, 0xFF,
296
297 /********************************************************************
298 * Field HOMEZONE CACHE record 2 - HZCACHE
299 ********************************************************************/
300 0xFF, 0xFF, 0xFF,
301
302 /********************************************************************
303 * Field HOMEZONE CACHE record 3 - HZCACHE
304 ********************************************************************/
305 0xFF, 0xFF, 0xFF,
306
307 /********************************************************************
308 * Field HOMEZONE CACHE record 4 - HZCACHE
309 ********************************************************************/
310 0xFF, 0xFF, 0xFF,
311
312 /********************************************************************
313 * Field HOMEZONE CACHE record 5 - HZCACHE
314 ********************************************************************/
315 0xFF, 0xFF, 0xFF,
316
317 /********************************************************************
318 * Field LAST MOC NUMBERS - LDN
319 ********************************************************************/
320 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
321 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F,
322 0x4F, 0x4F, 0x4F, 0x4F, 0x00, 0x00,
323
324 /********************************************************************
325 * Field LAST MTC NUMBERS - LRN
326 ********************************************************************/
327 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
328 0x58, 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F,
329 0x5F, 0x5F, 0x5F, 0x5F, 0x5F, 0x00, 0x00,
330
331 /********************************************************************
332 * Field LAST MTC MISSED NUMBERS - LMN
333 ********************************************************************/
334 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
335 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F,
336 0x4F, 0x4F, 0x4F, 0x4F, 0x00,
337
338 /********************************************************************
339 * Field USER PERSONAL NUMBERS - UPN
340 ********************************************************************/
341 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
342 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F,
343 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F,
344
345 /********************************************************************
346 * Field MAILBOX NUMBERS - MBN
347 ********************************************************************/
348 // Record 1
349 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
350 0xFF, 0xFF,
351 0x00, 0xFF,
352 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
353 0xFF, 0xFF,
354
355 // Record 2
356 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
357 0xFF, 0xFF,
358 0x00, 0xFF,
359 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
360 0xFF, 0xFF,
361
362 // Record 3
363 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
364 0xFF, 0xFF,
365 0x00, 0xFF,
366 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
367 0xFF, 0xFF,
368
369 // Record 4
370 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
371 0xFF, 0xFF,
372 0x00, 0xFF,
373 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
374 0xFF, 0xFF,
375
376 /********************************************************************
377 * Field VOICE MAIL NUMBER - VMN
378 ********************************************************************/
379 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
380 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
381 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
382 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
383 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
384 0xFF, 0x81,
385
386 /********************************************************************
387 * Field CALL TIMER - CTIM
388 ********************************************************************/
389 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
390 0x78, 0x79, 0x7A, 0x7B, 0x7C, 0x7D, 0x7E, 0x7F,
391 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
392 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
393 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
394 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
395
396 /********************************************************************
397 * Field CALL COUNTER - CCNT
398 ********************************************************************/
399 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
400 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F,
401 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F,
402 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F,
403 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F,
404 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F,
405 0x8F, 0x8F, 0x8F, 0x8F,
406
407 /********************************************************************
408 * Field EMERGENCY CALL CODES - ECC
409 ********************************************************************/
410 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
411 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
412
413 /********************************************************************
414 * Field ORGANIZER AND ALARM - ORG
415 ********************************************************************/
416 0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7,
417 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF,
418 0xAF, 0xAF, 0xAF, 0xAF, 0xAF, 0x00, 0x00,
419
420 /********************************************************************
421 * Field CAPABILITY AND CONFIGURATION PARAMETERS - CCP
422 ********************************************************************/
423 0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6,
424
425 /********************************************************************
426 * Field EXTENSION 1 - EXT1
427 ********************************************************************/
428 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7,
429 0xC8, 0xC9, 0xCA, 0xCB, 0xCC,
430
431 /********************************************************************
432 * Field SIM LOCK - SIMLCK
433 ********************************************************************/
434 0x00, 0x00, 0xD2, 0xD3,
435 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,
436 0x21, 0x43, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
437 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
438 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
439 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
440 0x0F,
441 0x22, 0x24, 0x24, 0x24, 0x44, 0x15, 0x12, 0x45,
442 0x22, 0x22, 0x22, 0x22, 0x44, 0x15, 0x66,
443 0xFF, 0xFF,
444
445 /********************************************************************
446 * Field MAINTENANCE INFORMATION - MAIN
447 ********************************************************************/
448 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7,
449
450 /********************************************************************
451 * Field SPECIAL FUNCTION KEY - SFK
452 ********************************************************************/
453 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF,
454
455 /********************************************************************
456 * Field FAULT CONDITIONS - FAULT
457 ********************************************************************/
458 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7,
459
460 /********************************************************************
461 * Field DEBUG INFORMATION - DEBUG
462 ********************************************************************/
463 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF,
464
465 /********************************************************************
466 * Field POWER MANAGEMENT - POWER
467 ********************************************************************/
468 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
469
470 /********************************************************************
471 * Field KEYBOARD MAPPING - KEYB
472 ********************************************************************/
473 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
474 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
475 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
476 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
477 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
478 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
479 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
480 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
481
482 /********************************************************************
483 * Field RADIO PARAMETERS - RADIO
484 ********************************************************************/
485 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
486
487 /********************************************************************
488 * Field MANUFACTURER - CGMI
489 ********************************************************************/
490 #if (OP_WCP == 1)
491 'T', 'e', 'x', 'a', 's', ' ', 'I', 'n',
492 's', 't', 'r', 'u', 'm', 'e', 'n', 't',
493 's', 0xFF, 0xFF, 0xFF,
494 #else
495 '<', 'm', 'a', 'n', 'u', 'f', 'a', 'c',
496 't', 'u', 'r', 'e', 'r', '>', 0xFF, 0xFF,
497 0xFF, 0xFF, 0xFF, 0xFF,
498 #endif
499 /********************************************************************
500 * Field IDENTIFICATION INFORMATION - INF0
501 ********************************************************************/
502 // Record 1
503 '<', 'm', 'a', 'n', 'u', 'f', 'a', 'c',
504 't', 'u', 'r', 'e', 'r', '1', '>', 0xFF,
505 0xFF, 0xFF, 0xFF, 0xFF,
506
507 // Record 2
508 '<', 'm', 'a', 'n', 'u', 'f', 'a', 'c',
509 't', 'u', 'r', 'e', 'r', '2', '>', 0xFF,
510 0xFF, 0xFF, 0xFF, 0xFF,
511
512 /********************************************************************
513 * Field MODEL - CGMM
514 ********************************************************************/
515 #if (OP_WCP == 1)
516 'O', 'M', 'A', 'P', '7', '1', '0', 0xFF,
517 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
518 0xFF, 0xFF, 0xFF, 0xFF,
519 #else
520 '<', 'm', 'o', 'd', 'e', 'l', '>', 0xFF,
521 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
522 0xFF, 0xFF, 0xFF, 0xFF,
523 #endif
524
525 /********************************************************************
526 * Field REVISION - CGMR
527 ********************************************************************/
528 #if (OP_WCP == 1)
529 '1', '4', '0', '.', '5', '4', '2', '.',
530 '8', '2', '7', 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
531 0xFF, 0xFF, 0xFF, 0xFF,
532 #else
533 '<', 'r', 'e', 'v', 'i', 's', 'i', 'o',
534 'n', '>', 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
535 0xFF, 0xFF, 0xFF, 0xFF,
536 #endif
537 /********************************************************************
538 * Field PRODUCT SERIAL NUMBER - CGSN
539 ********************************************************************/
540 '<', 's', 'e', 'r', 'i', 'a', 'l', ' ',
541 'n', 'u', 'm', 'b', 'e', 'r', '>', 0xFF,
542 0xFF, 0xFF, 0xFF, 0xFF,
543
544 /********************************************************************
545 * Field SMS PROFILE - SMSPRFL
546 ********************************************************************/
547 // Record 1
548 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
549 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
550 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
551 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
552 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
553 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
554 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
555 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
556 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
557 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
558 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
559 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
560 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
561
562 // Record 2
563 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
564 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
565 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
566 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
567 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
568 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
569 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
570 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
571 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
572 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
573 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
574 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
575 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
576
577 /********************************************************************
578 * Field PLMN IDENTIFIER - PLMN
579 ********************************************************************/
580 // Record 1
581 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00,
582 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
583 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
584 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
585 0x00, 0x00,
586
587 // Record 2
588 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00,
589 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
590 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
591 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
592 0x00, 0x00,
593
594 /********************************************************************
595 * Field BCCH INFORMATION - BCCHINF
596 ********************************************************************/
597 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
598 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
599 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
600 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
601 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
602 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
603 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
604
605 /********************************************************************
606 * Field ALTERNATIVE LINE SERVICE - ALS
607 ********************************************************************/
608 0x00, 0x00,
609
610 /********************************************************************
611 * Field LOCATION INFORMATION (GPRS) - LOCGPRS
612 ********************************************************************/
613 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
614 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF,
615
616 /********************************************************************
617 * Field CIPHERING KEY (GPRS) - KEYGPRS
618 ********************************************************************/
619 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
620 0x07,
621
622 /********************************************************************
623 * Field IMSI (GPRS) - IMSIGPRS
624 ********************************************************************/
625 0x00,
626 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
627
628 };
629
630