FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cdg/cdginc-locosto/m_sms.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 : m_sms.h | | |
5 | SOURCE : "msg\sms.mdf" | | |
6 | LastModified : "2001-09-11" | | |
7 | IdAndVersion : "6147.607.97.102" | | |
8 | SrcFileTime : "Wed Nov 28 10:21:18 2007" | | |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:52 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 M_SMS_H | |
24 #define M_SMS_H | |
25 | |
26 | |
27 #define CDG_ENTER__M_SMS_H | |
28 | |
29 #define CDG_ENTER__FILENAME _M_SMS_H | |
30 #define CDG_ENTER__M_SMS_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__M_SMS_H__LAST_MODIFIED _2001_09_11 | |
32 #define CDG_ENTER__M_SMS_H__ID_AND_VERSION _6147_607_97_102 | |
33 | |
34 #define CDG_ENTER__M_SMS_H__SRC_FILE_TIME _Wed_Nov_28_10_21_18_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__M_SMS_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "m_sms.val" | |
44 | |
45 /* | |
46 * bitbuffer structure for the element tpdu | |
47 */ | |
48 #ifndef __T_BUF_tpdu__ | |
49 #define __T_BUF_tpdu__ | |
50 typedef struct | |
51 { | |
52 U16 l_tpdu; | |
53 U16 o_tpdu; | |
54 U8 b_tpdu[168]; | |
55 } BUF_tpdu; /* size <172> */ | |
56 #endif | |
57 #ifndef __T_rp_cause__ | |
58 #define __T_rp_cause__ | |
59 /* | |
60 * RP Cause | |
61 * CCDGEN:WriteStruct_Count==419 | |
62 */ | |
63 typedef struct | |
64 { | |
65 U8 v_rp_cause_value; /*< 0: 1> valid-flag */ | |
66 U8 rp_cause_value; /*< 1: 1> RP cause */ | |
67 U8 v_diag; /*< 2: 1> valid-flag */ | |
68 U8 c_diag; /*< 3: 1> counter */ | |
69 U8 diag[5]; /*< 4: 5> Diagnostic field */ | |
70 U8 _align0; /*< 9: 1> alignment */ | |
71 U8 _align1; /*< 10: 1> alignment */ | |
72 U8 _align2; /*< 11: 1> alignment */ | |
73 } T_rp_cause; | |
74 #endif | |
75 | |
76 #ifndef __T_rp_addr__ | |
77 #define __T_rp_addr__ | |
78 /* | |
79 * RP Service Center Address | |
80 * CCDGEN:WriteStruct_Count==420 | |
81 */ | |
82 typedef struct | |
83 { | |
84 U8 v_ton; /*< 0: 1> valid-flag */ | |
85 U8 ton; /*< 1: 1> Type of number */ | |
86 U8 v_npi; /*< 2: 1> valid-flag */ | |
87 U8 npi; /*< 3: 1> Numbering plan identification */ | |
88 U8 c_num; /*< 4: 1> counter */ | |
89 U8 num[MAX_SMS_ADDR_DIG]; /*< 5: 20> Number digit */ | |
90 U8 _align0; /*< 25: 1> alignment */ | |
91 U8 _align1; /*< 26: 1> alignment */ | |
92 U8 _align2; /*< 27: 1> alignment */ | |
93 } T_rp_addr; | |
94 #endif | |
95 | |
96 #ifndef __T_rp_user_data__ | |
97 #define __T_rp_user_data__ | |
98 /* | |
99 * RP-User Data | |
100 * CCDGEN:WriteStruct_Count==421 | |
101 */ | |
102 typedef struct | |
103 { | |
104 U8 tp_mti; /*< 0: 1> TP Message Type Indicator */ | |
105 U8 _align0; /*< 1: 1> alignment */ | |
106 U8 _align1; /*< 2: 1> alignment */ | |
107 U8 v_tpdu; /*< 3: 1> valid-flag */ | |
108 BUF_tpdu tpdu; /*< 4:172> TP Data Unit */ | |
109 } T_rp_user_data; | |
110 #endif | |
111 | |
112 #ifndef __T_rp_ack__ | |
113 #define __T_rp_ack__ | |
114 /* | |
115 * RP-ACK downlink / uplink | |
116 * CCDGEN:WriteStruct_Count==422 | |
117 */ | |
118 typedef struct | |
119 { | |
120 U8 _align0; /*< 0: 1> alignment */ | |
121 U8 _align1; /*< 1: 1> alignment */ | |
122 U8 _align2; /*< 2: 1> alignment */ | |
123 U8 v_rp_user_data; /*< 3: 1> valid-flag */ | |
124 T_rp_user_data rp_user_data; /*< 4:176> RP-User Data */ | |
125 } T_rp_ack; | |
126 #endif | |
127 | |
128 #ifndef __T_rp_error__ | |
129 #define __T_rp_error__ | |
130 /* | |
131 * RP-ERROR downlink / uplink | |
132 * CCDGEN:WriteStruct_Count==423 | |
133 */ | |
134 typedef struct | |
135 { | |
136 T_rp_cause rp_cause; /*< 0: 12> RP Cause */ | |
137 U8 _align0; /*< 12: 1> alignment */ | |
138 U8 _align1; /*< 13: 1> alignment */ | |
139 U8 _align2; /*< 14: 1> alignment */ | |
140 U8 v_rp_user_data; /*< 15: 1> valid-flag */ | |
141 T_rp_user_data rp_user_data; /*< 16:176> RP-User Data */ | |
142 } T_rp_error; | |
143 #endif | |
144 | |
145 #ifndef __T_rp_data_dl__ | |
146 #define __T_rp_data_dl__ | |
147 /* | |
148 * RP Data downlink | |
149 * CCDGEN:WriteStruct_Count==424 | |
150 */ | |
151 typedef struct | |
152 { | |
153 T_rp_addr rp_addr; /*< 0: 28> RP Service Center Address */ | |
154 T_rp_user_data rp_user_data; /*< 28:176> RP-User Data */ | |
155 } T_rp_data_dl; | |
156 #endif | |
157 | |
158 #ifndef __T_cp_user_data_dl__ | |
159 #define __T_cp_user_data_dl__ | |
160 /* | |
161 * CP User Data downlink | |
162 * CCDGEN:WriteStruct_Count==425 | |
163 */ | |
164 typedef struct | |
165 { | |
166 U8 rp_mti; /*< 0: 1> Message Type Indicator */ | |
167 U8 reference; /*< 1: 1> Message Reference */ | |
168 U8 _align0; /*< 2: 1> alignment */ | |
169 U8 v_rp_data_dl; /*< 3: 1> valid-flag */ | |
170 T_rp_data_dl rp_data_dl; /*< 4:204> RP Data downlink */ | |
171 U8 _align1; /*<208: 1> alignment */ | |
172 U8 _align2; /*<209: 1> alignment */ | |
173 U8 _align3; /*<210: 1> alignment */ | |
174 U8 v_rp_error; /*<211: 1> valid-flag */ | |
175 T_rp_error rp_error; /*<212:192> RP-ERROR downlink / uplink */ | |
176 U8 _align4; /*<404: 1> alignment */ | |
177 U8 _align5; /*<405: 1> alignment */ | |
178 U8 _align6; /*<406: 1> alignment */ | |
179 U8 v_rp_ack; /*<407: 1> valid-flag */ | |
180 T_rp_ack rp_ack; /*<408:180> RP-ACK downlink / uplink */ | |
181 } T_cp_user_data_dl; | |
182 #endif | |
183 | |
184 #ifndef __T_rp_data_ul__ | |
185 #define __T_rp_data_ul__ | |
186 /* | |
187 * RP Data uplink | |
188 * CCDGEN:WriteStruct_Count==426 | |
189 */ | |
190 typedef struct | |
191 { | |
192 T_rp_addr rp_addr; /*< 0: 28> RP Service Center Address */ | |
193 T_rp_user_data rp_user_data; /*< 28:176> RP-User Data */ | |
194 } T_rp_data_ul; | |
195 #endif | |
196 | |
197 #ifndef __T_cp_user_data_ul__ | |
198 #define __T_cp_user_data_ul__ | |
199 /* | |
200 * CP User Data Uplink | |
201 * CCDGEN:WriteStruct_Count==427 | |
202 */ | |
203 typedef struct | |
204 { | |
205 U8 rp_mti; /*< 0: 1> Message Type Indicator */ | |
206 U8 reference; /*< 1: 1> Message Reference */ | |
207 U8 _align0; /*< 2: 1> alignment */ | |
208 U8 v_rp_data_ul; /*< 3: 1> valid-flag */ | |
209 T_rp_data_ul rp_data_ul; /*< 4:204> RP Data uplink */ | |
210 U8 _align1; /*<208: 1> alignment */ | |
211 U8 _align2; /*<209: 1> alignment */ | |
212 U8 _align3; /*<210: 1> alignment */ | |
213 U8 v_rp_error; /*<211: 1> valid-flag */ | |
214 T_rp_error rp_error; /*<212:192> RP-ERROR downlink / uplink */ | |
215 U8 _align4; /*<404: 1> alignment */ | |
216 U8 _align5; /*<405: 1> alignment */ | |
217 U8 _align6; /*<406: 1> alignment */ | |
218 U8 v_rp_ack; /*<407: 1> valid-flag */ | |
219 T_rp_ack rp_ack; /*<408:180> RP-ACK downlink / uplink */ | |
220 } T_cp_user_data_ul; | |
221 #endif | |
222 | |
223 #ifndef __T_tp_cd__ | |
224 #define __T_tp_cd__ | |
225 /* | |
226 * TP Command Data | |
227 * CCDGEN:WriteStruct_Count==428 | |
228 */ | |
229 typedef struct | |
230 { | |
231 U8 c_data; /*< 0: 1> counter */ | |
232 U8 data[MAX_SMS_DATA_LEN]; /*< 1:160> Data */ | |
233 U8 _align0; /*<161: 1> alignment */ | |
234 U8 _align1; /*<162: 1> alignment */ | |
235 U8 _align2; /*<163: 1> alignment */ | |
236 } T_tp_cd; | |
237 #endif | |
238 | |
239 /* | |
240 * TP User Data Header | |
241 * CCDGEN:WriteStruct_Count==429 | |
242 */ | |
243 #ifndef __T_tp_udh__ | |
244 #define __T_tp_udh__ | |
245 typedef T_tp_cd T_tp_udh; | |
246 #endif | |
247 #ifndef __T_tp_da__ | |
248 #define __T_tp_da__ | |
249 /* | |
250 * TP Destination Address | |
251 * CCDGEN:WriteStruct_Count==430 | |
252 */ | |
253 typedef struct | |
254 { | |
255 U8 digits; /*< 0: 1> Digits */ | |
256 U8 ton; /*< 1: 1> Type of number */ | |
257 U8 npi; /*< 2: 1> Numbering plan identification */ | |
258 U8 c_num; /*< 3: 1> counter */ | |
259 U8 num[MAX_SMS_ADDR_DIG]; /*< 4: 20> Number digit */ | |
260 } T_tp_da; | |
261 #endif | |
262 | |
263 /* | |
264 * TP Originating Address | |
265 * CCDGEN:WriteStruct_Count==431 | |
266 */ | |
267 #ifndef __T_tp_oa__ | |
268 #define __T_tp_oa__ | |
269 typedef T_tp_da T_tp_oa; | |
270 #endif | |
271 /* | |
272 * TP Recipient Address | |
273 * CCDGEN:WriteStruct_Count==432 | |
274 */ | |
275 #ifndef __T_tp_ra__ | |
276 #define __T_tp_ra__ | |
277 typedef T_tp_da T_tp_ra; | |
278 #endif | |
279 #ifndef __T_tp_vp_abs__ | |
280 #define __T_tp_vp_abs__ | |
281 /* | |
282 * TP Validity Period (Absolute Format) | |
283 * CCDGEN:WriteStruct_Count==433 | |
284 */ | |
285 typedef struct | |
286 { | |
287 U8 year[2]; /*< 0: 2> */ | |
288 U8 month[2]; /*< 2: 2> */ | |
289 U8 day[2]; /*< 4: 2> */ | |
290 U8 hour[2]; /*< 6: 2> */ | |
291 U8 minute[2]; /*< 8: 2> */ | |
292 U8 second[2]; /*< 10: 2> */ | |
293 U8 tz_lsb; /*< 12: 1> Time Zone, LSB */ | |
294 U8 tz_sign; /*< 13: 1> Time Zone, sign */ | |
295 U8 tz_msb; /*< 14: 1> Time Zone, MSB */ | |
296 U8 _align0; /*< 15: 1> alignment */ | |
297 } T_tp_vp_abs; | |
298 #endif | |
299 | |
300 /* | |
301 * TP Service Centre Time Stamp | |
302 * CCDGEN:WriteStruct_Count==434 | |
303 */ | |
304 #ifndef __T_tp_scts__ | |
305 #define __T_tp_scts__ | |
306 typedef T_tp_vp_abs T_tp_scts; | |
307 #endif | |
308 /* | |
309 * TP Discharge Time | |
310 * CCDGEN:WriteStruct_Count==435 | |
311 */ | |
312 #ifndef __T_tp_dt__ | |
313 #define __T_tp_dt__ | |
314 typedef T_tp_vp_abs T_tp_dt; | |
315 #endif | |
316 #ifndef __T_tp_vp_enh__ | |
317 #define __T_tp_vp_enh__ | |
318 /* | |
319 * TP Validity Period (Enhanced Format) | |
320 * CCDGEN:WriteStruct_Count==436 | |
321 */ | |
322 typedef struct | |
323 { | |
324 U8 tp_ext; /*< 0: 1> Extension Control Bit */ | |
325 U8 tp_ss; /*< 1: 1> Single Shot Bit */ | |
326 U8 tvpf; /*< 2: 1> Type of Validity Period Format */ | |
327 U8 v_tp_rsrvd; /*< 3: 1> valid-flag */ | |
328 U8 tp_rsrvd; /*< 4: 1> Extension Octet */ | |
329 U8 v_tp_vp_rel; /*< 5: 1> valid-flag */ | |
330 U8 tp_vp_rel; /*< 6: 1> TP Validity Period Relative */ | |
331 U8 v_tp_vp_sec; /*< 7: 1> valid-flag */ | |
332 U8 tp_vp_sec; /*< 8: 1> Validity period in seconds */ | |
333 U8 v_hour; /*< 9: 1> valid-flag */ | |
334 U8 hour[2]; /*< 10: 2> */ | |
335 U8 v_minute; /*< 12: 1> valid-flag */ | |
336 U8 minute[2]; /*< 13: 2> */ | |
337 U8 v_second; /*< 15: 1> valid-flag */ | |
338 U8 second[2]; /*< 16: 2> */ | |
339 U8 _align0; /*< 18: 1> alignment */ | |
340 U8 _align1; /*< 19: 1> alignment */ | |
341 } T_tp_vp_enh; | |
342 #endif | |
343 | |
344 #ifndef __T_tp_ud__ | |
345 #define __T_tp_ud__ | |
346 /* | |
347 * TP User Data | |
348 * CCDGEN:WriteStruct_Count==437 | |
349 */ | |
350 typedef struct | |
351 { | |
352 U8 length; /*< 0: 1> Length */ | |
353 U8 c_data; /*< 1: 1> counter */ | |
354 U8 data[MAX_SMS_DATA_LEN]; /*< 2:160> Data */ | |
355 U8 _align0; /*<162: 1> alignment */ | |
356 U8 _align1; /*<163: 1> alignment */ | |
357 } T_tp_ud; | |
358 #endif | |
359 | |
360 #ifndef __T_tp_udh_inc__ | |
361 #define __T_tp_udh_inc__ | |
362 /* | |
363 * TP User Data with Header | |
364 * CCDGEN:WriteStruct_Count==438 | |
365 */ | |
366 typedef struct | |
367 { | |
368 U8 length; /*< 0: 1> Length */ | |
369 U8 _align0; /*< 1: 1> alignment */ | |
370 U8 _align1; /*< 2: 1> alignment */ | |
371 U8 _align2; /*< 3: 1> alignment */ | |
372 T_tp_udh tp_udh; /*< 4:164> TP User Data Header */ | |
373 U8 c_data; /*<168: 1> counter */ | |
374 U8 data[MAX_SMS_DATA_LEN]; /*<169:160> Data */ | |
375 U8 _align3; /*<329: 1> alignment */ | |
376 U8 _align4; /*<330: 1> alignment */ | |
377 U8 _align5; /*<331: 1> alignment */ | |
378 } T_tp_udh_inc; | |
379 #endif | |
380 | |
381 #ifndef __T_tp_cdh_inc__ | |
382 #define __T_tp_cdh_inc__ | |
383 /* | |
384 * TP Command Data with Header | |
385 * CCDGEN:WriteStruct_Count==439 | |
386 */ | |
387 typedef struct | |
388 { | |
389 T_tp_udh tp_udh; /*< 0:164> TP User Data Header */ | |
390 U8 c_data; /*<164: 1> counter */ | |
391 U8 data[MAX_SMS_DATA_LEN]; /*<165:160> Data */ | |
392 U8 _align0; /*<325: 1> alignment */ | |
393 U8 _align1; /*<326: 1> alignment */ | |
394 U8 _align2; /*<327: 1> alignment */ | |
395 } T_tp_cdh_inc; | |
396 #endif | |
397 | |
398 | |
399 /* | |
400 * End of substructure section, begin of message definition section | |
401 */ | |
402 | |
403 #ifndef __T_B_CP_ACK__ | |
404 #define __T_B_CP_ACK__ | |
405 /* | |
406 * | |
407 * CCDGEN:WriteStruct_Count==440 | |
408 */ | |
409 typedef struct | |
410 { | |
411 U8 msg_type; /*< 0: 1> CP Message Type */ | |
412 U8 _align0; /*< 1: 1> alignment */ | |
413 U8 _align1; /*< 2: 1> alignment */ | |
414 U8 _align2; /*< 3: 1> alignment */ | |
415 } T_B_CP_ACK; | |
416 #endif | |
417 | |
418 #ifndef __T_D_CP_DATA__ | |
419 #define __T_D_CP_DATA__ | |
420 /* | |
421 * | |
422 * CCDGEN:WriteStruct_Count==441 | |
423 */ | |
424 typedef struct | |
425 { | |
426 U8 msg_type; /*< 0: 1> CP Message Type */ | |
427 U8 _align0; /*< 1: 1> alignment */ | |
428 U8 _align1; /*< 2: 1> alignment */ | |
429 U8 _align2; /*< 3: 1> alignment */ | |
430 T_cp_user_data_dl cp_user_data_dl; /*< 4:588> CP User Data downlink */ | |
431 } T_D_CP_DATA; | |
432 #endif | |
433 | |
434 #ifndef __T_U_CP_DATA__ | |
435 #define __T_U_CP_DATA__ | |
436 /* | |
437 * | |
438 * CCDGEN:WriteStruct_Count==442 | |
439 */ | |
440 typedef struct | |
441 { | |
442 U8 msg_type; /*< 0: 1> CP Message Type */ | |
443 U8 _align0; /*< 1: 1> alignment */ | |
444 U8 _align1; /*< 2: 1> alignment */ | |
445 U8 _align2; /*< 3: 1> alignment */ | |
446 T_cp_user_data_ul cp_user_data_ul; /*< 4:588> CP User Data Uplink */ | |
447 } T_U_CP_DATA; | |
448 #endif | |
449 | |
450 #ifndef __T_B_CP_ERROR__ | |
451 #define __T_B_CP_ERROR__ | |
452 /* | |
453 * | |
454 * CCDGEN:WriteStruct_Count==443 | |
455 */ | |
456 typedef struct | |
457 { | |
458 U8 msg_type; /*< 0: 1> CP Message Type */ | |
459 U8 cp_cause; /*< 1: 1> CP cause */ | |
460 U8 _align0; /*< 2: 1> alignment */ | |
461 U8 _align1; /*< 3: 1> alignment */ | |
462 } T_B_CP_ERROR; | |
463 #endif | |
464 | |
465 #ifndef __T_TP_DELIVER__ | |
466 #define __T_TP_DELIVER__ | |
467 /* | |
468 * | |
469 * CCDGEN:WriteStruct_Count==444 | |
470 */ | |
471 typedef struct | |
472 { | |
473 U8 tp_vt_mti; /*< 0: 1> Virtual TP Message Type */ | |
474 U8 tp_rp; /*< 1: 1> TP Reply Path */ | |
475 U8 tp_udhi; /*< 2: 1> TP User Data Header Indicator */ | |
476 U8 tp_sri; /*< 3: 1> TP Status Report Indication */ | |
477 U8 tp_mms; /*< 4: 1> TP More Messages To Send */ | |
478 U8 tp_mti; /*< 5: 1> TP Message Type Indicator */ | |
479 U8 _align0; /*< 6: 1> alignment */ | |
480 U8 _align1; /*< 7: 1> alignment */ | |
481 T_tp_oa tp_oa; /*< 8: 24> TP Originating Address */ | |
482 U8 tp_pid; /*< 32: 1> TP Protocol Identifier */ | |
483 U8 tp_dcs; /*< 33: 1> TP Data Coding Scheme */ | |
484 U8 _align2; /*< 34: 1> alignment */ | |
485 U8 _align3; /*< 35: 1> alignment */ | |
486 T_tp_scts tp_scts; /*< 36: 16> TP Service Centre Time Stamp */ | |
487 U8 _align4; /*< 52: 1> alignment */ | |
488 U8 _align5; /*< 53: 1> alignment */ | |
489 U8 _align6; /*< 54: 1> alignment */ | |
490 U8 v_tp_ud; /*< 55: 1> valid-flag */ | |
491 T_tp_ud tp_ud; /*< 56:164> TP User Data */ | |
492 U8 _align7; /*<220: 1> alignment */ | |
493 U8 _align8; /*<221: 1> alignment */ | |
494 U8 _align9; /*<222: 1> alignment */ | |
495 U8 v_tp_udh_inc; /*<223: 1> valid-flag */ | |
496 T_tp_udh_inc tp_udh_inc; /*<224:332> TP User Data with Header */ | |
497 } T_TP_DELIVER; | |
498 #endif | |
499 | |
500 #ifndef __T_TP_DLVR_REP_ERR__ | |
501 #define __T_TP_DLVR_REP_ERR__ | |
502 /* | |
503 * | |
504 * CCDGEN:WriteStruct_Count==445 | |
505 */ | |
506 typedef struct | |
507 { | |
508 U8 tp_vt_mti; /*< 0: 1> Virtual TP Message Type */ | |
509 U8 tp_udhi; /*< 1: 1> TP User Data Header Indicator */ | |
510 U8 tp_mti; /*< 2: 1> TP Message Type Indicator */ | |
511 U8 tp_fcs; /*< 3: 1> TP Failure Cause */ | |
512 U8 tp_ext; /*< 4: 1> Extension Control Bit */ | |
513 U8 tp_udl_p; /*< 5: 1> TP User Data present */ | |
514 U8 tp_dcs_p; /*< 6: 1> TP User Data Header Indicator */ | |
515 U8 tp_pid_p; /*< 7: 1> TP User Data Header Indicator */ | |
516 U8 v_tp_rsrvd; /*< 8: 1> valid-flag */ | |
517 U8 tp_rsrvd; /*< 9: 1> Extension Octet */ | |
518 U8 v_tp_pid; /*< 10: 1> valid-flag */ | |
519 U8 tp_pid; /*< 11: 1> TP Protocol Identifier */ | |
520 U8 v_tp_dcs; /*< 12: 1> valid-flag */ | |
521 U8 tp_dcs; /*< 13: 1> TP Data Coding Scheme */ | |
522 U8 _align0; /*< 14: 1> alignment */ | |
523 U8 v_tp_ud; /*< 15: 1> valid-flag */ | |
524 T_tp_ud tp_ud; /*< 16:164> TP User Data */ | |
525 U8 _align1; /*<180: 1> alignment */ | |
526 U8 _align2; /*<181: 1> alignment */ | |
527 U8 _align3; /*<182: 1> alignment */ | |
528 U8 v_tp_udh_inc; /*<183: 1> valid-flag */ | |
529 T_tp_udh_inc tp_udh_inc; /*<184:332> TP User Data with Header */ | |
530 } T_TP_DLVR_REP_ERR; | |
531 #endif | |
532 | |
533 #ifndef __T_TP_DLVR_REP_ACK__ | |
534 #define __T_TP_DLVR_REP_ACK__ | |
535 /* | |
536 * | |
537 * CCDGEN:WriteStruct_Count==446 | |
538 */ | |
539 typedef struct | |
540 { | |
541 U8 tp_vt_mti; /*< 0: 1> Virtual TP Message Type */ | |
542 U8 tp_udhi; /*< 1: 1> TP User Data Header Indicator */ | |
543 U8 tp_mti; /*< 2: 1> TP Message Type Indicator */ | |
544 U8 tp_ext; /*< 3: 1> Extension Control Bit */ | |
545 U8 tp_udl_p; /*< 4: 1> TP User Data present */ | |
546 U8 tp_dcs_p; /*< 5: 1> TP User Data Header Indicator */ | |
547 U8 tp_pid_p; /*< 6: 1> TP User Data Header Indicator */ | |
548 U8 v_tp_rsrvd; /*< 7: 1> valid-flag */ | |
549 U8 tp_rsrvd; /*< 8: 1> Extension Octet */ | |
550 U8 v_tp_pid; /*< 9: 1> valid-flag */ | |
551 U8 tp_pid; /*< 10: 1> TP Protocol Identifier */ | |
552 U8 v_tp_dcs; /*< 11: 1> valid-flag */ | |
553 U8 tp_dcs; /*< 12: 1> TP Data Coding Scheme */ | |
554 U8 _align0; /*< 13: 1> alignment */ | |
555 U8 _align1; /*< 14: 1> alignment */ | |
556 U8 v_tp_ud; /*< 15: 1> valid-flag */ | |
557 T_tp_ud tp_ud; /*< 16:164> TP User Data */ | |
558 U8 _align2; /*<180: 1> alignment */ | |
559 U8 _align3; /*<181: 1> alignment */ | |
560 U8 _align4; /*<182: 1> alignment */ | |
561 U8 v_tp_udh_inc; /*<183: 1> valid-flag */ | |
562 T_tp_udh_inc tp_udh_inc; /*<184:332> TP User Data with Header */ | |
563 } T_TP_DLVR_REP_ACK; | |
564 #endif | |
565 | |
566 #ifndef __T_TP_SUBMIT__ | |
567 #define __T_TP_SUBMIT__ | |
568 /* | |
569 * | |
570 * CCDGEN:WriteStruct_Count==447 | |
571 */ | |
572 typedef struct | |
573 { | |
574 U8 tp_vt_mti; /*< 0: 1> Virtual TP Message Type */ | |
575 U8 tp_rp; /*< 1: 1> TP Reply Path */ | |
576 U8 tp_udhi; /*< 2: 1> TP User Data Header Indicator */ | |
577 U8 tp_srr; /*< 3: 1> TP Status Report Request */ | |
578 U8 tp_vpf; /*< 4: 1> TP Validity Period Format */ | |
579 U8 tp_rd; /*< 5: 1> TP Reject Duplicates */ | |
580 U8 tp_mti; /*< 6: 1> TP Message Type Indicator */ | |
581 U8 tp_mr; /*< 7: 1> TP Message Reference */ | |
582 T_tp_da tp_da; /*< 8: 24> TP Destination Address */ | |
583 U8 tp_pid; /*< 32: 1> TP Protocol Identifier */ | |
584 U8 tp_dcs; /*< 33: 1> TP Data Coding Scheme */ | |
585 U8 _align0; /*< 34: 1> alignment */ | |
586 U8 v_tp_vp_enh; /*< 35: 1> valid-flag */ | |
587 T_tp_vp_enh tp_vp_enh; /*< 36: 20> TP Validity Period (Enhanced Format) */ | |
588 U8 v_tp_vp_rel; /*< 56: 1> valid-flag */ | |
589 U8 tp_vp_rel; /*< 57: 1> TP Validity Period Relative */ | |
590 U8 _align1; /*< 58: 1> alignment */ | |
591 U8 v_tp_vp_abs; /*< 59: 1> valid-flag */ | |
592 T_tp_vp_abs tp_vp_abs; /*< 60: 16> TP Validity Period (Absolute Format) */ | |
593 U8 _align2; /*< 76: 1> alignment */ | |
594 U8 _align3; /*< 77: 1> alignment */ | |
595 U8 _align4; /*< 78: 1> alignment */ | |
596 U8 v_tp_ud; /*< 79: 1> valid-flag */ | |
597 T_tp_ud tp_ud; /*< 80:164> TP User Data */ | |
598 U8 _align5; /*<244: 1> alignment */ | |
599 U8 _align6; /*<245: 1> alignment */ | |
600 U8 _align7; /*<246: 1> alignment */ | |
601 U8 v_tp_udh_inc; /*<247: 1> valid-flag */ | |
602 T_tp_udh_inc tp_udh_inc; /*<248:332> TP User Data with Header */ | |
603 } T_TP_SUBMIT; | |
604 #endif | |
605 | |
606 #ifndef __T_TP_SBMT_REP_ERR__ | |
607 #define __T_TP_SBMT_REP_ERR__ | |
608 /* | |
609 * | |
610 * CCDGEN:WriteStruct_Count==448 | |
611 */ | |
612 typedef struct | |
613 { | |
614 U8 tp_vt_mti; /*< 0: 1> Virtual TP Message Type */ | |
615 U8 tp_udhi; /*< 1: 1> TP User Data Header Indicator */ | |
616 U8 tp_mti; /*< 2: 1> TP Message Type Indicator */ | |
617 U8 tp_fcs; /*< 3: 1> TP Failure Cause */ | |
618 U8 tp_ext; /*< 4: 1> Extension Control Bit */ | |
619 U8 tp_udl_p; /*< 5: 1> TP User Data present */ | |
620 U8 tp_dcs_p; /*< 6: 1> TP User Data Header Indicator */ | |
621 U8 tp_pid_p; /*< 7: 1> TP User Data Header Indicator */ | |
622 U8 v_tp_rsrvd; /*< 8: 1> valid-flag */ | |
623 U8 tp_rsrvd; /*< 9: 1> Extension Octet */ | |
624 U8 _align0; /*< 10: 1> alignment */ | |
625 U8 _align1; /*< 11: 1> alignment */ | |
626 T_tp_scts tp_scts; /*< 12: 16> TP Service Centre Time Stamp */ | |
627 U8 v_tp_pid; /*< 28: 1> valid-flag */ | |
628 U8 tp_pid; /*< 29: 1> TP Protocol Identifier */ | |
629 U8 v_tp_dcs; /*< 30: 1> valid-flag */ | |
630 U8 tp_dcs; /*< 31: 1> TP Data Coding Scheme */ | |
631 U8 _align2; /*< 32: 1> alignment */ | |
632 U8 _align3; /*< 33: 1> alignment */ | |
633 U8 _align4; /*< 34: 1> alignment */ | |
634 U8 v_tp_ud; /*< 35: 1> valid-flag */ | |
635 T_tp_ud tp_ud; /*< 36:164> TP User Data */ | |
636 U8 _align5; /*<200: 1> alignment */ | |
637 U8 _align6; /*<201: 1> alignment */ | |
638 U8 _align7; /*<202: 1> alignment */ | |
639 U8 v_tp_udh_inc; /*<203: 1> valid-flag */ | |
640 T_tp_udh_inc tp_udh_inc; /*<204:332> TP User Data with Header */ | |
641 } T_TP_SBMT_REP_ERR; | |
642 #endif | |
643 | |
644 #ifndef __T_TP_SBMT_REP_ACK__ | |
645 #define __T_TP_SBMT_REP_ACK__ | |
646 /* | |
647 * | |
648 * CCDGEN:WriteStruct_Count==449 | |
649 */ | |
650 typedef struct | |
651 { | |
652 U8 tp_vt_mti; /*< 0: 1> Virtual TP Message Type */ | |
653 U8 tp_udhi; /*< 1: 1> TP User Data Header Indicator */ | |
654 U8 tp_mti; /*< 2: 1> TP Message Type Indicator */ | |
655 U8 tp_ext; /*< 3: 1> Extension Control Bit */ | |
656 U8 tp_udl_p; /*< 4: 1> TP User Data present */ | |
657 U8 tp_dcs_p; /*< 5: 1> TP User Data Header Indicator */ | |
658 U8 tp_pid_p; /*< 6: 1> TP User Data Header Indicator */ | |
659 U8 v_tp_rsrvd; /*< 7: 1> valid-flag */ | |
660 U8 tp_rsrvd; /*< 8: 1> Extension Octet */ | |
661 U8 _align0; /*< 9: 1> alignment */ | |
662 U8 _align1; /*< 10: 1> alignment */ | |
663 U8 _align2; /*< 11: 1> alignment */ | |
664 T_tp_scts tp_scts; /*< 12: 16> TP Service Centre Time Stamp */ | |
665 U8 v_tp_pid; /*< 28: 1> valid-flag */ | |
666 U8 tp_pid; /*< 29: 1> TP Protocol Identifier */ | |
667 U8 v_tp_dcs; /*< 30: 1> valid-flag */ | |
668 U8 tp_dcs; /*< 31: 1> TP Data Coding Scheme */ | |
669 U8 _align3; /*< 32: 1> alignment */ | |
670 U8 _align4; /*< 33: 1> alignment */ | |
671 U8 _align5; /*< 34: 1> alignment */ | |
672 U8 v_tp_ud; /*< 35: 1> valid-flag */ | |
673 T_tp_ud tp_ud; /*< 36:164> TP User Data */ | |
674 U8 _align6; /*<200: 1> alignment */ | |
675 U8 _align7; /*<201: 1> alignment */ | |
676 U8 _align8; /*<202: 1> alignment */ | |
677 U8 v_tp_udh_inc; /*<203: 1> valid-flag */ | |
678 T_tp_udh_inc tp_udh_inc; /*<204:332> TP User Data with Header */ | |
679 } T_TP_SBMT_REP_ACK; | |
680 #endif | |
681 | |
682 #ifndef __T_TP_STATUS__ | |
683 #define __T_TP_STATUS__ | |
684 /* | |
685 * | |
686 * CCDGEN:WriteStruct_Count==450 | |
687 */ | |
688 typedef struct | |
689 { | |
690 U8 tp_vt_mti; /*< 0: 1> Virtual TP Message Type */ | |
691 U8 tp_udhi; /*< 1: 1> TP User Data Header Indicator */ | |
692 U8 tp_srq; /*< 2: 1> TP Status Report Qualifier */ | |
693 U8 tp_mms; /*< 3: 1> TP More Messages To Send */ | |
694 U8 tp_mti; /*< 4: 1> TP Message Type Indicator */ | |
695 U8 tp_mr; /*< 5: 1> TP Message Reference */ | |
696 U8 _align0; /*< 6: 1> alignment */ | |
697 U8 _align1; /*< 7: 1> alignment */ | |
698 T_tp_ra tp_ra; /*< 8: 24> TP Recipient Address */ | |
699 T_tp_scts tp_scts; /*< 32: 16> TP Service Centre Time Stamp */ | |
700 T_tp_dt tp_dt; /*< 48: 16> TP Discharge Time */ | |
701 U8 tp_st; /*< 64: 1> TP Status */ | |
702 U8 v_tp_udl_p; /*< 65: 1> valid-flag */ | |
703 U8 tp_udl_p; /*< 66: 1> TP User Data present */ | |
704 U8 v_tp_dcs_p; /*< 67: 1> valid-flag */ | |
705 U8 tp_dcs_p; /*< 68: 1> TP User Data Header Indicator */ | |
706 U8 v_tp_pid_p; /*< 69: 1> valid-flag */ | |
707 U8 tp_pid_p; /*< 70: 1> TP User Data Header Indicator */ | |
708 U8 v_tp_rsrvd; /*< 71: 1> valid-flag */ | |
709 U8 tp_rsrvd; /*< 72: 1> Extension Octet */ | |
710 U8 v_tp_pid; /*< 73: 1> valid-flag */ | |
711 U8 tp_pid; /*< 74: 1> TP Protocol Identifier */ | |
712 U8 v_tp_dcs; /*< 75: 1> valid-flag */ | |
713 U8 tp_dcs; /*< 76: 1> TP Data Coding Scheme */ | |
714 U8 _align2; /*< 77: 1> alignment */ | |
715 U8 _align3; /*< 78: 1> alignment */ | |
716 U8 v_tp_ud; /*< 79: 1> valid-flag */ | |
717 T_tp_ud tp_ud; /*< 80:164> TP User Data */ | |
718 U8 _align4; /*<244: 1> alignment */ | |
719 U8 _align5; /*<245: 1> alignment */ | |
720 U8 _align6; /*<246: 1> alignment */ | |
721 U8 v_tp_udh_inc; /*<247: 1> valid-flag */ | |
722 T_tp_udh_inc tp_udh_inc; /*<248:332> TP User Data with Header */ | |
723 } T_TP_STATUS; | |
724 #endif | |
725 | |
726 #ifndef __T_TP_COMMAND__ | |
727 #define __T_TP_COMMAND__ | |
728 /* | |
729 * | |
730 * CCDGEN:WriteStruct_Count==451 | |
731 */ | |
732 typedef struct | |
733 { | |
734 U8 tp_vt_mti; /*< 0: 1> Virtual TP Message Type */ | |
735 U8 tp_udhi; /*< 1: 1> TP User Data Header Indicator */ | |
736 U8 tp_srr; /*< 2: 1> TP Status Report Request */ | |
737 U8 tp_mti; /*< 3: 1> TP Message Type Indicator */ | |
738 U8 tp_mr; /*< 4: 1> TP Message Reference */ | |
739 U8 tp_pid; /*< 5: 1> TP Protocol Identifier */ | |
740 U8 tp_ct; /*< 6: 1> TP Command Type */ | |
741 U8 tp_mn; /*< 7: 1> TP Message Number */ | |
742 T_tp_da tp_da; /*< 8: 24> TP Destination Address */ | |
743 U8 _align0; /*< 32: 1> alignment */ | |
744 U8 _align1; /*< 33: 1> alignment */ | |
745 U8 _align2; /*< 34: 1> alignment */ | |
746 U8 v_tp_cd; /*< 35: 1> valid-flag */ | |
747 T_tp_cd tp_cd; /*< 36:164> TP Command Data */ | |
748 U8 _align3; /*<200: 1> alignment */ | |
749 U8 _align4; /*<201: 1> alignment */ | |
750 U8 _align5; /*<202: 1> alignment */ | |
751 U8 v_tp_cdh_inc; /*<203: 1> valid-flag */ | |
752 T_tp_cdh_inc tp_cdh_inc; /*<204:328> TP Command Data with Header */ | |
753 } T_TP_COMMAND; | |
754 #endif | |
755 | |
756 #ifndef __T_SIM_PDU__ | |
757 #define __T_SIM_PDU__ | |
758 /* | |
759 * | |
760 * CCDGEN:WriteStruct_Count==452 | |
761 */ | |
762 typedef struct | |
763 { | |
764 U8 tp_vt_mti; /*< 0: 1> Virtual TP Message Type */ | |
765 U8 _align0; /*< 1: 1> alignment */ | |
766 U8 _align1; /*< 2: 1> alignment */ | |
767 U8 _align2; /*< 3: 1> alignment */ | |
768 T_rp_addr rp_addr; /*< 4: 28> RP Service Center Address */ | |
769 U8 tp_mti; /*< 32: 1> TP Message Type Indicator */ | |
770 U8 _align3; /*< 33: 1> alignment */ | |
771 U8 _align4; /*< 34: 1> alignment */ | |
772 U8 v_tpdu; /*< 35: 1> valid-flag */ | |
773 BUF_tpdu tpdu; /*< 36:172> TP Data Unit */ | |
774 } T_SIM_PDU; | |
775 #endif | |
776 | |
777 | |
778 #include "CDG_LEAVE.h" | |
779 | |
780 | |
781 #endif |