FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/cdg/cdginc-locosto/p_8010_136_simdrv_sap.h @ 868:d92b110e06e0
doc/Firmware_Architecture written
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 May 2015 03:45:19 +0000 |
parents | 95c433d8c274 |
children |
rev | line source |
---|---|
654
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /* |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 +--------------------------------------------------------------------------+ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 | PROJECT : PROTOCOL STACK | |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 | FILE : p_8010_136_simdrv_sap.h | |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 | SOURCE : "sap\8010_136_SIMDRV_SAP.pdf" | |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 | LastModified : "2004-06-10" | |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 | IdAndVersion : "8010.136.03.009" | |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 | SrcFileTime : "Thu Nov 29 09:27:56 2007" | |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014 | |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 +--------------------------------------------------------------------------+ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 /* PRAGMAS |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 * PREFIX : SIMDRV |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 * COMPATIBILITY_DEFINES : NO |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 * ALWAYS_ENUM_IN_VAL_FILE: YES |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 * ENABLE_GROUP: YES |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 * CAPITALIZE_TYPENAME: NO |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 #ifndef P_8010_136_SIMDRV_SAP_H |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 #define P_8010_136_SIMDRV_SAP_H |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_H |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 #define CDG_ENTER__FILENAME _P_8010_136_SIMDRV_SAP_H |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_H__FILE_TYPE CDGINC |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_H__LAST_MODIFIED _2004_06_10 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_H__ID_AND_VERSION _8010_136_03_009 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_H__SRC_FILE_TIME _Thu_Nov_29_09_27_56_2007 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 #include "CDG_ENTER.h" |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 #undef CDG_ENTER__P_8010_136_SIMDRV_SAP_H |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 #undef CDG_ENTER__FILENAME |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 #include "p_8010_136_simdrv_sap.val" |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 /* |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 * typedef between var and valtab enums |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 #ifndef __T_SIMDRV_reset_return_val__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 #define __T_SIMDRV_reset_return_val__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 typedef T_SIMDRV_VAL_reset_return_val T_SIMDRV_reset_return_val; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
53 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
54 #ifndef __T_SIMDRV_len__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
55 #define __T_SIMDRV_len__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
56 typedef T_SIMDRV_VAL_len T_SIMDRV_len; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
59 #ifndef __T_SIMDRV_sw1_2__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
60 #define __T_SIMDRV_sw1_2__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
61 typedef T_SIMDRV_VAL_sw1_2 T_SIMDRV_sw1_2; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
62 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
63 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
64 #ifndef __T_SIMDRV_cla__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
65 #define __T_SIMDRV_cla__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
66 typedef T_SIMDRV_VAL_cla T_SIMDRV_cla; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
67 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
68 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
69 #ifndef __T_SIMDRV_ins__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
70 #define __T_SIMDRV_ins__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
71 typedef T_SIMDRV_VAL_ins T_SIMDRV_ins; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
72 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
73 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
74 #ifndef __T_SIMDRV_voltage_select__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
75 #define __T_SIMDRV_voltage_select__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
76 typedef T_SIMDRV_VAL_voltage_select T_SIMDRV_voltage_select; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
77 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
78 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
79 #ifndef __T_SIMDRV_config_requested__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
80 #define __T_SIMDRV_config_requested__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
81 typedef T_SIMDRV_VAL_config_requested T_SIMDRV_config_requested; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
82 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
83 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
84 #ifndef __T_SIMDRV_reader_id__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
85 #define __T_SIMDRV_reader_id__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
86 typedef T_SIMDRV_VAL_reader_id T_SIMDRV_reader_id; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
87 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
88 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
89 #ifndef __T_SIMDRV_atr_string_info__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
90 #define __T_SIMDRV_atr_string_info__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
91 /* |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
92 * SIM Card Info |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
93 * CCDGEN:WriteStruct_Count==1283 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
94 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
95 typedef struct |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
96 { |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
97 U8 c_atr_string; /*< 0: 1> counter */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
98 U8 atr_string[SIMDRV_SIZE_ATR_INFO]; /*< 1: 33> SIM Card Answer to reset string */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
99 U8 _align0; /*< 34: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
100 U8 _align1; /*< 35: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
101 } T_SIMDRV_atr_string_info; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
102 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
103 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
104 #ifndef __T_SIMDRV_result_info__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
105 #define __T_SIMDRV_result_info__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
106 /* |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
107 * Result Buffer |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
108 * CCDGEN:WriteStruct_Count==1285 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
109 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
110 typedef struct |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
111 { |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
112 U16 len; /*< 0: 2> T_SIMDRV_len, Maximum length of expected data */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
113 U16 c_result; /*< 2: 2> counter */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
114 U8 *result; /*< 4: 4> pointer codetransparent to Result byte */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
115 } T_SIMDRV_result_info; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
116 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
117 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
118 #ifndef __T_SIMDRV_data_info__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
119 #define __T_SIMDRV_data_info__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
120 /* |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
121 * Data element info |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
122 * CCDGEN:WriteStruct_Count==1287 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
123 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
124 typedef struct |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
125 { |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
126 U8 _align0; /*< 0: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
127 U8 _align1; /*< 1: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
128 U8 _align2; /*< 2: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
129 U8 c_data; /*< 3: 1> counter */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
130 U8 *data; /*< 4: 4> pointer codetransparent to Data element */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
131 } T_SIMDRV_data_info; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
132 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
133 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
134 #ifndef __T_SIMDRV_cmd_header__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
135 #define __T_SIMDRV_cmd_header__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
136 /* |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
137 * Transparent command header |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
138 * CCDGEN:WriteStruct_Count==1289 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
139 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
140 typedef struct |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
141 { |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
142 U8 cla; /*< 0: 1> T_SIMDRV_cla, Class Byte */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
143 U8 ins; /*< 1: 1> T_SIMDRV_ins, instruction code */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
144 U8 p1; /*< 2: 1> Parameter 1 of the SIM APDU */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
145 U8 p2; /*< 3: 1> Parameter 2 of the SIM APDU */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
146 } T_SIMDRV_cmd_header; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
147 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
148 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
149 #ifndef __T_SIMDRV_config_characteristics__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
150 #define __T_SIMDRV_config_characteristics__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
151 /* |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
152 * Configuration Characteristics |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
153 * CCDGEN:WriteStruct_Count==1291 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
154 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
155 typedef struct |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
156 { |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
157 U8 uicc_characteristics; /*< 0: 1> UICC Characteristics */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
158 U8 _align0; /*< 1: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
159 U8 _align1; /*< 2: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
160 U8 _align2; /*< 3: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
161 } T_SIMDRV_config_characteristics; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
162 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
163 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
164 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
165 /* |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
166 * End of substructure section, begin of primitive definition section |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
167 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
168 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
169 #ifndef __T_SIMDRV_DUMMY__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
170 #define __T_SIMDRV_DUMMY__ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
171 /* |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
172 * |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
173 * CCDGEN:WriteStruct_Count==1293 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
174 */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
175 typedef struct |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
176 { |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
177 T_SIMDRV_atr_string_info *ptr_atr_string_info; /*< 0: 4> pointer to SIM Card Info */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
178 U8 reset_return_val; /*< 4: 1> T_SIMDRV_reset_return_val, Reset return value */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
179 U8 _align0; /*< 5: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
180 U8 _align1; /*< 6: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
181 U8 _align2; /*< 7: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
182 T_SIMDRV_result_info *ptr_result_info; /*< 8: 4> pointer to Result Buffer */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
183 U16 len; /*< 12: 2> T_SIMDRV_len, Maximum length of expected data */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
184 U8 _align3; /*< 14: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
185 U8 _align4; /*< 15: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
186 T_SIMDRV_data_info *ptr_data_info; /*< 16: 4> pointer to Data element info */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
187 U16 sw1_2; /*< 20: 2> T_SIMDRV_sw1_2, Status Words */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
188 U8 cla; /*< 22: 1> T_SIMDRV_cla, Class Byte */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
189 U8 ins; /*< 23: 1> T_SIMDRV_ins, instruction code */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
190 T_SIMDRV_cmd_header cmd_header; /*< 24: 4> Transparent command header */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
191 U8 voltage_select; /*< 28: 1> T_SIMDRV_voltage_select, Perform Voltage Selection */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
192 U8 p1; /*< 29: 1> Parameter 1 of the SIM APDU */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
193 U8 p2; /*< 30: 1> Parameter 2 of the SIM APDU */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
194 U8 config_requested; /*< 31: 1> T_SIMDRV_config_requested, Configuration Characteristics requested */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
195 T_SIMDRV_config_characteristics *ptr_config_characteristics; /*< 32: 4> pointer to Configuration Characteristics */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
196 U8 reader_id; /*< 36: 1> T_SIMDRV_reader_id, Reader Id */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
197 U8 uicc_characteristics; /*< 37: 1> UICC Characteristics */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
198 U8 _align5; /*< 38: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
199 U8 _align6; /*< 39: 1> alignment */ |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
200 } T_SIMDRV_DUMMY; |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
201 #endif |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
202 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
203 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
204 #include "CDG_LEAVE.h" |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
205 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
206 |
95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
207 #endif |