162 #define UICC_PIN_PERMANENTLY_BLOCKED 0x83 |
164 #define UICC_PIN_PERMANENTLY_BLOCKED 0x83 |
163 #define UICC_PIN_VERIFIED 0x84 |
165 #define UICC_PIN_VERIFIED 0x84 |
164 #define UICC_CAT_FETCHED_CMD 0x91 |
166 #define UICC_CAT_FETCHED_CMD 0x91 |
165 #define UICC_CAT_NOT_SUPPORTED 0x92 |
167 #define UICC_CAT_NOT_SUPPORTED 0x92 |
166 #define UICC_CAT_REG_FAILED 0x93 |
168 #define UICC_CAT_REG_FAILED 0x93 |
|
169 #define UICC_CAT_REG_OK 0x94 |
167 #define UICC_REFRESH_PERMISSION 0xA1 |
170 #define UICC_REFRESH_PERMISSION 0xA1 |
168 #define UICC_REFRESH_STARTING 0xA2 |
171 #define UICC_REFRESH_STARTING 0xA2 |
169 #define UICC_REFRESH_CANCELLED 0xA3 |
172 #define UICC_REFRESH_CANCELLED 0xA3 |
170 #define UICC_REFRESH_NOW 0xA4 |
173 #define UICC_REFRESH_NOW 0xA4 |
171 #define UICC_START_UP_COMPLETE 0xB0 |
174 #define UICC_START_UP_COMPLETE 0xB0 |
172 #define UICC_STATUS_GET 0xB1 |
175 #define UICC_STATUS_GET 0xB1 |
173 #define UICC_READY 0xB2 |
176 #define UICC_READY 0xB2 |
174 #define UICC_INITIALIZED 0xB4 |
177 #define UICC_INITIALIZED 0xB4 |
175 #define UICC_SHUTTING_DOWN 0xB5 |
178 #define UICC_SHUTTING_DOWN 0xB5 |
|
179 #define UICC_SHUT_DOWN_CONFIG 0xB6 |
|
180 #define UICC_ERROR 0xB7 |
176 #define UICC_CARD_DISCONNECTED 0xC0 |
181 #define UICC_CARD_DISCONNECTED 0xC0 |
177 #define UICC_CARD_REMOVED 0xC1 |
182 #define UICC_CARD_REMOVED 0xC1 |
178 #define UICC_CARD_NOT_PRESENT 0xC2 |
183 #define UICC_CARD_NOT_PRESENT 0xC2 |
179 #define UICC_CARD_RESET 0xC3 |
|
180 #define UICC_CARD_READY 0xC4 |
184 #define UICC_CARD_READY 0xC4 |
181 #define UICC_CARD_STATUS_GET 0xC5 |
185 #define UICC_CARD_STATUS_GET 0xC5 |
182 #define UICC_SIMLOCK_ACTIVE 0xD0 |
186 #define UICC_CARD_REJECTED 0xC8 |
|
187 #define UICC_CARD_INFO_GET 0xC9 |
|
188 #define UICC_APDU_SAP_ACTIVATE 0xE1 |
|
189 #define UICC_APDU_SAP_DEACTIVATE 0xE2 |
|
190 #define UICC_APDU_SAP_ATR_GET 0xE3 |
|
191 #define UICC_APDU_SAP_COLD_RESET 0xE4 |
|
192 #define UICC_APDU_SAP_WARM_RESET 0xE5 |
|
193 #define UICC_APDU_SAP_APDU_SEND 0xE6 |
|
194 #define UICC_APDU_SAP_RECOVERY 0xE7 |
183 |
195 |
184 //ConstantTable for UICC_REFRESH_STATUS_TABLE |
196 //ConstantTable for UICC_REFRESH_STATUS_TABLE |
185 #define UICC_REFRESH_OK 0x01 |
197 #define UICC_REFRESH_OK 0x01 |
186 #define UICC_REFRESH_NOT_OK 0x02 |
198 #define UICC_REFRESH_NOT_OK 0x02 |
187 #define UICC_REFRESH_DONE 0x03 |
199 #define UICC_REFRESH_DONE 0x03 |
188 |
200 |
189 //ConstantTable for UICC_SIMLOCK_STATUS_TABLE |
201 //ConstantTable for UICC_SIMLOCK_STATUS_TABLE |
190 #define UICC_SIMLOCK_STATUS_ACTIVE 0x01 |
202 |
191 #define UICC_SIMLOCK_STATUS_INACTIVE 0x02 |
203 //ConstantTable for UICC_APDU_SAP_STATUS_TABLE |
|
204 #define UICC_APDU_SAP_OK 0x01 |
|
205 #define UICC_APDU_SAP_FAIL 0x02 |
|
206 #define UICC_APDU_SAP_CARD_ERROR 0x03 |
|
207 |
|
208 //ConstantTable for UICC_POWER_MODE_TABLE |
|
209 #define UICC_POWER_MODE_LOW 0x01 |
|
210 #define UICC_POWER_MODE_FULL 0x02 |
|
211 |
|
212 //ConstantTable for UICC_VOLTAGE_CLASS_TABLE |
|
213 #define UICC_VOLTAGE_CLASS_NOT_AVAILABLE 0x00 |
|
214 #define UICC_VOLTAGE_CLASS_A 0x50 |
|
215 #define UICC_VOLTAGE_CLASS_B 0x30 |
|
216 #define UICC_VOLTAGE_CLASS_C 0x18 |
|
217 |
|
218 //ConstantTable for UICC_CLF_IF_SUPPORT_TABLE |
|
219 #define UICC_CLF_IF_NOT_SUPPORTED 0x01 |
|
220 #define UICC_CLF_IF_SUPPORTED 0x02 |
|
221 |
|
222 //ConstantTable for UICC_CARD_REJECT_CAUSE_TABLE |
|
223 #define UICC_CARD_REJECT_CAUSE_NOT_AVAILABLE 0x00 |
|
224 #define UICC_CARD_REJECT_CAUSE_SIMLOCK 0x01 |
|
225 #define UICC_CARD_REJECT_CAUSE_SW_6F00 0x02 |
|
226 |
|
227 //ConstantTable for UICC_PROTOCOL_TABLE |
|
228 #define UICC_PROTOCOL_NOT_USED 0x00 |
|
229 #define UICC_PROTOCOL_NO_PREFERENCE 0x01 |
|
230 #define UICC_PROTOCOL_T0 0x02 |
|
231 #define UICC_PROTOCOL_T1 0x03 |
192 |
232 |
193 |
233 |
194 //SUBBLOCKS |
234 //SUBBLOCKS |
|
235 |
|
236 |
|
237 //Definition for UICC_SB_SHUT_DOWN_CONFIG |
|
238 #define UICC_SB_SHUT_DOWN_CONFIG 0x23 |
|
239 #define UICC_SB_SHUT_DOWN_CONFIG_OFFSET_SBID 0 //size 2 byte(s) |
|
240 #define UICC_SB_SHUT_DOWN_CONFIG_OFFSET_SBLEN 2 //size 2 byte(s) |
|
241 #define UICC_SB_SHUT_DOWN_CONFIG_OFFSET_FILLERBYTE1 4 //size 2 byte(s) |
|
242 #define UICC_SB_SHUT_DOWN_CONFIG_OFFSET_POWERMODE 6 //size 1 byte(s) |
|
243 #define UICC_SB_SHUT_DOWN_CONFIG_OFFSET_VOLTAGECLASS 7 //size 1 byte(s) |
|
244 #define SIZE_UICC_SB_SHUT_DOWN_CONFIG 8 |
195 |
245 |
196 |
246 |
197 //Definition for UICC_SB_CARD_STATUS |
247 //Definition for UICC_SB_CARD_STATUS |
198 #define UICC_SB_CARD_STATUS 0x01 |
248 #define UICC_SB_CARD_STATUS 0x01 |
199 #define UICC_SB_CARD_STATUS_OFFSET_SBID 0 //size 2 byte(s) |
249 #define UICC_SB_CARD_STATUS_OFFSET_SBID 0 //size 2 byte(s) |
200 #define UICC_SB_CARD_STATUS_OFFSET_SBLEN 2 //size 2 byte(s) |
250 #define UICC_SB_CARD_STATUS_OFFSET_SBLEN 2 //size 2 byte(s) |
201 #define UICC_SB_CARD_STATUS_OFFSET_FILLERBYTE1 4 //size 3 byte(s) |
251 #define UICC_SB_CARD_STATUS_OFFSET_FILLERBYTE1 4 //size 3 byte(s) |
202 #define UICC_SB_CARD_STATUS_OFFSET_CARDSTATUS 7 //size 1 byte(s) |
252 #define UICC_SB_CARD_STATUS_OFFSET_CARDSTATUS 7 //size 1 byte(s) |
203 #define SIZE_UICC_SB_CARD_STATUS 8 |
253 #define SIZE_UICC_SB_CARD_STATUS 8 |
|
254 |
|
255 |
|
256 //Definition for UICC_SB_CARD_INFO |
|
257 #define UICC_SB_CARD_INFO 0x24 |
|
258 #define UICC_SB_CARD_INFO_OFFSET_SBID 0 //size 2 byte(s) |
|
259 #define UICC_SB_CARD_INFO_OFFSET_SBLEN 2 //size 2 byte(s) |
|
260 #define UICC_SB_CARD_INFO_OFFSET_FILLERBYTE1 4 //size 2 byte(s) |
|
261 #define UICC_SB_CARD_INFO_OFFSET_VOLTAGECLASS 6 //size 1 byte(s) |
|
262 #define UICC_SB_CARD_INFO_OFFSET_CLFSUPPORT 7 //size 1 byte(s) |
|
263 #define SIZE_UICC_SB_CARD_INFO 8 |
|
264 |
|
265 |
|
266 //Definition for UICC_SB_CARD_REJECT_CAUSE |
|
267 #define UICC_SB_CARD_REJECT_CAUSE 0x25 |
|
268 #define UICC_SB_CARD_REJECT_CAUSE_OFFSET_SBID 0 //size 2 byte(s) |
|
269 #define UICC_SB_CARD_REJECT_CAUSE_OFFSET_SBLEN 2 //size 2 byte(s) |
|
270 #define UICC_SB_CARD_REJECT_CAUSE_OFFSET_FILLERBYTE1 4 //size 3 byte(s) |
|
271 #define UICC_SB_CARD_REJECT_CAUSE_OFFSET_REJECTCAUSE 7 //size 1 byte(s) |
|
272 #define SIZE_UICC_SB_CARD_REJECT_CAUSE 8 |
204 |
273 |
205 |
274 |
206 //Definition for UICC_SB_CLIENT |
275 //Definition for UICC_SB_CLIENT |
207 #define UICC_SB_CLIENT 0x1F |
276 #define UICC_SB_CLIENT 0x1F |
208 #define UICC_SB_CLIENT_OFFSET_SBID 0 //size 2 byte(s) |
277 #define UICC_SB_CLIENT_OFFSET_SBID 0 //size 2 byte(s) |
286 #define UICC_SB_PIN 0x08 |
355 #define UICC_SB_PIN 0x08 |
287 #define UICC_SB_PIN_OFFSET_SBID 0 //size 2 byte(s) |
356 #define UICC_SB_PIN_OFFSET_SBID 0 //size 2 byte(s) |
288 #define UICC_SB_PIN_OFFSET_SBLEN 2 //size 2 byte(s) |
357 #define UICC_SB_PIN_OFFSET_SBLEN 2 //size 2 byte(s) |
289 #define UICC_SB_PIN_OFFSET_PINID 4 //size 1 byte(s) |
358 #define UICC_SB_PIN_OFFSET_PINID 4 //size 1 byte(s) |
290 #define UICC_SB_PIN_OFFSET_PINQUALIFIER 5 //size 1 byte(s) |
359 #define UICC_SB_PIN_OFFSET_PINQUALIFIER 5 //size 1 byte(s) |
291 #define UICC_SB_PIN_OFFSET_FILLERBYTE1 6 //size 1 byte(s) |
360 #define UICC_SB_PIN_OFFSET_LENGTH 6 //size 1 byte(s) |
292 #define UICC_SB_PIN_OFFSET_LENGTH 7 //size 1 byte(s) |
361 #define UICC_SB_PIN_OFFSET_PINCODE 7 //size 8 byte(s) |
293 #define UICC_SB_PIN_OFFSET_PINCODE 8 //size 1 byte(s) |
362 #define UICC_SB_PIN_OFFSET_FILLERBYTE1 15 //size 1 byte(s) |
294 #define UICC_SB_PIN_OFFSET_FILLERBYTE2 9 //size 1 byte(s) |
363 #define SIZE_UICC_SB_PIN 16 |
295 #define UICC_SB_PIN_OFFSET_FILLERBYTE3 10 //size 1 byte(s) |
|
296 #define UICC_SB_PIN_OFFSET_FILLERBYTE4 11 //size 1 byte(s) |
|
297 #define SIZE_UICC_SB_PIN 12 |
|
298 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
364 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
299 |
365 |
300 |
366 |
301 //Definition for UICC_SB_PIN_REF |
367 //Definition for UICC_SB_PIN_REF |
302 #define UICC_SB_PIN_REF 0x09 |
368 #define UICC_SB_PIN_REF 0x09 |
310 //Definition for UICC_SB_PUK |
376 //Definition for UICC_SB_PUK |
311 #define UICC_SB_PUK 0x0A |
377 #define UICC_SB_PUK 0x0A |
312 #define UICC_SB_PUK_OFFSET_SBID 0 //size 2 byte(s) |
378 #define UICC_SB_PUK_OFFSET_SBID 0 //size 2 byte(s) |
313 #define UICC_SB_PUK_OFFSET_SBLEN 2 //size 2 byte(s) |
379 #define UICC_SB_PUK_OFFSET_SBLEN 2 //size 2 byte(s) |
314 #define UICC_SB_PUK_OFFSET_PINID 4 //size 1 byte(s) |
380 #define UICC_SB_PUK_OFFSET_PINID 4 //size 1 byte(s) |
315 #define UICC_SB_PUK_OFFSET_FILLERBYTE1 5 //size 2 byte(s) |
381 #define UICC_SB_PUK_OFFSET_PUKLENGTH 5 //size 1 byte(s) |
316 #define UICC_SB_PUK_OFFSET_PUKLENGTH 7 //size 1 byte(s) |
382 #define UICC_SB_PUK_OFFSET_PUKCODE 6 //size 8 byte(s) |
317 #define UICC_SB_PUK_OFFSET_PUKCODE 8 //size 1 byte(s) |
383 #define UICC_SB_PUK_OFFSET_FILLERBYTE1 14 //size 2 byte(s) |
318 #define UICC_SB_PUK_OFFSET_FILLERBYTE2 9 //size 1 byte(s) |
384 #define SIZE_UICC_SB_PUK 16 |
319 #define UICC_SB_PUK_OFFSET_FILLERBYTE3 10 //size 1 byte(s) |
|
320 #define UICC_SB_PUK_OFFSET_FILLERBYTE4 11 //size 1 byte(s) |
|
321 #define SIZE_UICC_SB_PUK 12 |
|
322 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
385 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
323 |
386 |
324 |
387 |
325 //Definition for UICC_SB_PIN_SUBST |
388 //Definition for UICC_SB_PIN_SUBST |
326 #define UICC_SB_PIN_SUBST 0x0B |
389 #define UICC_SB_PIN_SUBST 0x0B |
416 #define UICC_SB_LINEAR_FIXED_OFFSET_AMOUNT 6 //size 1 byte(s) |
479 #define UICC_SB_LINEAR_FIXED_OFFSET_AMOUNT 6 //size 1 byte(s) |
417 #define UICC_SB_LINEAR_FIXED_OFFSET_FILLERBYTE1 7 //size 1 byte(s) |
480 #define UICC_SB_LINEAR_FIXED_OFFSET_FILLERBYTE1 7 //size 1 byte(s) |
418 #define SIZE_UICC_SB_LINEAR_FIXED 8 |
481 #define SIZE_UICC_SB_LINEAR_FIXED 8 |
419 |
482 |
420 |
483 |
|
484 //Definition for UICC_SB_CYCLIC |
|
485 #define UICC_SB_CYCLIC 0x26 |
|
486 #define UICC_SB_CYCLIC_OFFSET_SBID 0 //size 2 byte(s) |
|
487 #define UICC_SB_CYCLIC_OFFSET_SBLEN 2 //size 2 byte(s) |
|
488 #define UICC_SB_CYCLIC_OFFSET_RECORD 4 //size 1 byte(s) |
|
489 #define UICC_SB_CYCLIC_OFFSET_OFFSET 5 //size 1 byte(s) |
|
490 #define UICC_SB_CYCLIC_OFFSET_AMOUNT 6 //size 1 byte(s) |
|
491 #define UICC_SB_CYCLIC_OFFSET_FILLERBYTE1 7 //size 1 byte(s) |
|
492 #define SIZE_UICC_SB_CYCLIC 8 |
|
493 |
|
494 |
421 //Definition for UICC_SB_TERMINAL_PROFILE |
495 //Definition for UICC_SB_TERMINAL_PROFILE |
422 #define UICC_SB_TERMINAL_PROFILE 0x15 |
496 #define UICC_SB_TERMINAL_PROFILE 0x15 |
423 #define UICC_SB_TERMINAL_PROFILE_OFFSET_SBID 0 //size 2 byte(s) |
497 #define UICC_SB_TERMINAL_PROFILE_OFFSET_SBID 0 //size 2 byte(s) |
424 #define UICC_SB_TERMINAL_PROFILE_OFFSET_SBLEN 2 //size 2 byte(s) |
498 #define UICC_SB_TERMINAL_PROFILE_OFFSET_SBLEN 2 //size 2 byte(s) |
425 #define UICC_SB_TERMINAL_PROFILE_OFFSET_FILLERBYTE1 4 //size 2 byte(s) |
499 #define UICC_SB_TERMINAL_PROFILE_OFFSET_FILLERBYTE1 4 //size 2 byte(s) |
431 #define SIZE_UICC_SB_TERMINAL_PROFILE 12 |
505 #define SIZE_UICC_SB_TERMINAL_PROFILE 12 |
432 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
506 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
433 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly. |
507 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly. |
434 |
508 |
435 |
509 |
436 //Definition for UICC_SB_TERMINAL_SUPPORT_TABLE |
|
437 #define UICC_SB_TERMINAL_SUPPORT_TABLE 0x1E |
|
438 #define UICC_SB_TERMINAL_SUPPORT_TABLE_OFFSET_SBID 0 //size 2 byte(s) |
|
439 #define UICC_SB_TERMINAL_SUPPORT_TABLE_OFFSET_SBLEN 2 //size 2 byte(s) |
|
440 #define UICC_SB_TERMINAL_SUPPORT_TABLE_OFFSET_FILLERBYTE1 4 //size 3 byte(s) |
|
441 #define UICC_SB_TERMINAL_SUPPORT_TABLE_OFFSET_NSB 7 //size 1 byte(s) |
|
442 #define SIZE_UICC_SB_TERMINAL_SUPPORT_TABLE 8 |
|
443 |
|
444 |
|
445 //Definition for UICC_SB_TERMINAL_RESPONSE |
510 //Definition for UICC_SB_TERMINAL_RESPONSE |
446 #define UICC_SB_TERMINAL_RESPONSE 0x1D |
511 #define UICC_SB_TERMINAL_RESPONSE 0x1D |
447 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_SBID 0 //size 2 byte(s) |
512 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_SBID 0 //size 2 byte(s) |
448 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_SBLEN 2 //size 2 byte(s) |
513 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_SBLEN 2 //size 2 byte(s) |
449 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_FILLERBYTE1 4 //size 2 byte(s) |
514 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_FILLERBYTE1 4 //size 2 byte(s) |
455 #define SIZE_UICC_SB_TERMINAL_RESPONSE 12 |
520 #define SIZE_UICC_SB_TERMINAL_RESPONSE 12 |
456 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
521 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
457 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly. |
522 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly. |
458 |
523 |
459 |
524 |
|
525 //Definition for UICC_SB_ENVELOPE |
|
526 #define UICC_SB_ENVELOPE 0x21 |
|
527 #define UICC_SB_ENVELOPE_OFFSET_SBID 0 //size 2 byte(s) |
|
528 #define UICC_SB_ENVELOPE_OFFSET_SBLEN 2 //size 2 byte(s) |
|
529 #define UICC_SB_ENVELOPE_OFFSET_FILLERBYTE1 4 //size 2 byte(s) |
|
530 #define UICC_SB_ENVELOPE_OFFSET_ENVELOPELENGTH 6 //size 2 byte(s) |
|
531 #define UICC_SB_ENVELOPE_OFFSET_ENVELOPE 8 //size 1 byte(s) |
|
532 #define UICC_SB_ENVELOPE_OFFSET_FILLERBYTE2 9 //size 1 byte(s) |
|
533 #define UICC_SB_ENVELOPE_OFFSET_FILLERBYTE3 10 //size 1 byte(s) |
|
534 #define UICC_SB_ENVELOPE_OFFSET_FILLERBYTE4 11 //size 1 byte(s) |
|
535 #define SIZE_UICC_SB_ENVELOPE 12 |
|
536 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
|
537 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly. |
|
538 |
|
539 |
460 //Definition for UICC_SB_POLLING_SET |
540 //Definition for UICC_SB_POLLING_SET |
461 #define UICC_SB_POLLING_SET 0x16 |
541 #define UICC_SB_POLLING_SET 0x16 |
462 #define UICC_SB_POLLING_SET_OFFSET_SBID 0 //size 2 byte(s) |
542 #define UICC_SB_POLLING_SET_OFFSET_SBID 0 //size 2 byte(s) |
463 #define UICC_SB_POLLING_SET_OFFSET_SBLEN 2 //size 2 byte(s) |
543 #define UICC_SB_POLLING_SET_OFFSET_SBLEN 2 //size 2 byte(s) |
464 #define UICC_SB_POLLING_SET_OFFSET_POLLINT 4 //size 2 byte(s) |
544 #define UICC_SB_POLLING_SET_OFFSET_POLLINT 4 //size 2 byte(s) |
491 //Definition for UICC_SB_REFRESH_RESULT |
571 //Definition for UICC_SB_REFRESH_RESULT |
492 #define UICC_SB_REFRESH_RESULT 0x18 |
572 #define UICC_SB_REFRESH_RESULT 0x18 |
493 #define UICC_SB_REFRESH_RESULT_OFFSET_SBID 0 //size 2 byte(s) |
573 #define UICC_SB_REFRESH_RESULT_OFFSET_SBID 0 //size 2 byte(s) |
494 #define UICC_SB_REFRESH_RESULT_OFFSET_SBLEN 2 //size 2 byte(s) |
574 #define UICC_SB_REFRESH_RESULT_OFFSET_SBLEN 2 //size 2 byte(s) |
495 #define UICC_SB_REFRESH_RESULT_OFFSET_REFRESHSTATUS 4 //size 1 byte(s) |
575 #define UICC_SB_REFRESH_RESULT_OFFSET_REFRESHSTATUS 4 //size 1 byte(s) |
496 #define UICC_SB_REFRESH_RESULT_OFFSET_FILLERBYTE1 5 //size 3 byte(s) |
576 #define UICC_SB_REFRESH_RESULT_OFFSET_FILLERBYTE1 5 //size 1 byte(s) |
|
577 #define UICC_SB_REFRESH_RESULT_OFFSET_ADDITIONALINFOLENGTH 6 //size 1 byte(s) |
|
578 #define UICC_SB_REFRESH_RESULT_OFFSET_ADDITIONALINFO 7 //size 1 byte(s) |
497 #define SIZE_UICC_SB_REFRESH_RESULT 8 |
579 #define SIZE_UICC_SB_REFRESH_RESULT 8 |
|
580 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly. |
|
581 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly. |
498 |
582 |
499 |
583 |
500 //Definition for UICC_SB_APDU_ACTIONS |
584 //Definition for UICC_SB_APDU_ACTIONS |
501 #define UICC_SB_APDU_ACTIONS 0x19 |
585 #define UICC_SB_APDU_ACTIONS 0x19 |
502 #define UICC_SB_APDU_ACTIONS_OFFSET_SBID 0 //size 2 byte(s) |
586 #define UICC_SB_APDU_ACTIONS_OFFSET_SBID 0 //size 2 byte(s) |
503 #define UICC_SB_APDU_ACTIONS_OFFSET_SBLEN 2 //size 2 byte(s) |
587 #define UICC_SB_APDU_ACTIONS_OFFSET_SBLEN 2 //size 2 byte(s) |
504 #define UICC_SB_APDU_ACTIONS_OFFSET_ACTION 4 //size 1 byte(s) |
588 #define UICC_SB_APDU_ACTIONS_OFFSET_ACTION 4 //size 1 byte(s) |
505 #define UICC_SB_APDU_ACTIONS_OFFSET_FILLERBYTE1 5 //size 3 byte(s) |
589 #define UICC_SB_APDU_ACTIONS_OFFSET_PROTOCOL 5 //size 1 byte(s) |
|
590 #define UICC_SB_APDU_ACTIONS_OFFSET_FILLERBYTE1 6 //size 2 byte(s) |
506 #define SIZE_UICC_SB_APDU_ACTIONS 8 |
591 #define SIZE_UICC_SB_APDU_ACTIONS 8 |
507 |
592 |
508 #define UICC_SB_STATUS_WORD 0x0020 |
593 |
|
594 //Definition for UICC_SB_STATUS_WORD |
|
595 #define UICC_SB_STATUS_WORD 0x20 |
|
596 #define UICC_SB_STATUS_WORD_OFFSET_SBID 0 //size 2 byte(s) |
|
597 #define UICC_SB_STATUS_WORD_OFFSET_SBLEN 2 //size 2 byte(s) |
|
598 #define UICC_SB_STATUS_WORD_OFFSET_FILLERBYTE1 4 //size 2 byte(s) |
509 #define UICC_SB_STATUS_WORD_OFFSET_SW1 6 //size 1 byte(s) |
599 #define UICC_SB_STATUS_WORD_OFFSET_SW1 6 //size 1 byte(s) |
510 #define UICC_SB_STATUS_WORD_OFFSET_SW2 7 //size 1 byte(s) |
600 #define UICC_SB_STATUS_WORD_OFFSET_SW2 7 //size 1 byte(s) |
511 |
601 #define SIZE_UICC_SB_STATUS_WORD 8 |
512 //Definition for UICC_SB_OBJECT_ID |
602 |
513 #define UICC_SB_OBJECT_ID 0x1A |
603 |
514 #define UICC_SB_OBJECT_ID_OFFSET_SBID 0 //size 2 byte(s) |
604 //Definition for UICC_SB_APDU_SAP_INFO |
515 #define UICC_SB_OBJECT_ID_OFFSET_SBLEN 2 //size 2 byte(s) |
605 #define UICC_SB_APDU_SAP_INFO 0x22 |
516 #define UICC_SB_OBJECT_ID_OFFSET_OBJID 4 //size 2 byte(s) |
606 #define UICC_SB_APDU_SAP_INFO_OFFSET_SBID 0 //size 2 byte(s) |
517 #define UICC_SB_OBJECT_ID_OFFSET_DEVICEID 6 //size 1 byte(s) |
607 #define UICC_SB_APDU_SAP_INFO_OFFSET_SBLEN 2 //size 2 byte(s) |
518 #define UICC_SB_OBJECT_ID_OFFSET_FILLERBYTE1 7 //size 1 byte(s) |
608 #define UICC_SB_APDU_SAP_INFO_OFFSET_APDUSAPID 4 //size 1 byte(s) |
519 #define SIZE_UICC_SB_OBJECT_ID 8 |
609 #define UICC_SB_APDU_SAP_INFO_OFFSET_FILLERBYTE1 5 //size 3 byte(s) |
|
610 #define SIZE_UICC_SB_APDU_SAP_INFO 8 |
520 |
611 |
521 |
612 |
522 //MESSAGES |
613 //MESSAGES |
523 |
614 |
524 |
615 |
525 //Definition for UICC_REQ |
616 //Definition for UICC_REQ |
526 #define UICC_REQ 0x00 |
617 #define UICC_REQ 0x00 |
527 #define UICC_REQ_OFFSET_TRANSID 0 //size 1 byte(s) |
618 #define UICC_REQ_OFFSET_TRANSID 0 //size 1 byte(s) |
528 #define UICC_REQ_OFFSET_MESSAGEID 1 //size 1 byte(s) |
619 #define UICC_REQ_OFFSET_MESSAGEID 1 //size 1 byte(s) |
529 #define UICC_REQ_OFFSET_SERVICETYPE 2 //size 1 byte(s) |
620 #define UICC_REQ_OFFSET_SERVICETYPE 2 //size 1 byte(s) |
530 #define SIZE_UICC_REQ 3 |
621 #define UICC_REQ_OFFSET_NSB 3 //size 1 byte(s) |
|
622 #define SIZE_UICC_REQ 4 |
531 |
623 |
532 |
624 |
533 //Definition for UICC_RESP |
625 //Definition for UICC_RESP |
534 #define UICC_RESP 0x01 |
626 #define UICC_RESP 0x01 |
535 #define UICC_RESP_OFFSET_TRANSID 0 //size 1 byte(s) |
627 #define UICC_RESP_OFFSET_TRANSID 0 //size 1 byte(s) |
717 #define UICC_REFRESH_RESP_OFFSET_STATUS 3 //size 1 byte(s) |
809 #define UICC_REFRESH_RESP_OFFSET_STATUS 3 //size 1 byte(s) |
718 #define UICC_REFRESH_RESP_OFFSET_DETAILS 4 //size 1 byte(s) |
810 #define UICC_REFRESH_RESP_OFFSET_DETAILS 4 //size 1 byte(s) |
719 #define SIZE_UICC_REFRESH_RESP 5 |
811 #define SIZE_UICC_REFRESH_RESP 5 |
720 |
812 |
721 |
813 |
722 //Definition for UICC_SIMLOCK_REQ |
814 //Definition for UICC_APDU_SAP_REQ |
723 #define UICC_SIMLOCK_REQ 0x1B |
815 #define UICC_APDU_SAP_REQ 0x1E |
724 #define UICC_SIMLOCK_REQ_OFFSET_TRANSID 0 //size 1 byte(s) |
816 #define UICC_APDU_SAP_REQ_OFFSET_TRANSID 0 //size 1 byte(s) |
725 #define UICC_SIMLOCK_REQ_OFFSET_MESSAGEID 1 //size 1 byte(s) |
817 #define UICC_APDU_SAP_REQ_OFFSET_MESSAGEID 1 //size 1 byte(s) |
726 #define UICC_SIMLOCK_REQ_OFFSET_SERVICETYPE 2 //size 1 byte(s) |
818 #define UICC_APDU_SAP_REQ_OFFSET_SERVICETYPE 2 //size 1 byte(s) |
727 #define SIZE_UICC_SIMLOCK_REQ 3 |
819 #define UICC_APDU_SAP_REQ_OFFSET_STATUS 3 //size 1 byte(s) |
728 |
820 #define UICC_APDU_SAP_REQ_OFFSET_FILLERBYTE1 4 //size 3 byte(s) |
729 |
821 #define UICC_APDU_SAP_REQ_OFFSET_NSB 7 //size 1 byte(s) |
730 //Definition for UICC_SIMLOCK_RESP |
822 #define SIZE_UICC_APDU_SAP_REQ 8 |
731 #define UICC_SIMLOCK_RESP 0x1C |
823 |
732 #define UICC_SIMLOCK_RESP_OFFSET_TRANSID 0 //size 1 byte(s) |
824 |
733 #define UICC_SIMLOCK_RESP_OFFSET_MESSAGEID 1 //size 1 byte(s) |
825 //Definition for UICC_APDU_SAP_RESP |
734 #define UICC_SIMLOCK_RESP_OFFSET_SERVICETYPE 2 //size 1 byte(s) |
826 #define UICC_APDU_SAP_RESP 0x1F |
735 #define UICC_SIMLOCK_RESP_OFFSET_STATUS 3 //size 1 byte(s) |
827 #define UICC_APDU_SAP_RESP_OFFSET_TRANSID 0 //size 1 byte(s) |
736 #define UICC_SIMLOCK_RESP_OFFSET_DETAILS 4 //size 1 byte(s) |
828 #define UICC_APDU_SAP_RESP_OFFSET_MESSAGEID 1 //size 1 byte(s) |
737 #define UICC_SIMLOCK_RESP_OFFSET_SIMLOCKSTATUS 5 //size 1 byte(s) |
829 #define UICC_APDU_SAP_RESP_OFFSET_SERVICETYPE 2 //size 1 byte(s) |
738 #define SIZE_UICC_SIMLOCK_RESP 6 |
830 #define UICC_APDU_SAP_RESP_OFFSET_STATUS 3 //size 1 byte(s) |
|
831 #define UICC_APDU_SAP_RESP_OFFSET_DETAILS 4 //size 1 byte(s) |
|
832 #define SIZE_UICC_APDU_SAP_RESP 5 |
739 |
833 |
740 |
834 |
741 //Definition for UICC_APPLICATION_IND |
835 //Definition for UICC_APPLICATION_IND |
742 #define UICC_APPLICATION_IND 0x08 |
836 #define UICC_APPLICATION_IND 0x08 |
743 #define UICC_APPLICATION_IND_OFFSET_TRANSID 0 //size 1 byte(s) |
837 #define UICC_APPLICATION_IND_OFFSET_TRANSID 0 //size 1 byte(s) |
787 #define UICC_PIN_IND_OFFSET_APPLID 4 //size 1 byte(s) |
883 #define UICC_PIN_IND_OFFSET_APPLID 4 //size 1 byte(s) |
788 #define UICC_PIN_IND_OFFSET_FILLERBYTE1 5 //size 3 byte(s) |
884 #define UICC_PIN_IND_OFFSET_FILLERBYTE1 5 //size 3 byte(s) |
789 #define SIZE_UICC_PIN_IND 8 |
885 #define SIZE_UICC_PIN_IND 8 |
790 |
886 |
791 |
887 |
792 //Definition for UICC_APPL_CMD_IND |
|
793 #define UICC_APPL_CMD_IND 0x0E |
|
794 #define UICC_APPL_CMD_IND_OFFSET_TRANSID 0 //size 1 byte(s) |
|
795 #define UICC_APPL_CMD_IND_OFFSET_MESSAGEID 1 //size 1 byte(s) |
|
796 #define UICC_APPL_CMD_IND_OFFSET_SERVICETYPE 2 //size 1 byte(s) |
|
797 #define UICC_APPL_CMD_IND_OFFSET_APPLID 3 //size 1 byte(s) |
|
798 #define UICC_APPL_CMD_IND_OFFSET_FILLERBYTE1 4 //size 3 byte(s) |
|
799 #define UICC_APPL_CMD_IND_OFFSET_NSB 7 //size 1 byte(s) |
|
800 #define SIZE_UICC_APPL_CMD_IND 8 |
|
801 |
|
802 |
|
803 //Definition for UICC_CAT_IND |
888 //Definition for UICC_CAT_IND |
804 #define UICC_CAT_IND 0x14 |
889 #define UICC_CAT_IND 0x14 |
805 #define UICC_CAT_IND_OFFSET_TRANSID 0 //size 1 byte(s) |
890 #define UICC_CAT_IND_OFFSET_TRANSID 0 //size 1 byte(s) |
806 #define UICC_CAT_IND_OFFSET_MESSAGEID 1 //size 1 byte(s) |
891 #define UICC_CAT_IND_OFFSET_MESSAGEID 1 //size 1 byte(s) |
807 #define UICC_CAT_IND_OFFSET_SERVICETYPE 2 //size 1 byte(s) |
892 #define UICC_CAT_IND_OFFSET_SERVICETYPE 2 //size 1 byte(s) |
808 #define UICC_CAT_IND_OFFSET_CARDTYPE 3 //size 1 byte(s) |
893 #define UICC_CAT_IND_OFFSET_CARDTYPE 3 //size 1 byte(s) |
809 #define UICC_CAT_IND_OFFSET_APPLID 4 //size 1 byte(s) |
894 #define UICC_CAT_IND_OFFSET_FILLERBYTE1 4 //size 3 byte(s) |
810 #define UICC_CAT_IND_OFFSET_FILLERBYTE1 5 //size 2 byte(s) |
|
811 #define UICC_CAT_IND_OFFSET_NSB 7 //size 1 byte(s) |
895 #define UICC_CAT_IND_OFFSET_NSB 7 //size 1 byte(s) |
812 #define SIZE_UICC_CAT_IND 8 |
896 #define SIZE_UICC_CAT_IND 8 |
813 |
897 |
814 |
898 |
815 //Definition for UICC_APDU_RESET_IND |
899 //Definition for UICC_APDU_RESET_IND |