FreeCalypso > hg > tcs211-fcmodem
comparison g23m/condat/com/include/pcm2.h @ 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-MFW | |
4 | Modul : | |
5 +----------------------------------------------------------------------------- | |
6 | Copyright 2002 Texas Instruments Berlin, AG | |
7 | All rights reserved. | |
8 | | |
9 | This file is confidential and a trade secret of Texas | |
10 | Instruments Berlin, AG | |
11 | The receipt of or possession of this file does not convey | |
12 | any rights to reproduce or disclose its contents or to | |
13 | manufacture, use, or sell anything it may describe, in | |
14 | whole, or in part, without the specific written consent of | |
15 | Texas Instruments Berlin, AG. | |
16 +----------------------------------------------------------------------------- | |
17 | Purpose : Types definitions for the permanent memory configuration | |
18 | THIS PCM2.H IS A EXTENSION OF THE PCM.H | |
19 | . | |
20 +----------------------------------------------------------------------------- | |
21 */ | |
22 | |
23 #ifndef DEF_PCM2 | |
24 #define DEF_PCM2 | |
25 | |
26 #define PCM_SIZE 1111 | |
27 | |
28 /******************************************************************** | |
29 * | |
30 * Parameters written in flash memory | |
31 * | |
32 ********************************************************************/ | |
33 | |
34 | |
35 /******************************************************************** | |
36 * | |
37 * Field Identitifer | |
38 * | |
39 ********************************************************************/ | |
40 | |
41 #define EF_set2_ID "SET2" /* User profiles */ | |
42 #define EF_ctim2_ID "CTIM2" /* timer calls */ | |
43 #define EF_sfk2_ID "SFK2" /* Program.key information */ | |
44 #define EF_plmn2_ID "PLMN2" /* Last selec. manual PLMN identifier */ | |
45 #define EF_mid_ID "MID" /* Cell Broadcast MID attributes */ | |
46 #define EF_t9_ID "T9" /* T9 */ | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 /******************************************************************** | |
53 * | |
54 * Field USER PROFILES | |
55 * | |
56 ********************************************************************/ | |
57 | |
58 typedef struct EFset2 /* USER PROFILES */ | |
59 { | |
60 UBYTE buzzExt1; /* buzzer */ | |
61 UBYTE buzzExt2; /* buzzer */ | |
62 UBYTE buzzExt3; /* buzzer */ | |
63 UBYTE buzzExt4; /* buzzer */ | |
64 UBYTE buzzExt5; /* buzzer */ | |
65 UBYTE buzzExt6; /* buzzer */ | |
66 UBYTE buzzExt7; /* buzzer */ | |
67 UBYTE audioExt1; /* audio */ | |
68 UBYTE audioExt2; /* audio */ | |
69 UBYTE iconExt1; /* icon */ | |
70 UBYTE iconExt2; /* icon */ | |
71 UBYTE langExt; /* language of SMS */ | |
72 } EF_SET2; | |
73 | |
74 #define SIZE_EF_SET2 12 | |
75 #define NR_EF_SET2 1 | |
76 | |
77 /* | |
78 * BuzzerExt1 | |
79 */ | |
80 #define callvol 0x0000000F,0 /* ringer volume for incoming calls*/ | |
81 #define callvolm 0x0000000F | |
82 #define callvols 0 | |
83 #define msgvol 0x000000F0,4 /* ringer volume for incoming messages */ | |
84 #define msgvolm 0x000000F0 | |
85 #define msgvols 4 | |
86 | |
87 /* | |
88 * BuzzerExt2 | |
89 */ | |
90 #define broavol 0x0000000F,0 /* ringer volume for incoming broadcast messages*/ | |
91 #define broavolm 0x0000000F | |
92 #define broavols 0 | |
93 | |
94 /* | |
95 * BuzzerExt3 | |
96 */ | |
97 #define calltyp 0x000000FF,0 /* ringer type for incoming calls */ | |
98 #define calltypm 0x000000FF | |
99 #define calltyps 0 | |
100 | |
101 /* | |
102 * BuzzerExt4 | |
103 */ | |
104 #define msgtyp 0x000000FF,0 /* ringer type for incoming messages*/ | |
105 #define msgtypm 0x000000FF | |
106 #define msgtyps 0 | |
107 | |
108 /* | |
109 * BuzzerExt5 | |
110 */ | |
111 #define broatyp 0x000000FF,0 /* ringer for incoming broadcast messages*/ | |
112 #define broatypm 0x000000FF | |
113 #define broatyps 0 | |
114 | |
115 /* | |
116 * BuzzerExt6 | |
117 */ | |
118 #define batw 0x00000001,0 /* low battery warning */ | |
119 #define batwm 0x00000001 | |
120 #define batws 0 | |
121 | |
122 /* | |
123 * AudioExt1 | |
124 */ | |
125 #define EarVolHn 0x00000007,0 /* Earpiece Volume Handsfree Kit */ | |
126 #define EarVolHnm 0x00000007 | |
127 #define EarVolHns 0 | |
128 | |
129 /* | |
130 * IconExt2 | |
131 */ | |
132 #define sms 0x00000001,0 /* SMS message */ | |
133 #define smsm 0x00000001 | |
134 #define smss 0 | |
135 #define vmai 0x00000002,1 /* Voice mail */ | |
136 #define vmaim 0x00000002 | |
137 #define vmais 1 | |
138 #define cfu 0x00000004,2 /* call forwarding unconditional */ | |
139 #define cfum 0x00000004 | |
140 #define cfus 2 | |
141 #define silent 0x00000008,3 /* silent ringer */ | |
142 #define silentm 0x00000008 | |
143 #define silents 3 | |
144 #define ring 0x00000010,4 /* ringer */ | |
145 #define ringm 0x00000010 | |
146 #define rings 4 | |
147 #define vib 0x00000020,5 /* vibrator */ | |
148 #define vibm 0x00000020 | |
149 #define vibs 5 | |
150 #define rinvi 0x00000040,6 /* ringer and vibrator */ | |
151 #define rinvim 0x00000040 | |
152 #define rinvis 6 | |
153 #define keyp 0x00000080,7 /* keypad lock */ | |
154 #define keypm 0x00000080 | |
155 #define keyps 7 | |
156 | |
157 /* | |
158 * LanguageExt2 | |
159 */ | |
160 #define langSms 0x000000FF,0 /* language of SMS */ | |
161 #define langSmsm 0x000000FF | |
162 #define langSmss 0 | |
163 | |
164 | |
165 /******************************************************************** | |
166 * | |
167 * FIELD CALL TIMER | |
168 * | |
169 ********************************************************************/ | |
170 | |
171 typedef struct EFctim2 /* CALL TIMER */ | |
172 { | |
173 UBYTE InAccm[4]; | |
174 UBYTE OutAccm[4]; | |
175 } EF_CTIM2; | |
176 | |
177 #define SIZE_EF_CTIM 16 | |
178 #define NR_EF_CTIM 1 | |
179 | |
180 | |
181 /******************************************************************** | |
182 * | |
183 * FIELD SPECIAL FUNCTION KEYS 2 | |
184 * | |
185 ********************************************************************/ | |
186 | |
187 typedef struct EFsfk2 /* SPECIAL FUNCTION KEYS 2 */ | |
188 { | |
189 UBYTE keyboard; | |
190 UBYTE hotkeys; | |
191 } EF_SFK2; | |
192 | |
193 #define SIZE_EF_SFK2 3 | |
194 #define NR_EF_SFK2 1 | |
195 | |
196 /* | |
197 * keyboard | |
198 */ | |
199 #define keylo 0x00000001,0 /* keyboard lock */ | |
200 #define keylom 0x00000001 | |
201 #define keylos 0 | |
202 #define answ 0x00000002,1 /* any key answer */ | |
203 #define answm 0x00000002 | |
204 #define answs 1 | |
205 #define cfu 0x00000004,2 /* call forwarding unconditional */ | |
206 #define cfum 0x00000004 | |
207 #define cfus 2 | |
208 | |
209 /* | |
210 * hotkeys | |
211 */ | |
212 | |
213 | |
214 /* have to define the hotkeys !*/ | |
215 | |
216 | |
217 | |
218 | |
219 /******************************************************************** | |
220 * | |
221 * FIELD LAST SELECTED MANUAL PLMN IDENTIFIER | |
222 * | |
223 ********************************************************************/ | |
224 | |
225 typedef struct EFplmn2 /* LAST SELECTED MANUAL PLMN IDENTIFIER */ | |
226 { | |
227 UBYTE mccLast [2]; /* Mobile country code */ | |
228 UBYTE mncLast [2]; /* Mobile network code */ | |
229 }EF_PLMN2; | |
230 | |
231 #define SIZE_EF_PLMN2 6 | |
232 #define NR_EF_PLMN2 1 | |
233 | |
234 | |
235 | |
236 | |
237 /******************************************************************** | |
238 * | |
239 * Field Cell Broadcast MID attributes | |
240 * | |
241 ********************************************************************/ | |
242 | |
243 typedef struct EFmid /* Cell Broadcast MID attributes */ | |
244 { | |
245 UBYTE msgId [2]; | |
246 UBYTE tag [10]; | |
247 UBYTE dcs [2]; | |
248 }EF_MID; | |
249 | |
250 #define SIZE_EF_MID 14 | |
251 #define NR_EF_MID 1 | |
252 | |
253 /******************************************************************** | |
254 * | |
255 * Field T9 | |
256 * | |
257 ********************************************************************/ | |
258 | |
259 typedef struct EFt9 /* T9 */ | |
260 { | |
261 UBYTE dict ; /* dummy */ | |
262 | |
263 }EF_T9; | |
264 | |
265 #define SIZE_EF_T9 14 | |
266 #define NR_EF_T9 1 | |
267 | |
268 /* have to define T9 ! */ | |
269 | |
270 | |
271 #endif | |
272 |