FreeCalypso > hg > fc-magnetite
comparison cdg211/cdginc/p_mnsms.h @ 4:56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 26 Sep 2016 01:11:35 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:93999a60b835 | 4:56abf6cf8a0b |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_mnsms.h | | |
5 | SOURCE : "__out__\g23m_dfile\prim\mnsms.pdf" | | |
6 | LastModified : "2002-04-19" | | |
7 | IdAndVersion : "6147.103.96.107" | | |
8 | SrcFileTime : "Fri Jan 20 15:37:02 2006" | | |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:15 2007 | | |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | | |
11 +--------------------------------------------------------------------------+ | |
12 */ | |
13 | |
14 /* PRAGMAS | |
15 * PREFIX : NONE | |
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) | |
17 * ALWAYS_ENUM_IN_VAL_FILE: NO | |
18 * ENABLE_GROUP: NO | |
19 * CAPITALIZE_TYPENAME: NO | |
20 */ | |
21 | |
22 | |
23 #ifndef P_MNSMS_H | |
24 #define P_MNSMS_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_MNSMS_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_MNSMS_H | |
30 #define CDG_ENTER__P_MNSMS_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_MNSMS_H__LAST_MODIFIED _2002_04_19 | |
32 #define CDG_ENTER__P_MNSMS_H__ID_AND_VERSION _6147_103_96_107 | |
33 | |
34 #define CDG_ENTER__P_MNSMS_H__SRC_FILE_TIME _Fri_Jan_20_15_37_02_2006 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_MNSMS_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_mnsms.val" | |
44 | |
45 #include "m_sms.h" | |
46 | |
47 #ifndef __T_sms_sdu__ | |
48 #define __T_sms_sdu__ | |
49 /* | |
50 * SIM-PDU | |
51 * CCDGEN:WriteStruct_Count==1542 | |
52 */ | |
53 typedef struct | |
54 { | |
55 U16 l_buf; /*< 0: 2> command length */ | |
56 U16 o_buf; /*< 2: 2> command offset */ | |
57 U8 buf[SIM_PDU_LEN]; /*< 4:175> command data */ | |
58 U8 _align0; /*<179: 1> alignment */ | |
59 } T_sms_sdu; | |
60 #endif | |
61 | |
62 | |
63 /* | |
64 * End of substructure section, begin of primitive definition section | |
65 */ | |
66 | |
67 #ifndef __T_MNSMS_MESSAGE_IND__ | |
68 #define __T_MNSMS_MESSAGE_IND__ | |
69 /* | |
70 * | |
71 * CCDGEN:WriteStruct_Count==1543 | |
72 */ | |
73 typedef struct | |
74 { | |
75 U8 mem_type; /*< 0: 1> memory type */ | |
76 U8 rec_num; /*< 1: 1> record number */ | |
77 U8 rec_max; /*< 2: 1> maximum number of records (1..255) in EF(SMS) or other memory */ | |
78 U8 status; /*< 3: 1> message status */ | |
79 T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */ | |
80 } T_MNSMS_MESSAGE_IND; | |
81 #endif | |
82 | |
83 #ifndef __T_MNSMS_REPORT_IND__ | |
84 #define __T_MNSMS_REPORT_IND__ | |
85 /* | |
86 * | |
87 * CCDGEN:WriteStruct_Count==1544 | |
88 */ | |
89 typedef struct | |
90 { | |
91 U8 state; /*< 0: 1> State of the SMS Entity */ | |
92 U8 v_cmms_mode; /*< 1: 1> valid-flag */ | |
93 U8 cmms_mode; /*< 2: 1> Specifies the mode for +CMMS */ | |
94 U8 _align0; /*< 3: 1> alignment */ | |
95 } T_MNSMS_REPORT_IND; | |
96 #endif | |
97 | |
98 #ifndef __T_MNSMS_STATUS_IND__ | |
99 #define __T_MNSMS_STATUS_IND__ | |
100 /* | |
101 * | |
102 * CCDGEN:WriteStruct_Count==1545 | |
103 */ | |
104 typedef struct | |
105 { | |
106 T_sms_sdu sms_sdu; /*< 0:180> SIM-PDU */ | |
107 } T_MNSMS_STATUS_IND; | |
108 #endif | |
109 | |
110 #ifndef __T_MNSMS_DELETE_REQ__ | |
111 #define __T_MNSMS_DELETE_REQ__ | |
112 /* | |
113 * | |
114 * CCDGEN:WriteStruct_Count==1546 | |
115 */ | |
116 typedef struct | |
117 { | |
118 U8 mem_type; /*< 0: 1> memory type */ | |
119 U8 rec_num; /*< 1: 1> record number */ | |
120 U8 delete_status; /*< 2: 1> Delete flag */ | |
121 U8 _align0; /*< 3: 1> alignment */ | |
122 } T_MNSMS_DELETE_REQ; | |
123 #endif | |
124 | |
125 #ifndef __T_MNSMS_DELETE_CNF__ | |
126 #define __T_MNSMS_DELETE_CNF__ | |
127 /* | |
128 * | |
129 * CCDGEN:WriteStruct_Count==1547 | |
130 */ | |
131 typedef struct | |
132 { | |
133 U8 mem_type; /*< 0: 1> memory type */ | |
134 U8 rec_num; /*< 1: 1> record number */ | |
135 U16 cause; /*< 2: 2> error code */ | |
136 U8 delete_rec_next; /*< 4: 1> Next Record to be deleted. */ | |
137 U8 _align0; /*< 5: 1> alignment */ | |
138 U8 _align1; /*< 6: 1> alignment */ | |
139 U8 _align2; /*< 7: 1> alignment */ | |
140 } T_MNSMS_DELETE_CNF; | |
141 #endif | |
142 | |
143 #ifndef __T_MNSMS_READ_REQ__ | |
144 #define __T_MNSMS_READ_REQ__ | |
145 /* | |
146 * | |
147 * CCDGEN:WriteStruct_Count==1548 | |
148 */ | |
149 typedef struct | |
150 { | |
151 U8 mem_type; /*< 0: 1> memory type */ | |
152 U8 rec_num; /*< 1: 1> record number */ | |
153 U8 read_mode; /*< 2: 1> Read Mode */ | |
154 U8 status; /*< 3: 1> message status */ | |
155 } T_MNSMS_READ_REQ; | |
156 #endif | |
157 | |
158 #ifndef __T_MNSMS_READ_CNF__ | |
159 #define __T_MNSMS_READ_CNF__ | |
160 /* | |
161 * | |
162 * CCDGEN:WriteStruct_Count==1549 | |
163 */ | |
164 typedef struct | |
165 { | |
166 U8 mem_type; /*< 0: 1> memory type */ | |
167 U8 rec_num; /*< 1: 1> record number */ | |
168 U8 rec_next; /*< 2: 1> number of a following record with a valid message, if existent */ | |
169 U8 rec_max; /*< 3: 1> maximum number of records (1..255) in EF(SMS) or other memory */ | |
170 U16 cause; /*< 4: 2> error code */ | |
171 U8 rec_status; /*< 6: 1> number of a record in EF(SMSR) related to the given stored message */ | |
172 U8 status; /*< 7: 1> message status */ | |
173 T_sms_sdu sms_sdu; /*< 8:180> SIM-PDU */ | |
174 } T_MNSMS_READ_CNF; | |
175 #endif | |
176 | |
177 #ifndef __T_MNSMS_STORE_REQ__ | |
178 #define __T_MNSMS_STORE_REQ__ | |
179 /* | |
180 * | |
181 * CCDGEN:WriteStruct_Count==1550 | |
182 */ | |
183 typedef struct | |
184 { | |
185 U8 mem_type; /*< 0: 1> memory type */ | |
186 U8 rec_num; /*< 1: 1> record number */ | |
187 U8 condx; /*< 2: 1> write condition */ | |
188 U8 status; /*< 3: 1> message status */ | |
189 T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */ | |
190 } T_MNSMS_STORE_REQ; | |
191 #endif | |
192 | |
193 #ifndef __T_MNSMS_STORE_CNF__ | |
194 #define __T_MNSMS_STORE_CNF__ | |
195 /* | |
196 * | |
197 * CCDGEN:WriteStruct_Count==1551 | |
198 */ | |
199 typedef struct | |
200 { | |
201 U8 mem_type; /*< 0: 1> memory type */ | |
202 U8 rec_num; /*< 1: 1> record number */ | |
203 U16 cause; /*< 2: 2> error code */ | |
204 } T_MNSMS_STORE_CNF; | |
205 #endif | |
206 | |
207 #ifndef __T_MNSMS_SUBMIT_REQ__ | |
208 #define __T_MNSMS_SUBMIT_REQ__ | |
209 /* | |
210 * | |
211 * CCDGEN:WriteStruct_Count==1552 | |
212 */ | |
213 typedef struct | |
214 { | |
215 U8 mem_type; /*< 0: 1> memory type */ | |
216 U8 rec_num; /*< 1: 1> record number */ | |
217 U8 condx; /*< 2: 1> write condition */ | |
218 U8 modify; /*< 3: 1> Modifier */ | |
219 T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */ | |
220 } T_MNSMS_SUBMIT_REQ; | |
221 #endif | |
222 | |
223 #ifndef __T_MNSMS_SUBMIT_CNF__ | |
224 #define __T_MNSMS_SUBMIT_CNF__ | |
225 /* | |
226 * | |
227 * CCDGEN:WriteStruct_Count==1553 | |
228 */ | |
229 typedef struct | |
230 { | |
231 U8 mem_type; /*< 0: 1> memory type */ | |
232 U8 rec_num; /*< 1: 1> record number */ | |
233 U16 cause; /*< 2: 2> error code */ | |
234 U8 tp_mr; /*< 4: 1> TP message reference */ | |
235 U8 _align0; /*< 5: 1> alignment */ | |
236 U8 _align1; /*< 6: 1> alignment */ | |
237 U8 _align2; /*< 7: 1> alignment */ | |
238 T_sms_sdu sms_sdu; /*< 8:180> SIM-PDU */ | |
239 } T_MNSMS_SUBMIT_CNF; | |
240 #endif | |
241 | |
242 #ifndef __T_MNSMS_COMMAND_REQ__ | |
243 #define __T_MNSMS_COMMAND_REQ__ | |
244 /* | |
245 * | |
246 * CCDGEN:WriteStruct_Count==1554 | |
247 */ | |
248 typedef struct | |
249 { | |
250 T_sms_sdu sms_sdu; /*< 0:180> SIM-PDU */ | |
251 } T_MNSMS_COMMAND_REQ; | |
252 #endif | |
253 | |
254 #ifndef __T_MNSMS_COMMAND_CNF__ | |
255 #define __T_MNSMS_COMMAND_CNF__ | |
256 /* | |
257 * | |
258 * CCDGEN:WriteStruct_Count==1555 | |
259 */ | |
260 typedef struct | |
261 { | |
262 U16 cause; /*< 0: 2> error code */ | |
263 U8 tp_mr; /*< 2: 1> TP message reference */ | |
264 U8 _align0; /*< 3: 1> alignment */ | |
265 T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */ | |
266 } T_MNSMS_COMMAND_CNF; | |
267 #endif | |
268 | |
269 #ifndef __T_MNSMS_ACK_RES__ | |
270 #define __T_MNSMS_ACK_RES__ | |
271 /* | |
272 * | |
273 * CCDGEN:WriteStruct_Count==1556 | |
274 */ | |
275 typedef struct | |
276 { | |
277 U8 resp; /*< 0: 1> type of response */ | |
278 U8 _align0; /*< 1: 1> alignment */ | |
279 U8 _align1; /*< 2: 1> alignment */ | |
280 U8 _align2; /*< 3: 1> alignment */ | |
281 T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */ | |
282 } T_MNSMS_ACK_RES; | |
283 #endif | |
284 | |
285 #ifndef __T_MNSMS_CONFIGURE_REQ__ | |
286 #define __T_MNSMS_CONFIGURE_REQ__ | |
287 /* | |
288 * | |
289 * CCDGEN:WriteStruct_Count==1557 | |
290 */ | |
291 typedef struct | |
292 { | |
293 U8 pref_mem_3; /*< 0: 1> memory type */ | |
294 U8 mt; /*< 1: 1> mobile terminated message handling */ | |
295 U8 ds; /*< 2: 1> status report message handling */ | |
296 U8 mhc; /*< 3: 1> status report message handling */ | |
297 U8 v_cmms_mode; /*< 4: 1> valid-flag */ | |
298 U8 cmms_mode; /*< 5: 1> Specifies the mode for +CMMS */ | |
299 U8 _align0; /*< 6: 1> alignment */ | |
300 U8 v_tmms_val; /*< 7: 1> valid-flag */ | |
301 U16 tmms_val; /*< 8: 2> Timer value for +CMMS command */ | |
302 U8 _align1; /*< 10: 1> alignment */ | |
303 U8 _align2; /*< 11: 1> alignment */ | |
304 } T_MNSMS_CONFIGURE_REQ; | |
305 #endif | |
306 | |
307 #ifndef __T_MNSMS_ERROR_IND__ | |
308 #define __T_MNSMS_ERROR_IND__ | |
309 /* | |
310 * | |
311 * CCDGEN:WriteStruct_Count==1558 | |
312 */ | |
313 typedef struct | |
314 { | |
315 U16 cause; /*< 0: 2> error code */ | |
316 U8 _align0; /*< 2: 1> alignment */ | |
317 U8 _align1; /*< 3: 1> alignment */ | |
318 } T_MNSMS_ERROR_IND; | |
319 #endif | |
320 | |
321 #ifndef __T_MNSMS_MO_SERV_REQ__ | |
322 #define __T_MNSMS_MO_SERV_REQ__ | |
323 /* | |
324 * | |
325 * CCDGEN:WriteStruct_Count==1559 | |
326 */ | |
327 typedef struct | |
328 { | |
329 U8 mo_sms_serv; /*< 0: 1> MO SMS Service */ | |
330 U8 _align0; /*< 1: 1> alignment */ | |
331 U8 _align1; /*< 2: 1> alignment */ | |
332 U8 _align2; /*< 3: 1> alignment */ | |
333 } T_MNSMS_MO_SERV_REQ; | |
334 #endif | |
335 | |
336 #ifndef __T_MNSMS_MO_SERV_CNF__ | |
337 #define __T_MNSMS_MO_SERV_CNF__ | |
338 /* | |
339 * | |
340 * CCDGEN:WriteStruct_Count==1560 | |
341 */ | |
342 typedef struct | |
343 { | |
344 U8 mo_sms_serv; /*< 0: 1> MO SMS Service */ | |
345 U8 _align0; /*< 1: 1> alignment */ | |
346 U8 _align1; /*< 2: 1> alignment */ | |
347 U8 _align2; /*< 3: 1> alignment */ | |
348 } T_MNSMS_MO_SERV_CNF; | |
349 #endif | |
350 | |
351 #ifndef __T_MNSMS_PAUSE_REQ__ | |
352 #define __T_MNSMS_PAUSE_REQ__ | |
353 /* | |
354 * | |
355 * CCDGEN:WriteStruct_Count==1561 | |
356 */ | |
357 typedef struct | |
358 { | |
359 U8 dummy; /*< 0: 1> no parameters */ | |
360 } T_MNSMS_PAUSE_REQ; | |
361 #endif | |
362 | |
363 #ifndef __T_MNSMS_RESUME_REQ__ | |
364 #define __T_MNSMS_RESUME_REQ__ | |
365 /* | |
366 * | |
367 * CCDGEN:WriteStruct_Count==1562 | |
368 */ | |
369 typedef struct | |
370 { | |
371 U8 dummy; /*< 0: 1> no parameters */ | |
372 } T_MNSMS_RESUME_REQ; | |
373 #endif | |
374 | |
375 #ifndef __T_MNSMS_RESUME_CNF__ | |
376 #define __T_MNSMS_RESUME_CNF__ | |
377 /* | |
378 * | |
379 * CCDGEN:WriteStruct_Count==1563 | |
380 */ | |
381 typedef struct | |
382 { | |
383 U16 cause; /*< 0: 2> error code */ | |
384 U8 _align0; /*< 2: 1> alignment */ | |
385 U8 _align1; /*< 3: 1> alignment */ | |
386 } T_MNSMS_RESUME_CNF; | |
387 #endif | |
388 | |
389 #ifndef __T_MNSMS_QUERY_REQ__ | |
390 #define __T_MNSMS_QUERY_REQ__ | |
391 /* | |
392 * | |
393 * CCDGEN:WriteStruct_Count==1564 | |
394 */ | |
395 typedef struct | |
396 { | |
397 U8 query_type; /*< 0: 1> specifies to which status the query request refers to */ | |
398 U8 _align0; /*< 1: 1> alignment */ | |
399 U8 _align1; /*< 2: 1> alignment */ | |
400 U8 _align2; /*< 3: 1> alignment */ | |
401 } T_MNSMS_QUERY_REQ; | |
402 #endif | |
403 | |
404 #ifndef __T_MNSMS_QUERY_CNF__ | |
405 #define __T_MNSMS_QUERY_CNF__ | |
406 /* | |
407 * | |
408 * CCDGEN:WriteStruct_Count==1565 | |
409 */ | |
410 typedef struct | |
411 { | |
412 U8 query_type; /*< 0: 1> specifies to which status the query request refers to */ | |
413 U8 v_deliver_status; /*< 1: 1> valid-flag */ | |
414 U8 deliver_status; /*< 2: 1> sms delivery status - pause or resume */ | |
415 U8 _align0; /*< 3: 1> alignment */ | |
416 } T_MNSMS_QUERY_CNF; | |
417 #endif | |
418 | |
419 #ifndef __T_MNSMS_OTA_DECODE_IND__ | |
420 #define __T_MNSMS_OTA_DECODE_IND__ | |
421 /* | |
422 * | |
423 * CCDGEN:WriteStruct_Count==1566 | |
424 */ | |
425 typedef struct | |
426 { | |
427 T_tp_ud tp_ud; /*< 0:164> TP User Data (type defined in "m_sms.h") */ | |
428 } T_MNSMS_OTA_DECODE_IND; | |
429 #endif | |
430 | |
431 #ifndef __T_MNSMS_OTA_DECODE_RES__ | |
432 #define __T_MNSMS_OTA_DECODE_RES__ | |
433 /* | |
434 * | |
435 * CCDGEN:WriteStruct_Count==1567 | |
436 */ | |
437 typedef struct | |
438 { | |
439 U8 ota_status; /*< 0: 1> Indicates the pesonalization status */ | |
440 U8 imei[16]; /*< 1: 16> IMEI of the mobile to be extracted from TP user data */ | |
441 U8 _align0; /*< 17: 1> alignment */ | |
442 U8 _align1; /*< 18: 1> alignment */ | |
443 U8 _align2; /*< 19: 1> alignment */ | |
444 } T_MNSMS_OTA_DECODE_RES; | |
445 #endif | |
446 | |
447 | |
448 #include "CDG_LEAVE.h" | |
449 | |
450 | |
451 #endif |