comparison gsm-fw/cdg/cdginc-locosto/p_8010_136_simdrv_sap.val @ 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_8010_136_simdrv_sap.val |
5 | SOURCE : "sap\8010_136_SIMDRV_SAP.pdf" |
6 | LastModified : "2004-06-10" |
7 | IdAndVersion : "8010.136.03.009" |
8 | SrcFileTime : "Thu Nov 29 09:27:56 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 : SIMDRV
16 * COMPATIBILITY_DEFINES : NO
17 * ALWAYS_ENUM_IN_VAL_FILE: YES
18 * ENABLE_GROUP: YES
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_8010_136_SIMDRV_SAP_VAL
24 #define P_8010_136_SIMDRV_SAP_VAL
25
26
27 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_VAL
28
29 #define CDG_ENTER__FILENAME _P_8010_136_SIMDRV_SAP_VAL
30 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_VAL__LAST_MODIFIED _2004_06_10
32 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_VAL__ID_AND_VERSION _8010_136_03_009
33
34 #define CDG_ENTER__P_8010_136_SIMDRV_SAP_VAL__SRC_FILE_TIME _Thu_Nov_29_09_27_56_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_8010_136_SIMDRV_SAP_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Enum to value table VAL_reset_return_val
45 * CCDGEN:WriteEnum_Count==29
46 */
47 #ifndef __T_SIMDRV_VAL_reset_return_val__
48 #define __T_SIMDRV_VAL_reset_return_val__
49 typedef enum
50 {
51 SIMDRV_SIM_INSERTED = 0x0, /* A SIM is inserted and ATR/PPS was successful */
52 SIMDRV_SIM_NOT_INSERTED = 0x1, /* No SIM inserted (hardware detected) */
53 SIMDRV_INVALID_CARD = 0x2, /* Card is not responding or gives unintelligible answers, communications time out. */
54 SIMDRV_ME_FAILURE = 0x3, /* Power management related problems, e.g. voltage selection */
55 SIMDRV_IMPROPER_CALL_BACK = 0x4, /* simdrv_register function called with pointer improperly set, e.g. NULL. */
56 SIMDRV_ME_READER_NOT_AVAILABLE = 0x5 /* The reader requested is not available */
57 }T_SIMDRV_VAL_reset_return_val;
58 #endif
59
60 /*
61 * Enum to value table VAL_len
62 * CCDGEN:WriteEnum_Count==31
63 */
64 #ifndef __T_SIMDRV_VAL_len__
65 #define __T_SIMDRV_VAL_len__
66 typedef enum
67 {
68 SIMDRV_VAL_LEN__RANGE_MIN = 0x0, /* minimum */
69 SIMDRV_VAL_LEN__RANGE_MAX = 0x100, /* maximum */
70 SIMDRV_LENGTH_UNKNOWN = 0xffff /* Indicating that the length expected is unknown. */
71 }T_SIMDRV_VAL_len;
72 #endif
73
74 /*
75 * Enum to value table VAL_sw1_2
76 * CCDGEN:WriteEnum_Count==33
77 */
78 #ifndef __T_SIMDRV_VAL_sw1_2__
79 #define __T_SIMDRV_VAL_sw1_2__
80 typedef enum
81 {
82 SIMDRV_ERR_NOCARD = 0x1, /* No SIM inserted (hardware detected) */
83 SIMDRV_ERR_NOT_RESET = 0x2, /* A reset has not been performed on the driver with the requested Id. */
84 SIMDRV_ERR_ME_FAIL = 0x3, /* Unrecoverable ME failure (for instance interrupt fails to occur) */
85 SIMDRV_ERR_RETRY_FAIL = 0x4, /* ME/SIM communication failed after certain retries, SIM reset required */
86 SIMDRV_ERR_PARAM_WRONG = 0x5 /* A driver function is called with invalid parameters */
87 }T_SIMDRV_VAL_sw1_2;
88 #endif
89
90 /*
91 * Enum to value table VAL_cla
92 * CCDGEN:WriteEnum_Count==35
93 */
94 #ifndef __T_SIMDRV_VAL_cla__
95 #define __T_SIMDRV_VAL_cla__
96 typedef enum
97 {
98 SIMDRV_GSM_CLASS_BYTE = 0xa0, /* GSM Class byte according to [GSM 11.11 / 3GPP 51.011] */
99 SIMDRV_UMTS_CLASS_BYTE = 0x80, /* UMTS Class byte according to [ETSI 102 221 10.1.2] */
100 SIMDRV_UICC_CLASS_BYTE = 0x0 /* UICC Class byte according to [ISO 7816-4] */
101 }T_SIMDRV_VAL_cla;
102 #endif
103
104 /*
105 * Enum to value table VAL_ins
106 * CCDGEN:WriteEnum_Count==37
107 */
108 #ifndef __T_SIMDRV_VAL_ins__
109 #define __T_SIMDRV_VAL_ins__
110 typedef enum
111 {
112 SIMDRV_INS_SELECT = 0xa4, /* Select Instruction */
113 SIMDRV_INS_STATUS = 0xf2, /* Status Instruction */
114 SIMDRV_INS_READ_BINARY = 0xb0, /* Read Binary Instruction */
115 SIMDRV_INS_UPDATE_BINARY = 0xd6, /* Update Binary Instruction */
116 SIMDRV_INS_READ_RECORD = 0xb2, /* Read Record Instruction */
117 SIMDRV_INS_UPDATE_RECORD = 0xdc, /* Update Record Instruction */
118 SIMDRV_INS_SEEK = 0xa2, /* Seek Instruction */
119 SIMDRV_INS_INCREASE = 0x32, /* Increase Instruction */
120 SIMDRV_INS_VERIFY_CHV = 0x20, /* Verify Chv Instruction */
121 SIMDRV_INS_CHANGE_CHV = 0x24, /* Change Chv Instruction */
122 SIMDRV_INS_DISABLE_CHV = 0x26, /* Disable Chv Instruction */
123 SIMDRV_INS_ENABLE_CHV = 0x28, /* Ensable Chv Instruction */
124 SIMDRV_INS_UNBLOCK_CHV = 0x2c, /* Unblock Chv Instruction */
125 SIMDRV_INS_INVALIDATE = 0x4, /* Invalidate Instruction */
126 SIMDRV_INS_REHABILITATE = 0x44, /* Rehabilitate Instruction */
127 SIMDRV_INS_AUTHENTICATE = 0x88, /* Run GSM Algorithm (2/2.5G) / Authenticate (3G) Instruction */
128 SIMDRV_INS_TERMINAL_PROFILE = 0x10, /* Terminal Profile Instruction */
129 SIMDRV_INS_ENVELOPE = 0xc2, /* Envelope Instruction */
130 SIMDRV_INS_FETCH = 0x12, /* Fetch Instruction */
131 SIMDRV_INS_TERMINAL_RESPONSE = 0x14, /* Terminal Response Instruction */
132 SIMDRV_INS_GET_RESPONSE = 0xc0 /* Get Response Instruction */
133 }T_SIMDRV_VAL_ins;
134 #endif
135
136 /*
137 * Enum to value table VAL_voltage_select
138 * CCDGEN:WriteEnum_Count==39
139 */
140 #ifndef __T_SIMDRV_VAL_voltage_select__
141 #define __T_SIMDRV_VAL_voltage_select__
142 typedef enum
143 {
144 SIMDRV_REQ_VOLTAGE_SEL = 0x0, /* The SIM reader driver shall perform voltage selection */
145 SIMDRV_OMIT_VOLTAGE_SEL = 0x1 /* The SIM reader driver shall restart with the current voltage */
146 }T_SIMDRV_VAL_voltage_select;
147 #endif
148
149 /*
150 * Enum to value table VAL_config_requested
151 * CCDGEN:WriteEnum_Count==41
152 */
153 #ifndef __T_SIMDRV_VAL_config_requested__
154 #define __T_SIMDRV_VAL_config_requested__
155 typedef enum
156 {
157 SIMDRV_OMIT_CONFIG_CHARACTERISTICS = 0x0, /* PS Shall not retrieve Configuration Characteristics */
158 SIMDRV_REQUEST_CONFIG_CHARACTERISTICS = 0x1 /* PS Shall retrieve Configuration Characteristics */
159 }T_SIMDRV_VAL_config_requested;
160 #endif
161
162 /*
163 * Enum to value table VAL_reader_id
164 * CCDGEN:WriteEnum_Count==43
165 */
166 #ifndef __T_SIMDRV_VAL_reader_id__
167 #define __T_SIMDRV_VAL_reader_id__
168 typedef enum
169 {
170 SIMDRV_VAL_READER_ID__RANGE_MIN = 0x1, /* minimum */
171 SIMDRV_VAL_READER_ID__RANGE_MAX = 0x2 /* maximum */
172 }T_SIMDRV_VAL_reader_id;
173 #endif
174
175 /*
176 * user defined constants
177 */
178 #define SIMDRV_SIZE_ATR_INFO (0x21)
179 #define SIMDRV_MIN_RESULT (0x1)
180 #define SIMDRV_MAX_RESULT (0x100)
181 #define SIMDRV_MIN_DATA_SIZE (0x1)
182 #define SIMDRV_MAX_DATA_SIZE (0xff)
183 #define SIMDRV_MAX_READERS (0x2)
184
185 #include "CDG_LEAVE.h"
186
187
188 #endif