comparison gsm-fw/cdg/cdginc-locosto/p_mnsms.h @ 654:95c433d8c274

gsm-fw/cdg: LoCosto version of cdginc regenerated
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 25 Sep 2014 09:46:42 +0000
parents
children
comparison
equal deleted inserted replaced
653:31d82d090499 654:95c433d8c274
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_mnsms.h |
5 | SOURCE : "sap\mnsms.pdf" |
6 | LastModified : "2002-04-19" |
7 | IdAndVersion : "6147.103.96.107" |
8 | SrcFileTime : "Thu Nov 29 09:48:28 2007" |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014 |
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 _Thu_Nov_29_09_48_28_2007
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==1980
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==1981
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==1982
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==1983
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==1984
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==1985
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==1986
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==1987
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==1988
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==1989
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==1990
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 // ELEM-FF: REL99
220 U8 auto_rep_flag; /*< 4: 1> Added auto_rep_flag variable */
221 U8 _align0; /*< 5: 1> alignment */
222 U8 _align1; /*< 6: 1> alignment */
223 U8 _align2; /*< 7: 1> alignment */
224 T_sms_sdu sms_sdu; /*< 8:180> SIM-PDU */
225 } T_MNSMS_SUBMIT_REQ;
226 #endif
227
228 #ifndef __T_MNSMS_SUBMIT_CNF__
229 #define __T_MNSMS_SUBMIT_CNF__
230 /*
231 *
232 * CCDGEN:WriteStruct_Count==1991
233 */
234 typedef struct
235 {
236 U8 mem_type; /*< 0: 1> memory type */
237 U8 rec_num; /*< 1: 1> record number */
238 U16 cause; /*< 2: 2> error code */
239 U8 tp_mr; /*< 4: 1> TP message reference */
240 U8 _align0; /*< 5: 1> alignment */
241 U8 _align1; /*< 6: 1> alignment */
242 U8 _align2; /*< 7: 1> alignment */
243 T_sms_sdu sms_sdu; /*< 8:180> SIM-PDU */
244 } T_MNSMS_SUBMIT_CNF;
245 #endif
246
247 #ifndef __T_MNSMS_COMMAND_REQ__
248 #define __T_MNSMS_COMMAND_REQ__
249 /*
250 *
251 * CCDGEN:WriteStruct_Count==1992
252 */
253 typedef struct
254 {
255 // ELEM-FF: REL99
256 U8 auto_rep_flag; /*< 0: 1> Added auto_rep_flag variable */
257 U8 _align0; /*< 1: 1> alignment */
258 U8 _align1; /*< 2: 1> alignment */
259 U8 _align2; /*< 3: 1> alignment */
260 T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */
261 } T_MNSMS_COMMAND_REQ;
262 #endif
263
264 #ifndef __T_MNSMS_COMMAND_CNF__
265 #define __T_MNSMS_COMMAND_CNF__
266 /*
267 *
268 * CCDGEN:WriteStruct_Count==1993
269 */
270 typedef struct
271 {
272 U16 cause; /*< 0: 2> error code */
273 U8 tp_mr; /*< 2: 1> TP message reference */
274 U8 _align0; /*< 3: 1> alignment */
275 T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */
276 } T_MNSMS_COMMAND_CNF;
277 #endif
278
279 #ifndef __T_MNSMS_ACK_RES__
280 #define __T_MNSMS_ACK_RES__
281 /*
282 *
283 * CCDGEN:WriteStruct_Count==1994
284 */
285 typedef struct
286 {
287 U8 resp; /*< 0: 1> type of response */
288 U8 _align0; /*< 1: 1> alignment */
289 U8 _align1; /*< 2: 1> alignment */
290 U8 _align2; /*< 3: 1> alignment */
291 T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */
292 } T_MNSMS_ACK_RES;
293 #endif
294
295 #ifndef __T_MNSMS_CONFIGURE_REQ__
296 #define __T_MNSMS_CONFIGURE_REQ__
297 /*
298 *
299 * CCDGEN:WriteStruct_Count==1995
300 */
301 typedef struct
302 {
303 U8 pref_mem_3; /*< 0: 1> memory type */
304 U8 mt; /*< 1: 1> mobile terminated message handling */
305 U8 ds; /*< 2: 1> status report message handling */
306 U8 mhc; /*< 3: 1> status report message handling */
307 U8 v_cmms_mode; /*< 4: 1> valid-flag */
308 U8 cmms_mode; /*< 5: 1> Specifies the mode for +CMMS */
309 U8 _align0; /*< 6: 1> alignment */
310 U8 v_tmms_val; /*< 7: 1> valid-flag */
311 U16 tmms_val; /*< 8: 2> Timer value for +CMMS command */
312 U8 _align1; /*< 10: 1> alignment */
313 U8 _align2; /*< 11: 1> alignment */
314 } T_MNSMS_CONFIGURE_REQ;
315 #endif
316
317 #ifndef __T_MNSMS_ERROR_IND__
318 #define __T_MNSMS_ERROR_IND__
319 /*
320 *
321 * CCDGEN:WriteStruct_Count==1996
322 */
323 typedef struct
324 {
325 U16 cause; /*< 0: 2> error code */
326 U8 _align0; /*< 2: 1> alignment */
327 U8 _align1; /*< 3: 1> alignment */
328 } T_MNSMS_ERROR_IND;
329 #endif
330
331 #ifndef __T_MNSMS_MO_SERV_REQ__
332 #define __T_MNSMS_MO_SERV_REQ__
333 /*
334 *
335 * CCDGEN:WriteStruct_Count==1997
336 */
337 typedef struct
338 {
339 U8 mo_sms_serv; /*< 0: 1> MO SMS Service */
340 U8 _align0; /*< 1: 1> alignment */
341 U8 _align1; /*< 2: 1> alignment */
342 U8 _align2; /*< 3: 1> alignment */
343 } T_MNSMS_MO_SERV_REQ;
344 #endif
345
346 #ifndef __T_MNSMS_MO_SERV_CNF__
347 #define __T_MNSMS_MO_SERV_CNF__
348 /*
349 *
350 * CCDGEN:WriteStruct_Count==1998
351 */
352 typedef struct
353 {
354 U8 mo_sms_serv; /*< 0: 1> MO SMS Service */
355 U8 _align0; /*< 1: 1> alignment */
356 U8 _align1; /*< 2: 1> alignment */
357 U8 _align2; /*< 3: 1> alignment */
358 } T_MNSMS_MO_SERV_CNF;
359 #endif
360
361 #ifndef __T_MNSMS_PAUSE_REQ__
362 #define __T_MNSMS_PAUSE_REQ__
363 /*
364 *
365 * CCDGEN:WriteStruct_Count==1999
366 */
367 typedef struct
368 {
369 U8 dummy; /*< 0: 1> no parameters */
370 } T_MNSMS_PAUSE_REQ;
371 #endif
372
373 #ifndef __T_MNSMS_RESUME_REQ__
374 #define __T_MNSMS_RESUME_REQ__
375 /*
376 *
377 * CCDGEN:WriteStruct_Count==2000
378 */
379 typedef struct
380 {
381 U8 dummy; /*< 0: 1> no parameters */
382 } T_MNSMS_RESUME_REQ;
383 #endif
384
385 #ifndef __T_MNSMS_RESUME_CNF__
386 #define __T_MNSMS_RESUME_CNF__
387 /*
388 *
389 * CCDGEN:WriteStruct_Count==2001
390 */
391 typedef struct
392 {
393 U16 cause; /*< 0: 2> error code */
394 U8 _align0; /*< 2: 1> alignment */
395 U8 _align1; /*< 3: 1> alignment */
396 } T_MNSMS_RESUME_CNF;
397 #endif
398
399 #ifndef __T_MNSMS_QUERY_REQ__
400 #define __T_MNSMS_QUERY_REQ__
401 /*
402 *
403 * CCDGEN:WriteStruct_Count==2002
404 */
405 typedef struct
406 {
407 U8 query_type; /*< 0: 1> specifies to which status the query request refers to */
408 U8 _align0; /*< 1: 1> alignment */
409 U8 _align1; /*< 2: 1> alignment */
410 U8 _align2; /*< 3: 1> alignment */
411 } T_MNSMS_QUERY_REQ;
412 #endif
413
414 #ifndef __T_MNSMS_QUERY_CNF__
415 #define __T_MNSMS_QUERY_CNF__
416 /*
417 *
418 * CCDGEN:WriteStruct_Count==2003
419 */
420 typedef struct
421 {
422 U8 query_type; /*< 0: 1> specifies to which status the query request refers to */
423 U8 v_deliver_status; /*< 1: 1> valid-flag */
424 U8 deliver_status; /*< 2: 1> sms delivery status - pause or resume */
425 U8 _align0; /*< 3: 1> alignment */
426 } T_MNSMS_QUERY_CNF;
427 #endif
428
429 #ifndef __T_MNSMS_OTA_MESSAGE_IND__
430 #define __T_MNSMS_OTA_MESSAGE_IND__
431 /*
432 *
433 * CCDGEN:WriteStruct_Count==2004
434 */
435 typedef struct
436 {
437 U8 tp_pid; /*< 0: 1> TP Protocol Identifier */
438 U8 tp_dcs; /*< 1: 1> TP Data Coding Scheme */
439 U8 _align0; /*< 2: 1> alignment */
440 U8 _align1; /*< 3: 1> alignment */
441 T_tp_ud tp_ud; /*< 4:164> TP User Data (type defined in "m_sms.h") */
442 } T_MNSMS_OTA_MESSAGE_IND;
443 #endif
444
445 #ifndef __T_MNSMS_OTA_MESSAGE_RES__
446 #define __T_MNSMS_OTA_MESSAGE_RES__
447 /*
448 *
449 * CCDGEN:WriteStruct_Count==2005
450 */
451 typedef struct
452 {
453 U8 tp_pid; /*< 0: 1> TP Protocol Identifier */
454 U8 tp_dcs; /*< 1: 1> TP Data Coding Scheme */
455 U8 len; /*< 2: 1> length of the OTA response */
456 U8 packedlen; /*< 3: 1> length of the OTA response */
457 U8 data[20]; /*< 4: 20> IMEI and category status of the mobile to be extracted from TP user data */
458 } T_MNSMS_OTA_MESSAGE_RES;
459 #endif
460
461
462 // PRIM-FF: REL99
463 #ifndef __T_MNSMS_RETRANS_REQ__
464 #define __T_MNSMS_RETRANS_REQ__
465 /*
466 *
467 * CCDGEN:WriteStruct_Count==2006
468 */
469 typedef struct
470 {
471 // ELEM-FF: REL99
472 U8 auto_rep_flag; /*< 0: 1> Added auto_rep_flag variable */
473 U8 _align0; /*< 1: 1> alignment */
474 U8 _align1; /*< 2: 1> alignment */
475 U8 _align2; /*< 3: 1> alignment */
476 } T_MNSMS_RETRANS_REQ;
477 #endif
478
479
480 // PRIM-FF: REL99
481 #ifndef __T_MNSMS_RETRANS_CNF__
482 #define __T_MNSMS_RETRANS_CNF__
483 /*
484 *
485 * CCDGEN:WriteStruct_Count==2007
486 */
487 typedef struct
488 {
489 U16 cause; /*< 0: 2> error code */
490 U8 mem_type; /*< 2: 1> memory type */
491 U8 rec_num; /*< 3: 1> record number */
492 U8 tp_mr; /*< 4: 1> TP message reference */
493 U8 _align0; /*< 5: 1> alignment */
494 U8 _align1; /*< 6: 1> alignment */
495 U8 _align2; /*< 7: 1> alignment */
496 T_sms_sdu sms_sdu; /*< 8:180> SIM-PDU */
497 } T_MNSMS_RETRANS_CNF;
498 #endif
499
500
501 // PRIM-FF: REL99
502 #ifndef __T_MNSMS_SEND_PROG_IND__
503 #define __T_MNSMS_SEND_PROG_IND__
504 /*
505 *
506 * CCDGEN:WriteStruct_Count==2008
507 */
508 typedef struct
509 {
510 // ELEM-FF: REL99
511 U8 resend_count; /*< 0: 1> To resend the count to MMI during retransmission */
512 // ELEM-FF: REL99
513 U8 max_retrans; /*< 1: 1> Maximum number of retransmission allowed which is communicated to MMI */
514 U8 _align0; /*< 2: 1> alignment */
515 U8 _align1; /*< 3: 1> alignment */
516 } T_MNSMS_SEND_PROG_IND;
517 #endif
518
519
520 #include "CDG_LEAVE.h"
521
522
523 #endif