annotate gsm-fw/cdg/sap/8010_136_SIMDRV_SAP.pdf @ 924:aac4d4b15d2f

gsm-fw: static DSP patch download enabled by default
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 19 Oct 2015 18:14:23 +0000
parents a39ec5bb5549
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
652
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 ;********************************************************************************
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 ;*** File : 8010_136_simdrv_sap.pdf
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 ;*** Creation : Wed Mar 11 09:57:50 CST 2009
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 ;********************************************************************************
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 ;*** Document Type : Service Access Point Specification
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 ;*** Document Name : 8010_136_simdrv_sap
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 ;*** Document No. : 8010.136.03.009
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 ;*** Document Date : 2004-06-10
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 ;*** Document Status: BEING_PROCESSED
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 ;*** Document Author: FDU
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 ;********************************************************************************
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:27:56 2007"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 PRAGMA LAST_MODIFIED "2004-06-10"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 PRAGMA ID_AND_VERSION "8010.136.03.009"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 PRAGMA PREFIX SIMDRV ; Prefix for this document
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 PRAGMA ALLWAYS_ENUM_IN_VAL_FILE YES ; Adds enumerations in the .val file.
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 PRAGMA ENABLE_GROUP YES ; Enable h-file grouping
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 PRAGMA COMPATIBILITY_DEFINES NO ; Compatible to the old #defines
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 CONST SIZE_ATR_INFO 0x21 ; The maximum length of the data returned from the ATR procedure
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 CONST MIN_RESULT 0x01 ; Minimum size of the response of any given command
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 CONST MAX_RESULT 0x100 ; Maximum size of the response of any given command
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33 CONST MIN_DATA_SIZE 0x01 ; Minimum length of a data element
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35 CONST MAX_DATA_SIZE 0xFF ; Maximum length of a data element
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37 CONST MAX_READERS 0x02 ; Maximum number of card readers supported.
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 VALTAB VAL_reset_return_val
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44 VAL 0 SIM_INSERTED "A SIM is inserted and ATR/PPS was successful"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 VAL 1 SIM_NOT_INSERTED "No SIM inserted (hardware detected)"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 VAL 2 INVALID_CARD "Card is not responding or gives unintelligible answers, communications time out."
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 VAL 3 ME_FAILURE "Power management related problems, e.g. voltage selection"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 VAL 4 IMPROPER_CALL_BACK "simdrv_register function called with pointer improperly set, e.g. NULL."
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 VAL 5 ME_READER_NOT_AVAILABLE "The reader requested is not available"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 VALTAB VAL_len
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 VAL 0x00 - 0x100 "Range of Length of Data"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 VAL 0xFFFF LENGTH_UNKNOWN "Indicating that the length expected is unknown."
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 VALTAB VAL_sw1_2
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 VAL 0x0001 ERR_NOCARD "No SIM inserted (hardware detected)"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 VAL 0x0002 ERR_NOT_RESET "A reset has not been performed on the driver with the requested Id."
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 VAL 0x0003 ERR_ME_FAIL "Unrecoverable ME failure (for instance interrupt fails to occur)"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 VAL 0x0004 ERR_RETRY_FAIL "ME/SIM communication failed after certain retries, SIM reset required"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 VAL 0x0005 ERR_PARAM_WRONG "A driver function is called with invalid parameters"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 VALTAB VAL_cla
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 VAL 0xA0 GSM_CLASS_BYTE "GSM Class byte according to [GSM 11.11 / 3GPP 51.011]"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 VAL 0x80 UMTS_CLASS_BYTE "UMTS Class byte according to [ETSI 102 221 10.1.2]"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 VAL 0x00 UICC_CLASS_BYTE "UICC Class byte according to [ISO 7816-4]"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 VALTAB VAL_ins
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 VAL 0xA4 INS_SELECT "Select Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 VAL 0xF2 INS_STATUS "Status Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 VAL 0xB0 INS_READ_BINARY "Read Binary Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 VAL 0xD6 INS_UPDATE_BINARY "Update Binary Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 VAL 0xB2 INS_READ_RECORD "Read Record Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 VAL 0xDC INS_UPDATE_RECORD "Update Record Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 VAL 0xA2 INS_SEEK "Seek Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 VAL 0x32 INS_INCREASE "Increase Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 VAL 0x20 INS_VERIFY_CHV "Verify Chv Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 VAL 0x24 INS_CHANGE_CHV "Change Chv Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82 VAL 0x26 INS_DISABLE_CHV "Disable Chv Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 VAL 0x28 INS_ENABLE_CHV "Ensable Chv Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 VAL 0x2C INS_UNBLOCK_CHV "Unblock Chv Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 VAL 0x04 INS_INVALIDATE "Invalidate Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 VAL 0x44 INS_REHABILITATE "Rehabilitate Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87 VAL 0x88 INS_AUTHENTICATE "Run GSM Algorithm (2/2.5G) / Authenticate (3G) Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 VAL 0x10 INS_TERMINAL_PROFILE "Terminal Profile Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 VAL 0xC2 INS_ENVELOPE "Envelope Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 VAL 0x12 INS_FETCH "Fetch Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 VAL 0x14 INS_TERMINAL_RESPONSE "Terminal Response Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92 VAL 0xC0 INS_GET_RESPONSE "Get Response Instruction"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 VALTAB VAL_voltage_select
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 VAL 0 REQ_VOLTAGE_SEL "The SIM reader driver shall perform voltage selection"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 VAL 1 OMIT_VOLTAGE_SEL "The SIM reader driver shall restart with the current voltage"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 VALTAB VAL_config_requested
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 VAL 0x00 OMIT_CONFIG_CHARACTERISTICS "PS Shall not retrieve Configuration Characteristics"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102 VAL 0x01 REQUEST_CONFIG_CHARACTERISTICS "PS Shall retrieve Configuration Characteristics"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 VALTAB VAL_reader_id
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106 VAL 01 - MAX_READERS "Range of Id's of readers"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 VAR insert_ptr "insert pointer" L
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 VAR remove_ptr "remove pointer" L
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 VAR atr_string "SIM Card Answer to reset string" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 VAR reset_return_val "Reset return value" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 VAL @p_8010_136_simdrv_sap - VAL_reset_return_val@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 VAR result "Result byte" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132 VAR len "Maximum length of expected data" S
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135 VAL @p_8010_136_simdrv_sap - VAL_len@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137 VAR data "Data element" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141 VAR sw1_2 "Status Words" S
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
143
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
144 VAL @p_8010_136_simdrv_sap - VAL_sw1_2@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
145
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
146 VAR cla "Class Byte" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
147 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
148
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
149 VAL @p_8010_136_simdrv_sap - VAL_cla@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
150
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
151 VAR ins "instruction code" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
152 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
153
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
154 VAL @p_8010_136_simdrv_sap - VAL_ins@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
155
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
156 VAR voltage_select "Perform Voltage Selection" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
157 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
158
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
159 VAL @p_8010_136_simdrv_sap - VAL_voltage_select@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
160
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
161 VAR p1 "Parameter 1 of the SIM APDU" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
162 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
163
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
164
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
165 VAR p2 "Parameter 2 of the SIM APDU" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
166 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
167
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
168
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
169 VAR config_requested "Configuration Characteristics requested" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
170 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
171
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
172 VAL @p_8010_136_simdrv_sap - VAL_config_requested@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
173
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
174 VAR reader_id "Reader Id" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
175 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
176
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
177 VAL @p_8010_136_simdrv_sap - VAL_reader_id@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
178
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
179 VAR uicc_characteristics "UICC Characteristics" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
180 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
181
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
182
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
183
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
184
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
185
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
186 COMP atr_string_info "SIM Card Info"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
187 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
188 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
189 atr_string [2..SIZE_ATR_INFO] ; SIM Card Answer to reset string
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
190 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
191
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
192
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
193
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
194 COMP result_info "Result Buffer"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
195 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
196 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
197 len ; Length of expected data
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
198 result DYN[MIN_RESULT..MAX_RESULT] ; Result byte
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
199 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
200
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
201
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
202
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
203 COMP data_info "Data element info"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
204 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
205 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
206 data DYN[MIN_DATA_SIZE..MAX_DATA_SIZE] ; Data element
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
207 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
208
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
209
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
210
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
211 COMP cmd_header "Transparent command header"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
212 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
213 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
214 cla ; Class Byte value
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
215 ins ; Instruction Code
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
216 p1 ; Parameter P1
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
217 p2 ; Parameter P2
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
218 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
219
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
220
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
221
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
222 COMP config_characteristics "Configuration Characteristics"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
223 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
224 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
225 uicc_characteristics ; UICC Characteristics
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
226 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
227
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
228
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
229
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
230
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
231
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
232
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
233 ; SIMDRV_DUMMY 0x80FF009A
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
234
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
235
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
236
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
237 PRIM SIMDRV_DUMMY 0x80FF009A
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
238 GROUP uicc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
239 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
240 atr_string_info PTR ; SIM Card Info
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
241 reset_return_val ; Return Value
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
242 result_info PTR ; Result Buffer
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
243 len ; Length of expected data
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
244 data_info PTR ; Update Data Element
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
245 sw1_2 ; Status Words
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
246 cla ; Class Byte
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
247 ins ; Instruction Code
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
248 cmd_header ; Transparent command header
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
249 voltage_select ; Perform Voltage Selection
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
250 p1 ; SIM Command Parameters
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
251 p2 ; SIM Command Parameters
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
252 config_requested ; Configuration Characteristics requested
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
253 config_characteristics PTR ; Configuration Characteristics
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
254 reader_id ; Reader Id
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
255 uicc_characteristics ; UICC Characteristics
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
256 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
257
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
258
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
259
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
260
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
261
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
262
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
263
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
264
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
265