comparison cdg211/prim/sim.pdf @ 4:56abf6cf8a0b

cdg211: cdginc/mdf/pdf files from TCS211-20070608
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 01:11:35 +0000
parents
children
comparison
equal deleted inserted replaced
3:93999a60b835 4:56abf6cf8a0b
1 ;********************************************************************************
2 ;*** File : sim.pdf
3 ;*** Creation : Fri Jun 08 13:58:30 CST 2007
4 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1
5 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002
6 ;********************************************************************************
7 ;*** Document Type : Service Access Point Specification
8 ;*** Document Name : sim
9 ;*** Document No. : 6147.108.99.113
10 ;*** Document Date : 2003-01-24
11 ;*** Document Status: BEING_PROCESSED
12 ;*** Document Author: FK
13 ;********************************************************************************
14
15
16
17 PRAGMA SRC_FILE_TIME "Thu Feb 2 12:06:02 2006"
18 PRAGMA LAST_MODIFIED "2003-01-24"
19 PRAGMA ID_AND_VERSION "6147.108.99.113"
20
21
22
23 CONST MAX_STK_CMD 256 ; Maximum length of SIM Toolkit data
24 CONST MAX_SIM_CMD 256 ; Maximum length of other SIM data
25 CONST MAX_SIM_TRANSP 262 ; Maximum length of transparent SIM command
26 CONST MAX_SIM_ATR 33 ; Maximum length of Answer to Reset
27 CONST MAX_PIN_LEN 8 ; Maximum length of a PIN string
28 CONST MAX_FILE_ID 64 ; Maximum possible number of IDs due to the coding scheme (1/4 of MAX_SIM_CMD!)
29 CONST MAX_STK_PRF 20 ; Number of bytes in Terminal Profile
30 CONST MAX_SRV_TBL 16 ; Number of bytes in SIM Service Table
31 CONST MAX_LNG_PREF 5 ; Number of bytes to be read from EF(LP)
32 CONST MAX_ECC 15 ; Number of bytes to be read from EF(ECC)
33 CONST MAX_PREF_PLMN 240 ; Number of bytes to be read from EF(PLMNsel)
34 CONST MAX_IMSI 9 ; Number of bytes to be read from EF(IMSI)
35 CONST MAX_KC 8 ; Number of bytes of Cipherinh key KC and KCGPRS
36 CONST MAX_LOCIGSM 11 ; Number of bytes to be read from EF(LOCI)
37 CONST MAX_LOCIGPRS 14 ; Number of bytes to be read from EF(LOCIGPRS)
38 CONST MAX_RAND 16 ; Number of bytes to be read rand
39 CONST MAX_SRES 4 ; Number of bytes to be read sres
40 CONST MAX_SIM_PLMN_SIZE 3 ; Number of bytes to be read for a single PLMN in SIM
41 CONST MAX_AD 4 ; Number of bytes to be read from Administrative Data
42 CONST MAX_TRMST 8 ; Number of bytes to be written to TRMST EF
43 CONST SIM_CLASS_E_BUFFER_SIZE 1500 ; Size of the send buffer in SAT class e
44 EXTERN CONST @p_gsmcom - SIM_ORIGINATING_ENTITY@ SIM_ORIGINATING_ENTITY ; mask for indicating the originating entity of a cause is SIM
45 CONST MAX_CBMID_REC 255 ; Number of bytes to be read from EF(CBMID)
46
47
48
49 VALTAB VAL_datafield
50 VAL 0x3F00 SIM_MF "main file directory (M)"
51 VAL 0x2FE2 SIM_ICCID "ICC identification (M)"
52 VAL 0x2F05 SIM_ELP "extended language preference"
53 VAL 0x7F10 SIM_DF_TELECOM "telecom directory"
54 VAL 0x6F3A SIM_ADN "abbreviated dialling numbers"
55 VAL 0x6F3B SIM_FDN "fixed dialling numbers"
56 VAL 0x6F3C SIM_SMS "short messages"
57 VAL 0x6F3D SIM_CCP "capability configuration parameters"
58 VAL 0x6F40 SIM_MSISDN "MSISDN"
59 VAL 0x6F42 SIM_SMSP "short message service parameters"
60 VAL 0x6F43 SIM_SMSS "short message status"
61 VAL 0x6F44 SIM_LND "last number dialled"
62 VAL 0x6F47 SIM_SMSR "short message status reports"
63 VAL 0x6F49 SIM_SDN "service dialling numbers"
64 VAL 0x6F4A SIM_EXT1 "extension 1"
65 VAL 0x6F4B SIM_EXT2 "extension 2"
66 VAL 0x6F4C SIM_EXT3 "extension 3"
67 VAL 0x6F4D SIM_BDN "barred dialling numbers"
68 VAL 0x6F4E SIM_EXT4 "extension 4"
69 VAL 0x6F92 SIM_ORANGE_DYN2_FLAG "Orange Proprietary"
70 VAL 0x6F98 SIM_ORANGE_CSP2 "Orange Proprietary"
71 VAL 0x6F9C SIM_ORANGE_ACM2 "Orange Proprietary"
72 VAL 0x6F9F SIM_ORANGE_DYN_FLAGS "Orange Proprietary"
73 VAL 0x7F40 SIM_DF_ORANGE "Orange Proprietary"
74 VAL 0x5F50 SIM_DF_GRAPHICS "icon graphics directory (subdirectory of 'telecom')"
75 VAL 0x4F20 SIM_IMG "icon images"
76 VAL 0x7F20 SIM_DF_GSM "gsm directory (M)"
77 VAL 0x7F21 SIM_DF_1800 "dcs 1800 directory"
78 VAL 0x7F43 SIM_DF_VI "Viag directory"
79 VAL 0x6F05 SIM_LP "language preference (M)"
80 VAL 0x6F60 SIM_VI_HZ_PARAM "Viag home zone parameters"
81 VAL 0x6F61 SIM_VI_HZ_CACHE_1 "Viag home zone Cache 1"
82 VAL 0x6F62 SIM_VI_HZ_CACHE_2 "Viag home zone Cache 2"
83 VAL 0x6F63 SIM_VI_HZ_CACHE_3 "Viag home zone Cache 3"
84 VAL 0x6F64 SIM_VI_HZ_CACHE_4 "Viag home zone Cache 4"
85 VAL 0x6F07 SIM_IMSI "international mobile subscriber identity (M)"
86 VAL 0x6F20 SIM_KC "ciphering key Kc (M)"
87 VAL 0x6F2C SIM_DCK "De-personalization Control Keys"
88 VAL 0x6F30 SIM_PLMNSEL "preferred PLMN selector"
89 VAL 0x6F31 SIM_HPLMN "HPLMN search period (M)"
90 VAL 0x6F32 SIM_CNL "Co-operative Network List"
91 VAL 0x6F37 SIM_ACMMAX "ACM maximum value"
92 VAL 0x6F38 SIM_SST "SIM service table (M)"
93 VAL 0x6F39 SIM_ACM "accumulated call meter"
94 VAL 0x6F3E SIM_GID1 "group identifier level 1"
95 VAL 0x6F3F SIM_GID2 "group identifier level 2"
96 VAL 0x6F41 SIM_PUCT "price per unit and currency"
97 VAL 0x6F45 SIM_CBMI "cell broadcast message identifier selection"
98 VAL 0x6F46 SIM_SPN "service provider name"
99 VAL 0x6F48 SIM_CBMID "cell broadcast message identifier for data download"
100 VAL 0x6F74 SIM_BCCH "broadcast control channels (M)"
101 VAL 0x6F78 SIM_ACC "access control classes (M)"
102 VAL 0x6F7B SIM_FPLMN "forbidden PLMNs (M)"
103 VAL 0x6F7E SIM_LOCI "location information (M)"
104 VAL 0x6FAD SIM_AD "administrative data (M)"
105 VAL 0x6FAE SIM_PHASE "phase identification (M)"
106 VAL 0x6FB1 SIM_VGCS "voice group call service"
107 VAL 0x6FB2 SIM_VGCSS "voice group call service status"
108 VAL 0x6FB3 SIM_VBS "voice broadcast service"
109 VAL 0x6FB4 SIM_VBSS "voice broadcast service status"
110 VAL 0x6FB5 SIM_EMLPP "enhanced multi level pre-emption and priority"
111 VAL 0x6FB6 SIM_AAEM "automatic answer for eMLPP service"
112 VAL 0x6FB7 SIM_ECC "emergency call codes"
113 VAL 0x6F50 SIM_CBMIR "cell broadcast message identifier range selection"
114 VAL 0x6F51 SIM_NIA "network's indication of alerting"
115 VAL 0x6F52 SIM_KCGPRS "ciphering key (GPRS)"
116 VAL 0x6F53 SIM_LOCGPRS "location information (GPRS)"
117 VAL 0x6F54 SIM_SUME "setup menu elements"
118 VAL 0x6FC5 SIM_PNN "PLMN network name (3GPP release 4)"
119 VAL 0x6FC6 SIM_OPL "operator PLMN list (3GPP release 4)"
120 VAL 0x6F11 SIM_CPHS_VMW "voice message waiting (CPHS)"
121 VAL 0x6F12 SIM_CPHS_SST "service string table (CPHS)"
122 VAL 0x6F13 SIM_CPHS_CFF "call forwarding flags (CPHS)"
123 VAL 0x6F14 SIM_CPHS_ONSTR "operator string name (CPHS)"
124 VAL 0x6F15 SIM_CPHS_CSP "customer service profile (CPHS)"
125 VAL 0x6F16 SIM_CPHS_CINF "CPHS information (CPHS)"
126 VAL 0x6F17 SIM_CPHS_MBXN "mailbox numbers (CPHS)"
127 VAL 0x6F18 SIM_CPHS_ONSHF "operator name shortform (CPHS)"
128 VAL 0x6F19 SIM_CPHS_INFN "information numbers (CPHS)"
129 VAL 0x5F70 SIM_DF_SOLSA "SoLSA directory (subdirectory of 'gsm')"
130 VAL 0x4F30 SIM_SAI "SoLSA access indicator"
131 VAL 0x4F31 SIM_SLL "SoLSA LSA list"
132 VAL 0xEA01 SIM_CPHS_INFN2 "information numbers (CPHS) 2 (old SIMs)"
133 VAL 0x7F66 SIM_DF_CING "1st level Directory(CINGULAR specific)"
134 VAL 0x5F30 SIM_DF2_CING "2nd level Directory(CINGULAR specific)"
135 VAL 0x4F34 SIM_CING_AHPLMN "Acting Home PLMN(CINGULAR specific)"
136 VAL 0x6FD2 SIM_CING_TRMST "terminal support table "
137
138 VALTAB VAL_cause
139 VAL 0b1000000011111111 SIM_NO_ERROR "No error (Status Code 9000, 91XX, 9FXX, 920X; USIM 63CX)"
140 VAL 0b0000000000000001 SIM_CAUSE_NO_SELECT "No EF selected (SC 9400; USIM 6986)"
141 VAL 0b0000000000000010 SIM_CAUSE_UNKN_FILE_ID "file id not found (SC 9404; USIM 6A82)"
142 VAL 0b0000000000000011 SIM_CAUSE_EF_INVALID "EF invalidated (SC 9810; USIM 6283, 6984)"
143 VAL 0b0000000000000100 SIM_CAUSE_ADDR_WRONG "Address of data invalid (SC 9402; USIM 6A83)"
144 VAL 0b0000000000000101 SIM_CAUSE_CMD_INCONSIST "Command inconsistent with file type (SC 9408; USIM 6981)"
145 VAL 0b0000000000000110 SIM_CAUSE_MAX_INCREASE "Increase: maximum reached (SC 9850)"
146 VAL 0b0000000000001000 SIM_CAUSE_CLA_WRONG "Wrong class parameter (SC 6EXX)"
147 VAL 0b0000000000001001 SIM_CAUSE_INS_WRONG "Unknown instruction code (SC 6DXX; USIM 6A81)"
148 VAL 0b0000000000001010 SIM_CAUSE_P1P2_WRONG "Incorrect parameter P1, P2 (SC 6BXX; USIM 6A86. 6A88)"
149 VAL 0b0000000000001011 SIM_CAUSE_P3_WRONG "Incorrect parameter P3 (SC 67XX; USIM 6282, 6A87)"
150 VAL 0b0000000000001100 SIM_CAUSE_CHV_NOTSET "No CHV active (SC 9802; USIM 6982)"
151 VAL 0b0000000000001101 SIM_CAUSE_CHV_VALIDATED "CHV already validated (SC 9808; USIM 6982)"
152 VAL 0b0000000000001110 SIM_CAUSE_ACCESS_PROHIBIT "Access conditions not fulfilled (SC 9804; USIM 6985)"
153 VAL 0b0000000000001111 SIM_CAUSE_OTHER_ERROR "Any other SIM error"
154 VAL 0b0000000000010000 SIM_CAUSE_PUK1_BLOCKED "PUK1 blocked (SC 9840; USIM 63C0)"
155 VAL 0b0000000000010001 SIM_CAUSE_PUK1_REMAIN1 "Wrong PUK1, 1 attempt left (SC 9804; USIM 63C1)"
156 VAL 0b0000000000010010 SIM_CAUSE_PUK1_REMAIN2 "Wrong PUK1, 2 attempts left (USIM 63C2)"
157 VAL 0b0000000000010011 SIM_CAUSE_PUK1_REMAIN3 "Wrong PUK1, 3 attempts left (USIM 63C3)"
158 VAL 0b0000000000010100 SIM_CAUSE_PUK1_REMAIN4 "Wrong PUK1, 4 attempts left (USIM 63C4)"
159 VAL 0b0000000000010101 SIM_CAUSE_PUK1_REMAIN5 "Wrong PUK1, 5 attempts left (USIM 63C5)"
160 VAL 0b0000000000010110 SIM_CAUSE_PUK1_REMAIN6 "Wrong PUK1, 6 attempts left (USIM 63C6)"
161 VAL 0b0000000000010111 SIM_CAUSE_PUK1_REMAIN7 "Wrong PUK1, 7 attempts left (USIM 63C7)"
162 VAL 0b0000000000011000 SIM_CAUSE_PUK1_REMAIN8 "Wrong PUK1, 8 attempts left (USIM 63C8)"
163 VAL 0b0000000000011001 SIM_CAUSE_PUK1_REMAIN9 "Wrong PUK1, 9 attempts left (USIM 63C9)"
164 VAL 0b0000000000011010 SIM_CAUSE_PUK1_EXPECT "PUK1 required (SC 9804, 9808; USIM 6982, 6985)"
165 VAL 0b0000000000011100 SIM_CAUSE_PIN1_BLOCKED "PIN1 blocked (SC 9840; USIM 63C0, 6983)"
166 VAL 0b0000000000011101 SIM_CAUSE_PIN1_REMAIN1 "Wrong PIN1, 1 attempt left (USIM 63C1)"
167 VAL 0b0000000000011110 SIM_CAUSE_PIN1_REMAIN2 "Wrong PIN1, 2 attempts left (USIM 63C2)"
168 VAL 0b0000000000011111 SIM_CAUSE_PIN1_EXPECT "PIN1 required (SC 9804, 9808; USIM 6982, 6985)"
169 VAL 0b0000000000100000 SIM_CAUSE_PUK2_BLOCKED "PUK2 blocked (SC 9840; USIM 63C0)"
170 VAL 0b0000000000100001 SIM_CAUSE_PUK2_REMAIN1 "Wrong PUK2, 1 attempt left (USIM 63C1)"
171 VAL 0b0000000000100010 SIM_CAUSE_PUK2_REMAIN2 "Wrong PUK2, 2 attempts left (USIM 63C2)"
172 VAL 0b0000000000100011 SIM_CAUSE_PUK2_REMAIN3 "Wrong PUK2, 3 attempts left (USIM 63C3)"
173 VAL 0b0000000000100100 SIM_CAUSE_PUK2_REMAIN4 "Wrong PUK2, 4 attempts left (USIM 63C4)"
174 VAL 0b0000000000100101 SIM_CAUSE_PUK2_REMAIN5 "Wrong PUK2, 5 attempts left (USIM 63C5)"
175 VAL 0b0000000000100110 SIM_CAUSE_PUK2_REMAIN6 "Wrong PUK2, 6 attempts left (USIM 63C6)"
176 VAL 0b0000000000100111 SIM_CAUSE_PUK2_REMAIN7 "Wrong PUK2, 7 attempts left (USIM 63C7)"
177 VAL 0b0000000000101000 SIM_CAUSE_PUK2_REMAIN8 "Wrong PUK2, 8 attempts left (USIM 63C8)"
178 VAL 0b0000000000101001 SIM_CAUSE_PUK2_REMAIN9 "Wrong PUK2, 9 attempts left (USIM 63C9)"
179 VAL 0b0000000000101010 SIM_CAUSE_PUK2_EXPECT "PUK2 required (SC 9804, 9808; USIM 6982, 6985)"
180 VAL 0b0000000000101100 SIM_CAUSE_PIN2_BLOCKED "PIN2 blocked (SC 9840; USIM 63C0, 6983)"
181 VAL 0b0000000000101101 SIM_CAUSE_PIN2_REMAIN1 "Wrong PIN2, 1 attempt left (USIM 63C1)"
182 VAL 0b0000000000101110 SIM_CAUSE_PIN2_REMAIN2 "Wrong PIN2, 2 attempts left (USIM 63C2)"
183 VAL 0b0000000000101111 SIM_CAUSE_PIN2_EXPECT "PIN1 required (SC 9804, 9808; USIM 6982, 6985)"
184 VAL 0b0000000000110001 SIM_CAUSE_SAT_BUSY "SIM Application Toolkit busy (SC 9300)"
185 VAL 0b0000000000110010 SIM_CAUSE_DNL_ERROR "SAT download error (SC 9EXX; USIM 62XX, 63XX)"
186 VAL 0b1000000000000000 SIM_CAUSE_CARD_REMOVED "SIM card removed or exchanged"
187 VAL 0b1100000000000000 SIM_CAUSE_PARAM_WRONG "Wrong parameter in primitive"
188 VAL 0b1100000000000001 SIM_CAUSE_DRV_NOCARD "SIM driver error: no card detected"
189 VAL 0b1100000000000010 SIM_CAUSE_DRV_NOINT "SIM driver error: no interrupt"
190 VAL 0b1100000000000011 SIM_CAUSE_DRV_NOATR "SIM driver error: no answer to reset"
191 VAL 0b1100000000000100 SIM_CAUSE_DRV_READ "SIM driver error: invalid response"
192 VAL 0b1100000000000101 SIM_CAUSE_DRV_XMIT "SIM driver error: unsuccessful transmission"
193 VAL 0b1100000000000110 SIM_CAUSE_DRV_OVF "SIM driver error: interrupt overflow"
194 VAL 0b1100000000000111 SIM_CAUSE_DRV_LEN "SIM driver error: incorrect size of response"
195 VAL 0b1100000000001000 SIM_CAUSE_DRV_CARDREJ "SIM driver error: card rejected (invalid properties)"
196 VAL 0b1100000000001001 SIM_CAUSE_DRV_WAIT "SIM driver error: timeout"
197 VAL 0b1100000000001010 SIM_CAUSE_DRV_ABNCASE1 "SIM driver error: abnormal case 1"
198 VAL 0b1100000000001011 SIM_CAUSE_DRV_ABNCASE2 "SIM driver error: abnormal case 2"
199 VAL 0b1100000000001100 SIM_CAUSE_DRV_RCVOVFL "SIM driver error: more than 256 bytes received"
200 VAL 0b1100000000001101 SIM_CAUSE_DRV_HWFAIL "SIM driver error: hardware failure"
201 VAL 0b1100000000001110 SIM_CAUSE_DRV_TEMPFAIL "SIM driver error: temprary failure, SIM reset required"
202
203 VALTAB VAL_op_mode
204 VAL 0 OP_NORMAL_SIM "normal SIM card"
205 VAL 1 OP_TEST_SIM "test SIM card"
206
207 VALTAB VAL_pin_cnt
208 VAL 0 CARD_BLOCKED "SIM card is blocked"
209
210 VALTAB VAL_phase
211 VAL 0 PHASE_2_AS_1_SIM "phase 2 card configured as phase 1 card"
212 VAL 1 PHASE_1_SIM "phase 1 card"
213 VAL 2 PHASE_2_SIM "phase 2 card"
214 VAL 3 PHASE_2PLUS_SIM "phase 2+ card, TP download required"
215
216 VALTAB VAL_hplmn
217 VAL 10 HPLMN_DEF "default time period for home PLMN search"
218
219 VALTAB VAL_pin_id
220 VAL 1 PHASE_2_PIN_1 "phase 2 card, PIN 1"
221 VAL 2 PHASE_2_PIN_2 "phase 2 card, PIN 2"
222 VAL 3 PHASE_2_PUK_1 "phase 2 card, PUK 1"
223 VAL 4 PHASE_2_PUK_2 "phase 2 card, PUK 2"
224
225 VALTAB VAL_source
226 VAL 0 SRC_MMI "from man machine interface"
227 VAL 1 SRC_MM "from mobility management"
228 VAL 2 SRC_SMS "from short message service"
229 VAL 3 SRC_GMM "from GPRS mobile management"
230 VAL 4 SRC_RR "from radio resource management"
231
232 VALTAB VAL_mem_cap_avail
233 VAL 0x00 SIM_SMS_MEM_FULL "SMS storage on SIM execeeded"
234 VAL 0x01 SIM_SMS_MEM_AVAIL "SMS storage on SIM available"
235 VAL 0xFF SIM_SMS_NO_MEM "SMS storage on SIM not present"
236
237 VALTAB VAL_stk_pro_file
238 VAL 0x01 SAT_TP1_PRF_DNL "Profile download (redundant definition)"
239 VAL 0x02 SAT_TP1_SMS_DNL "SMS-PP data download"
240 VAL 0x04 SAT_TP1_CB_DNL "Cell Broadcast data download"
241 VAL 0x08 SAT_TP1_MENU_SEL "Menu selection"
242 VAL 0x10 SAT_TP1_9E_XX "'9E XX' response code for SIM data download error"
243 VAL 0x20 SAT_TP1_TIMER_EXP "Timer expiration (Class 3)"
244 VAL 0x40 SAT_TP1_CC_USSD "USSD string data object supported in Call Control"
245 VAL 0x80 SAT_TP1_CC_ON_REDIAL "Call Control by SIM always performed on automatic redial"
246 VAL 0x01 SAT_TP2_CMD_RES "Command result (generic)"
247 VAL 0x02 SAT_TP2_CC "Call Control by SIM"
248 VAL 0x04 SAT_TP2_CC_CELL_ID "Cell Identity included in Call Control by SIM"
249 VAL 0x08 SAT_TP2_MOSMC "MO SM Control by SIM (Class 3)"
250 VAL 0x10 SAT_TP2_ALPHA_ID "Alpha identifier according to clause 9"
251 VAL 0x20 SAT_TP2_UCS2_ENTRY "UCS2 entry supported"
252 VAL 0x40 SAT_TP2_UCS2_DSPL "UCS2 display supported"
253 VAL 0x80 SAT_TP2_DSPL_EXT "extended display length supported (Class 3)"
254 VAL 0x01 SAT_TP3_DSPL_TXT "Proactive SIM: Display Text"
255 VAL 0x02 SAT_TP3_GET_INKEY "Proactive SIM: Get Inkey"
256 VAL 0x04 SAT_TP3_GET_INPUT "Proactive SIM: Get Input"
257 VAL 0x08 SAT_TP3_MORE_TIME "Proactive SIM: More Time"
258 VAL 0x10 SAT_TP3_PLAY_TONE "Proactive SIM: Play Tone"
259 VAL 0x20 SAT_TP3_POLL_ITV "Proactive SIM: Poll Interval"
260 VAL 0x40 SAT_TP3_POLL_OFF "Proactive SIM: Polling Off"
261 VAL 0x80 SAT_TP3_REFRESH "Proactive SIM: Refresh"
262 VAL 0x01 SAT_TP4_SEL_ITEM "Proactive SIM: Select Item"
263 VAL 0x02 SAT_TP4_SEND_SMS "Proactive SIM: Send SM"
264 VAL 0x04 SAT_TP4_SEND_SS "Proactive SIM: Send SS"
265 VAL 0x08 SAT_TP4_SEND_USSD "Proactive SIM: Send USSD (Class 3)"
266 VAL 0x10 SAT_TP4_SETUP_CALL "Proactive SIM: Set up Call"
267 VAL 0x20 SAT_TP4_SETUP_MENU "Proactive SIM: Set up Menu"
268 VAL 0x40 SAT_TP4_PLI_PLMN_IMEI "Proactive SIM: Provide Local Informaton (PLMN, Cell ID, IMEI)"
269 VAL 0x80 SAT_TP4_PLI_NMR "Proactive SIM: Provide Local Informaton (NMR)"
270 VAL 0x01 SAT_TP5_EVENT_LIST "Proactive SIM: Set up Event List (Class 3)"
271 VAL 0x02 SAT_TP5_MT_CALL "Event: Moblile Terminated Call (Class 3)"
272 VAL 0x04 SAT_TP5_CALL_CONN "Event: Call connected (Class 3)"
273 VAL 0x08 SAT_TP5_CALL_DISC "Event: Call disconnected (Class 3)"
274 VAL 0x10 SAT_TP5_LOC_STATUS "Event: Location status (Class 3)"
275 VAL 0x20 SAT_TP5_USER_ACT "Event: User activity (Class 3)"
276 VAL 0x40 SAT_TP5_SCR_AVAIL "Event: Idle screen available (Class 3)"
277 VAL 0x80 SAT_TP5_CDR_STATUS "Event: Card reader status (Class a)"
278 VAL 0x01 SAT_TP6_LANG_SEL "Event: Language Selection (Class 3)"
279 VAL 0x02 SAT_TP6_BROWS_TERM "Event: Browser Termination (Class c)"
280 VAL 0x04 SAT_TP6_DATA_AVAIL "Event: Data available (Class e)"
281 VAL 0x08 SAT_TP6_CHANNEL_STAT "Event: Channel status (Class e)"
282 VAL 0x01 SAT_TP7_PW_ON_CD "Proactive SIM: Power on Card (Class a)"
283 VAL 0x02 SAT_TP7_PW_OFF_CD "Proactive SIM: Power off Card (Class a)"
284 VAL 0x04 SAT_TP7_PF_CD_ADPU "Proactive SIM: Perform Card ADPU (Class a)"
285 VAL 0x08 SAT_TP7_GET_CDR_STATUS "Proactive SIM: Get Card Reader Status (Class a)"
286 VAL 0x10 SAT_TP7_GET_CDR_IDENT "Proactive SIM: Get Card Reader Identifier (Class a)"
287 VAL 0x01 SAT_TP8_TMNG_ST "Proactive SIM: Timer Management (start, stop) (Class 3)"
288 VAL 0x02 SAT_TP8_TMNG_VAL "Proactive SIM: Timer Management (get current value) (Class 3)"
289 VAL 0x04 SAT_TP8_PLI_DTT "Proactive SIM: Provide Local Information (date, time, tz) (Class 3)"
290 VAL 0x08 SAT_TP8_BIN_GET_INKEY "Binary choice in Get Inkey (Class 3)"
291 VAL 0x10 SAT_TP8_IDLE_TXT "Proactive SIM: Set up Idle Mode Text (Class 3)"
292 VAL 0x20 SAT_TP8_AT_CMD "Proactive SIM: Run AT command (Class b)"
293 VAL 0x40 SAT_TP8_AI2_SETUP_CALL "2nd alpha identifier in Set up Call (Class 3)"
294 VAL 0x80 SAT_TP8_CCP2_CC "2nd capability configuration parameter with Call Control (Class 3)"
295 VAL 0x01 SAT_TP9_SUST_DSPL_TXT "Sustained Display Text (Class 3)"
296 VAL 0x02 SAT_TP9_DTMF_CMD "Send DTMF Command (Class 3)"
297 VAL 0x04 SAT_TP9_BCCH_COD "BCCH coding according to subclause 12.19 (Class 3)"
298 VAL 0x08 SAT_TP9_PLI_LANG "Proactive SIM: Provide Local Information (Language) (Rel. 99)"
299 VAL 0x10 SAT_TP9_PLI_TIMING_ADV "Proactive SIM: Provide Local Information (Timing Adv ance) (Rel. 99)"
300 VAL 0x20 SAT_TP9_LANG_NOTIFY "Proactive SIM: Language Notification (Class 3)"
301 VAL 0x40 SAT_TP9_LAUNCH_BROWSER "Proactive SIM: Launch Browser (Class c)"
302 VAL 0x01 SAT_TP10_SFTKEY_SEL_ITEM "Soft key support for SELECT ITEM"
303 VAL 0x02 SAT_TP10_SFTKEY_SETUP_MENU "Soft key support for SET UP MENU"
304 VAL 0xFF SAT_TP11_MAX_NR_SFTKEY "Maximum number of soft keys available"
305 VAL 0x01 SAT_TP12_OPEN_CHANNEL "Proactive SIM: OPEN CHANNEL (Class e)"
306 VAL 0x02 SAT_TP12_CLOSE_CHANNEL "Proactive SIM: CLOSE CHANNEL (Class e)"
307 VAL 0x04 SAT_TP12_RECEIVE_DATA "Proactive SIM: RECEIVE DATA (Class e)"
308 VAL 0x08 SAT_TP12_SEND_DATA "Proactive SIM: SEND DATA (Class e)"
309 VAL 0x10 SAT_TP12_GET_CHANNEL_STAT "Proactive SIM: GET CHANNEL STATUS (Class e)"
310 VAL 0x01 SAT_TP13_CSD_SUPP_BY_ME "CSD supported by ME (Class e)"
311 VAL 0x02 SAT_TP13_GPRS_SUPP_BY_ME "GPRS supported by ME (Class e)"
312 VAL 0xE0 SAT_TP13_NR_OF_CHAN_SUPP "Number of channels supported by ME (Class e)"
313 VAL 0x1F SAT_TP14_NR_OF_CHAR_DSPL_DWN "Number of characters supported down the ME display"
314 VAL 0x80 SAT_TP14_SCRN_SIZE_PARAM "Screen sizing parameters supported by ME"
315 VAL 0x7F SAT_TP15_NR_OF_CHAR_DSPL_ACRS "Number of characters supported across the ME display"
316 VAL 0x80 SAT_TP15_VAR_SIZE_FONT "Variable size fonts supported"
317 VAL 0x01 SAT_TP16_DSPL_RESIZE "Display can be resized"
318 VAL 0x02 SAT_TP16_TEXT_WRAP "Text wrapping supported"
319 VAL 0x04 SAT_TP16_TEXT_SCROLL "Text scrolling supported"
320 VAL 0xE0 SAT_TP16_WIDTH_RDCT_MENU "Width reduction when in Menu"
321 VAL 0x01 SAT_TP17_BEARER_IND_SUPP_TCP "Bearer independent protocol supported TCP (Class e)"
322 VAL 0x02 SAT_TP17_BEARER_IND_SUPP_UDP "Bearer independent protocol supported UPD (Class e)"
323 VAL 0x0F SAT_TP19_PROT_VERS "Protocol version coded as TIA/EIA 136-123"
324
325 VALTAB VAL_proc
326 VAL 0x00 SIM_INITIALISATION "initialisation"
327 VAL 0x01 SIM_FDN_ENABLE "FDN enabling"
328 VAL 0x02 SIM_FDN_DISABLE "FDN disabling"
329 VAL 0x03 SIM_SELECT "SIM selection"
330
331 VALTAB VAL_func
332 VAL 0x00 SIM_NO_OPERATION "card is invalid"
333 VAL 0x01 SIM_ADN_ENABLED "normal GSM operation, ADN enabled"
334 VAL 0x02 SIM_FDN_ENABLED "restricted GSM operation, FDN enabled"
335 VAL 0x05 SIM_ADN_BDN_ENABLED "normal GSM operation, ADN and BDN enabled"
336 VAL 0x06 SIM_FDN_BDN_ENABLED "restricted GSM operation, FDN and BDN enabled"
337
338 VALTAB VAL_download_sms
339 VAL 0 DOWNLOAD_SMS_NO "No support of download SMS"
340 VAL 1 DOWNLOAD_SMS_YES "Support of download SMS"
341
342 VALTAB VAL_access_acm
343 VAL 0 ACCESS_ALWAYS "No PIN is needed"
344 VAL 1 ACCESS_PIN_1 "PIN 1 is needed"
345 VAL 2 ACCESS_PIN_2 "PIN 2 is needed"
346
347 VALTAB VAL_mmi_pro_file
348 VAL 0x80 SIM_MMI_ADN "MMI ADN support, if set"
349 VAL 0x40 SIM_MMI_FDN "MMI FDN support, if set"
350 VAL 0x20 SIM_MMI_BDN "MMI BDN support, if set"
351
352 VALTAB VAL_synccs
353 VAL 1 SYNC_START_CALL "Start present checks if needed during calls"
354 VAL 2 SYNC_STOP_CALL "Stop present checks if running"
355 VAL 3 SYNC_DEACTIVATE "Deactivate SIM card"
356
357 VALTAB VAL_sim_command
358 VAL 0 SIM_TRANSP_CMD "Transparent SIM Command"
359 VAL 1 SIM_READ_BINARY "Read Binary Command"
360 VAL 2 SIM_READ_RECORD "Read Record Command"
361 VAL 3 SIM_UPDATE_BINARY "Update Binary Command"
362 VAL 4 SIM_UPDATE_RECORD "Update Record Command"
363 VAL 5 SIM_STATUS "Status Command"
364 VAL 6 SIM_GET_RESPONSE "Get Response Command"
365
366 VALTAB VAL_sw1
367 VAL 0x90 SW1_SUCCESS "normal ending of the command: SW2 = '00'"
368 VAL 0x91 SW1_SUCCESS_EXTRA_INF "ditto, with extra data from proactiv SIM for ME: SW2 = lgth"
369 VAL 0x9E SW1_DATA_LGTH_BY_ERR "SW2 gives the length of respose in case of SIM downl. error"
370 VAL 0x9F SW1_SUCCESS_DATA_AVAIL "SW2 gives the length of (SIM) response data"
371 VAL 0x93 SW1_SAT_BUSY "no command execution now, further normal commands allowed"
372 VAL 0x92 SW1_MEMORY_MANAGEMENT "two cases possible depending on SW2"
373 VAL 0x94 SW1_REFRNCG_MANAGEMENT "four cases possible depending on SW2"
374 VAL 0x98 SW1_SECURTY_MANAGEMENT "six cases possible depending on SW2"
375 VAL 0x67 SW1_ERR_INCORRECT_P3 "incorrect parameter P3"
376 VAL 0x6B SW1_ERR_INCOR_P1_OR_P2 "incorrect parameter P1 or P2"
377 VAL 0x6D SW1_ERR_UNKNOWN_INSTR "unknown instruction code given in the command"
378 VAL 0x6E SW1_ERR_INSTR_CLA "wrong instruction class given in the command"
379 VAL 0x6F SW1_ERR_DIAG_OR_AUTHEN "technical problem with no diagnostic given"
380 VAL 0x00 SW2_NORMAL "normal ending of the command (SW1 = '00')"
381 VAL 0x00 SW2_256_BYTES_LGTH "SW2 gives the lengths of 256 bytes of information"
382 VAL 0x40 SW2_MEMORY_PROBLEM "memory problem: in connection with SW1 = '92'"
383 VAL 0x02 SW2_NO_EF_SELECTED "no elementary file selected: in connection with SW1 = '94'"
384 VAL 0x02 SW2_OUT_OF_RANGE "invalid adress: in connection with SW1 = '94'"
385 VAL 0x04 SW2_FILE_ID_PATT_NFOUND "file ID or pattern not found: in connection with SW1 = '94'"
386 VAL 0x08 SW2_FILE_INCON_WTH_CMD "file inconsistent with cmd: in connection with SW1 = '94'"
387 VAL 0x02 SW2_NO_CHV_INIT "no CHV initialized: in connection with SW1 = '98'"
388 VAL 0x04 SW2_ACC_FAIL "in connection with SW1 = '98': (1) acces condition not fullfilled; (2) CHV verify unsuccessful, at least one attempt left; (3) UNBLOCK CHV verify unsuccessful, at least one attempt left; (4) authentication failed"
389 VAL 0x08 SW2_CNTR_TO_CHV_STAT "in contradiction with CHV status: in conn. with SW1 = '98'"
390 VAL 0x10 SW2_CNTR_TO_INVALID_STAT "in contradiction with invalidation status: in conn. with SW1 = '98'"
391 VAL 0x40 SW2_ACC_FAIL_NO_ATTEMTP "in connection with SW1 = '98': (1) CHV verify unsuccessful, no attempt left; (2) UNBLOCK CHV verify unsuccessful, no attempt left; (3) CHV blocked; (4) UNBLOCK CHV blocked"
392 VAL 0x50 SW2_NO_INCREASE_PERF "increase cannot be performed, Max value reached: in conn. with SW1 = '98'"
393
394 VALTAB VAL_smsr_mem_cap
395 VAL 0 SIM_SMSR_DISABLE "EF(SMSR) disabled on SIM"
396 VAL 1 SIM_SMSR_ENABLE "EF(SMSR) enabled on SIM"
397
398 VALTAB VAL_fu_rsc
399 VAL 0 SIM_FU_ERROR "ME is unable to perform the command (SAT result = 20)"
400 VAL 1 SIM_FU_SUCCESS "file update is performed successfully (SAT result = 0)"
401 VAL 2 SIM_FU_SUCC_ADD "file update is performed with additional files read (SAT result = 3)"
402
403 VALTAB VAL_dti_conn
404 VAL 0 SIM_DTI_UNKNOWN "Unknown DTI link status"
405 VAL 1 SIM_DTI_CONNECT "Connect DTI link to SIM"
406 VAL 2 SIM_DTI_DISCONNECT "Disconnect DTI link from SIM"
407
408 VALTAB VAL_con_type
409 VAL 1 SIM_CON_TYPE_UDP "send and expect UDP datagrams"
410 VAL 2 SIM_CON_TYPE_IP "send and expect IP packets"
411 VAL 3 SIM_CON_TYPE_SERIAL "send and expect serial data"
412
413 VALTAB VAL_local_ip
414 VAL 0x00000000 SIM_IP_LOCAL_DYNAMIC "SIM requests IP address from UDP"
415
416 VALTAB VAL_event_data_avail
417 VAL 0 SIM_EVENT_DISABLE "do not use this event"
418 VAL 1 SIM_EVENT_ENABLE "use this event"
419 VAL 0xFF SIM_KEEP_ALIVE "reserved"
420
421 VALTAB VAL_release_time
422 VAL 0 SIM_NO_AUTO_RELEASE "do not use release timer"
423
424 VALTAB VAL_cla
425 VAL 0xA0 GSM_CLASS "GSM instruction class"
426
427 VALTAB VAL_ins_code
428 VAL 0xA4 SIM_INS_SELECT "Select Instruction"
429 VAL 0xF2 SIM_INS_STATUS "Status Instruction"
430 VAL 0xB0 SIM_INS_READ_BINARY "Read Binary Instruction"
431 VAL 0xD6 SIM_INS_UPDATE_BINARY "Update Binary Instruction"
432 VAL 0xB2 SIM_INS_READ_RECORD "Read Record Instruction"
433 VAL 0xDC SIM_INS_UPDATE_RECORD "Update Record Instruction"
434 VAL 0xA2 SIM_INS_SEEK "Seek Instruction"
435 VAL 0x32 SIM_INS_INCREASE "Increase Instruction"
436 VAL 0x20 SIM_INS_VERIFY_CHV "Verify Chv Instruction"
437 VAL 0x24 SIM_INS_CHANGE_CHV "Change Chv Instruction"
438 VAL 0x26 SIM_INS_DISABLE_CHV "Disable Chv Instruction"
439 VAL 0x28 SIM_INS_ENABLE_CHV "Ensable Chv Instruction"
440 VAL 0x2C SIM_INS_UNBLOCK_CHV "Unblock Chv Instruction"
441 VAL 0x04 SIM_INS_INVALIDATE "Invalidate Instruction"
442 VAL 0x44 SIM_INS_REHABILITATE "Rehabilitate Instruction"
443 VAL 0x88 SIM_INS_RUN_GSM_ALGTH "Run GSM Algorithm Instruczion"
444 VAL 0xC0 SIM_INS_GET_RESPONSE "Get Response Instruction"
445 VAL 0x10 SIM_INS_TERMINAL_PROFILE "Terminal Profile Instruction"
446 VAL 0xC2 SIM_INS_ENVELOPE "Envelope Instruction"
447 VAL 0x12 SIM_INS_FETCH "Fetch Instruction"
448 VAL 0x14 SIM_INS_TERMINAL_RESPONSE "Terminal Response Instruction"
449
450 VALTAB VAL_bip_conn
451 VAL 0 SIM_BIP_UNKNOWN "unknown BIP channel status"
452 VAL 1 SIM_BIP_OPEN_CHANNEL "Open bearer independent protocol channel"
453 VAL 2 SIM_BIP_CLOSE_CHANNEL "Close bearer independent protocol channel"
454 VAL 4 SIM_BIP_CHANNEL_RESUMED "BIP channel is resumed"
455 VAL 8 SIM_BIP_CHANNEL_SUSPENDED "BIP channel is suspended"
456
457 VALTAB VAL_dti_direction
458 VAL 0 SIM_DTI_NORMAL "DTI used normally"
459 VAL 1 SIM_DTI_INVERTED "DTI is inverted"
460
461 VALTAB VAL_cust_mode
462 VAL 0 SIM_CUST_MODE_NORM "Normal Behaviour"
463 VAL 1 SIM_CUST_MODE_1 "Customisation Value 1"
464
465 VALTAB VAL_user_accepts
466 VAL 0 SIM_USER_REJECTS "User Rejected"
467 VAL 1 SIM_USER_ACCEPTS "User Accepted"
468
469 VALTAB VAL_sim_num
470 VAL 0 SIM_NUM_0 "Auto Select"
471 VAL 1 SIM_NUM_1 "Select SIM 1"
472 VAL 2 SIM_NUM_2 "Select SIM 2"
473
474
475
476
477 VAR datafield "data field identification" S
478
479 VAL @p_sim - VAL_datafield@
480
481 VAR cause "error code" S
482
483 VAL @p_sim - VAL_cause@
484
485 VAR length "length of data field" B
486
487
488 VAR max_length "Maximum of length" B
489
490
491 VAR offset "offset of data field" S
492
493
494 VAR pin "personal identification number" B
495
496
497 VAR old_pin "personal identification number" B
498
499
500 VAR new_pin "personal identification number" B
501
502
503 VAR record "record number" B
504
505
506 VAR max_record "Maximum record number" B
507
508
509 VAR unblock_key "unblocking key" B
510
511
512 VAR rand "authentication parameter rand" B
513
514
515 VAR cksn "ciphering key sequence number" B
516
517
518 VAR sres "authentication parameter Sres" B
519
520
521 VAR kc "authentication parameter Kc" B
522
523
524 VAR op_mode "operation mode" B
525
526 VAL @p_sim - VAL_op_mode@
527
528 VAR c_field "length of imsi" B
529
530
531 VAR field "imsi" B
532
533
534 VAR c_acc "length of access control classes" B
535
536
537 VAR acc "access control classes" B
538
539
540 VAR c_bcch "Length of bcch information" B
541
542
543 VAR bcch "bcch information" B
544
545
546 VAR c_kc "Length of data field" B
547
548
549 VAR c_pref "Length of preferred PLMN list" B
550
551
552 VAR pref "Preferred PLMN list" B
553
554
555 VAR c_forb "length of forbidden PLMN list" B
556
557
558 VAR forb "Forbidden PLMN list" B
559
560
561 VAR pin_cnt "PIN counter" B
562
563 VAL @p_sim - VAL_pin_cnt@
564
565 VAR pin2_cnt "PIN 2 counter" B
566
567 VAL @p_sim - VAL_pin_cnt@
568
569 VAR puk_cnt "PUK counter" B
570
571 VAL @p_sim - VAL_pin_cnt@
572
573 VAR puk2_cnt "PUK 2 counter" B
574
575 VAL @p_sim - VAL_pin_cnt@
576
577 VAR phase "phase of SIM card" B
578
579 VAL @p_sim - VAL_phase@
580
581 VAR hplmn "HPLMN search period" B
582
583 VAL @p_sim - VAL_hplmn@
584
585 VAR pin_id "PIN identification" B
586
587 VAL @p_sim - VAL_pin_id@
588
589 VAR source "source process" S
590
591 VAL @p_sim - VAL_source@
592
593 VAR req_id "identifies a certain SIM toolkit procedure" B
594
595
596 VAR tp_mr "message reference" B
597
598
599 VAR mem_cap_avail "memory capacity available flag" B
600
601 VAL @p_sim - VAL_mem_cap_avail@
602
603 VAR c_loc "Length of Location Information" B
604
605
606 VAR stk_pro_file "SIM toolkit profile" B
607
608 VAL @p_sim - VAL_stk_pro_file@
609
610 VAR ec_code "Emergency call codes" B
611
612
613 VAR pref_lang "preferred languages" B
614
615
616 VAR l_cmd "command length" S
617
618
619 VAR o_cmd "command offset" S
620
621
622 VAR cmd "command data" B
623
624
625 VAR proc "procedure type" B
626
627 VAL @p_sim - VAL_proc@
628
629 VAR func "SIM card functionality" B
630
631 VAL @p_sim - VAL_func@
632
633 VAR sim_serv "SIM service table" B
634
635
636 VAR cell_identity "cell identity" S
637
638
639 VAR download_sms "Download SMS Flag" B
640
641 VAL @p_sim - VAL_download_sms@
642
643 VAR access_acm "Access ACM" B
644
645 VAL @p_sim - VAL_access_acm@
646
647 VAR access_acmmax "Access ACMMAX" B
648
649 VAL @p_sim - VAL_access_acm@
650
651 VAR access_puct "Access PUCT" B
652
653 VAL @p_sim - VAL_access_acm@
654
655 VAR trans_data "Transparent data content" B
656
657
658 VAR linear_data "Linear fixed data content" B
659
660
661 VAR mmi_pro_file "MMI profile" B
662
663 VAL @p_sim - VAL_mmi_pro_file@
664
665 VAR synccs "Synchronisation Cause" B
666
667 VAL @p_sim - VAL_synccs@
668
669 VAR sim_command "SIM Command" B
670
671 VAL @p_sim - VAL_sim_command@
672
673 VAR p1 "P1 Parameter" B
674
675
676 VAR p2 "P2 Parameter" B
677
678
679 VAR p3 "P3 Parameter" B
680
681
682 VAR sw1 "SW1 Parameter" B
683
684 VAL @p_sim - VAL_sw1@
685
686 VAR sw2 "SW2 Parameter" B
687
688 VAL @p_sim - VAL_sw1@
689
690 VAR smsr_mem_cap "Indicator for short message status report storage" B
691
692 VAL @p_sim - VAL_smsr_mem_cap@
693
694 VAR file_id "Identifier of an EF" S
695
696
697 VAR val_nr "valid entries of a file ID list" S
698
699
700 VAR fu_rsc "result code for SIM_FILE_UPDATE_IND" S
701
702 VAL @p_sim - VAL_fu_rsc@
703
704 VAR att_status "GPRS IMSI attach status" B
705
706
707 VAR loc "Location Information" B
708
709
710 VAR dti_conn "connection qualifier" B
711
712 VAL @p_sim - VAL_dti_conn@
713
714 VAR dti_direction "DTI direction" B
715
716 VAL @p_sim - VAL_dti_direction@
717
718 VAR entity_name "DTI entity name" L
719
720
721 VAR link_id "DTI link identifier" L
722
723
724 VAR con_type "connection type" B
725
726 VAL @p_sim - VAL_con_type@
727
728 VAR local_ip "local IP address" L
729
730 VAL @p_sim - VAL_local_ip@
731
732 VAR destination_ip "destination IP address" L
733
734
735 VAR bip_ch_id "BIP channel identifier" B
736
737
738 VAR event_data_avail "data available event" B
739
740 VAL @p_sim - VAL_event_data_avail@
741
742 VAR release_time "link release timeout" L
743
744 VAL @p_sim - VAL_release_time@
745
746 VAR destination_port "destination port number" S
747
748
749 VAR general_result "general result code" B
750
751
752 VAR add_info_result "additional information on result code" B
753
754
755 VAR cla "class of instruction" B
756
757 VAL @p_sim - VAL_cla@
758
759 VAR ins_code "instruction code" B
760
761 VAL @p_sim - VAL_ins_code@
762
763 VAR le "length of response" B
764
765
766 VAR atr "Answer to Reset" B
767
768
769 VAR bip_conn "bip connection qualifier" B
770
771 VAL @p_sim - VAL_bip_conn@
772
773 VAR act_hplmn "Acting HPLMN" B
774
775
776 VAR ad "Contents of Administrative Data file" B
777
778
779 VAR trmst_file "Terminal Support Table EF" B
780
781
782 VAR cust_mode "Customisation Mode" B
783
784 VAL @p_sim - VAL_cust_mode@
785
786 VAR user_accepts "User Response" B
787
788 VAL @p_sim - VAL_user_accepts@
789
790 VAR sim_num "SIM Interface Identifier" B
791
792 VAL @p_sim - VAL_sim_num@
793
794 VAR c_rec "Length of records in EF(CBMID)" B
795
796
797 VAR rec "Records in the EF(CBMID)" B
798
799
800
801
802
803 COMP imsi_field "international mobile subscriber identity"
804 {
805 c_field ; length of imsi
806 field [MAX_IMSI] ; imsi
807 }
808
809
810
811 COMP loc_info "location information"
812 {
813 c_loc ; length of location information
814 loc [MAX_LOCIGSM] ; location information
815 }
816
817
818
819 COMP acc_ctrl "access control classes"
820 {
821 c_acc ; length of access control classes
822 acc [2] ; access control classes
823 }
824
825
826
827 COMP bcch_inf "BCCH information"
828 {
829 c_bcch ; Length of bcch information
830 bcch [16] ; bcch information
831 }
832
833
834
835 COMP kc_n "Kc and cipher key sequence number"
836 {
837 c_kc ; Length of data field
838 kc [MAX_KC+1] ; Kc and ciphering key sequence number
839 }
840
841
842
843 COMP pref_plmn "Preferred PLMN list"
844 {
845 c_pref ; Length of preferred PLMN list
846 pref [MAX_PREF_PLMN] ; Preferred PLMN list
847 }
848
849
850
851 COMP forb_plmn "Forbidden PLMN list"
852 {
853 c_forb ; length of forbidden PLMN list
854 forb [12] ; Forbidden PLMN list
855 }
856
857
858
859 COMP stk_cmd "SIM toolkit command"
860 {
861 l_cmd ; command length
862 o_cmd ; command offset
863 cmd [MAX_STK_CMD] ; command data
864 }
865
866
867
868 COMP gprs_loc_info "location information"
869 {
870 c_loc ; length of location information
871 loc [MAX_LOCIGPRS] ; location information
872 }
873
874
875
876 COMP cbmid_rec "This structure contains the CBMID records"
877 {
878 rec [1..MAX_CBMID_REC] ; Primitive structure element item
879 }
880
881
882
883
884
885
886 ; SIM_READ_REQ 0x80004005
887 ; SIM_READ_CNF 0x80000005
888 ; SIM_UPDATE_REQ 0x80014005
889 ; SIM_UPDATE_CNF 0x80010005
890 ; SIM_READ_RECORD_REQ 0x80024005
891 ; SIM_READ_RECORD_CNF 0x80020005
892 ; SIM_UPDATE_RECORD_REQ 0x80044005
893 ; SIM_UPDATE_RECORD_CNF 0x80040005
894 ; SIM_INCREMENT_REQ 0x80084005
895 ; SIM_INCREMENT_CNF 0x80080005
896 ; SIM_VERIFY_PIN_REQ 0x80094005
897 ; SIM_VERIFY_PIN_CNF 0x80090005
898 ; SIM_CHANGE_PIN_REQ 0x800A4005
899 ; SIM_CHANGE_PIN_CNF 0x800A0005
900 ; SIM_DISABLE_PIN_REQ 0x800B4005
901 ; SIM_DISABLE_PIN_CNF 0x800B0005
902 ; SIM_ENABLE_PIN_REQ 0x800C4005
903 ; SIM_ENABLE_PIN_CNF 0x800C0005
904 ; SIM_UNBLOCK_REQ 0x800D4005
905 ; SIM_UNBLOCK_CNF 0x800D0005
906 ; SIM_AUTHENTICATION_REQ 0x800E4005
907 ; SIM_AUTHENTICATION_CNF 0x800E0005
908 ; SIM_MMI_INSERT_IND 0x800F0005
909 ; SIM_MM_INSERT_IND 0x80100005
910 ; SIM_REMOVE_IND 0x80110005
911 ; SIM_MM_UPDATE_REQ 0x800F4005
912 ; SIM_SYNC_REQ 0x80104005
913 ; SIM_SYNC_CNF 0x80120005
914 ; SIM_ACTIVATE_REQ 0x80114005
915 ; SIM_ACTIVATE_CNF 0x80130005
916 ; SIM_SMS_INSERT_IND 0x80140005
917 ; SIM_TOOLKIT_REQ 0x80124005
918 ; SIM_TOOLKIT_RES 0x80134005
919 ; SIM_TOOLKIT_IND 0x80150005
920 ; SIM_TOOLKIT_CNF 0x80160005
921 ; SIM_ACTIVATE_IND 0x80170005
922 ; SIM_MM_INFO_IND 0x80180005
923 ; SIM_ACCESS_REQ 0x80144005
924 ; SIM_ACCESS_CNF 0x80190005
925 ; SIM_FILE_UPDATE_IND 0x801A0005
926 ; SIM_FILE_UPDATE_RES 0x80154005
927 ; SIM_GMM_INSERT_IND 0x801B0005
928 ; SIM_GMM_UPDATE_REQ 0x80164005
929 ; SIM_DTI_REQ 0x80174005
930 ; SIM_DTI_CNF 0x801C0005
931 ; SIM_BIP_REQ 0x80184005
932 ; SIM_BIP_CNF 0x801D0005
933 ; SIM_BIP_CONFIG_REQ 0x80194005
934 ; SIM_BIP_CONFIG_CNF 0x801E0005
935 ; SIM_DTI_BIP_IND 0x801F0005
936 ; SIM_EVENTLIST_REQ 0x801A4005
937 ; SIM_EVENTLIST_CNF 0x80200005
938 ; SIM_TEST_REQ 0x80210005
939 ; SIM_TEST_CNF 0x801B4005
940 ; SIM_REFRESH_USER_RES 0x80074005
941
942
943
944 PRIM SIM_READ_REQ 0x80004005
945 {
946 source ; source
947 offset ; offset
948 datafield ; data field
949 length ; length
950 max_length ; Max length
951 }
952
953
954
955
956
957
958 PRIM SIM_READ_CNF 0x80000005
959 {
960 datafield ; data field
961 cause ; error code
962 length ; Data
963 trans_data [MAX_SIM_CMD] ; Received data
964 }
965
966
967
968
969
970
971 PRIM SIM_UPDATE_REQ 0x80014005
972 {
973 source ; source
974 offset ; offset
975 datafield ; data field
976 length ; Data
977 trans_data [MAX_SIM_CMD] ; send data
978 }
979
980
981
982
983
984
985 PRIM SIM_UPDATE_CNF 0x80010005
986 {
987 datafield ; data field
988 cause ; error code
989 }
990
991
992
993
994
995
996 PRIM SIM_READ_RECORD_REQ 0x80024005
997 {
998 source ; source
999 datafield ; data field
1000 record ; record number
1001 length ; length
1002 }
1003
1004
1005
1006
1007
1008
1009 PRIM SIM_READ_RECORD_CNF 0x80020005
1010 {
1011 datafield ; data field
1012 cause ; error code
1013 record ; record number
1014 max_record ; max record number
1015 length ; Data
1016 linear_data [MAX_SIM_CMD] ; send data
1017 }
1018
1019
1020
1021
1022
1023
1024 PRIM SIM_UPDATE_RECORD_REQ 0x80044005
1025 {
1026 source ; source
1027 datafield ; data field
1028 record ; record
1029 length ; Data
1030 linear_data [MAX_SIM_CMD] ; send data
1031 }
1032
1033
1034
1035
1036
1037
1038 PRIM SIM_UPDATE_RECORD_CNF 0x80040005
1039 {
1040 datafield ; data field
1041 record ; record
1042 cause ; error code
1043 }
1044
1045
1046
1047
1048
1049
1050 PRIM SIM_INCREMENT_REQ 0x80084005
1051 {
1052 source ; source
1053 datafield ; data field
1054 length ; Data
1055 linear_data [MAX_SIM_CMD] ; send data
1056 }
1057
1058
1059
1060
1061
1062
1063 PRIM SIM_INCREMENT_CNF 0x80080005
1064 {
1065 datafield ; data field
1066 cause ; error code
1067 length ; Data
1068 linear_data [MAX_SIM_CMD] ; send data
1069 }
1070
1071
1072
1073
1074
1075
1076 PRIM SIM_VERIFY_PIN_REQ 0x80094005
1077 {
1078 source ; source
1079 pin [MAX_PIN_LEN] ; personal identity number
1080 pin_id ; pin identification
1081 }
1082
1083
1084
1085
1086
1087
1088 PRIM SIM_VERIFY_PIN_CNF 0x80090005
1089 {
1090 cause ; error code
1091 pin_id ; pin identification
1092 pin_cnt ; pin count
1093 puk_cnt ; puk count
1094 pin2_cnt ; pin 2 count
1095 puk2_cnt ; puk 2 count
1096 }
1097
1098
1099
1100
1101
1102
1103 PRIM SIM_CHANGE_PIN_REQ 0x800A4005
1104 {
1105 source ; source
1106 old_pin [MAX_PIN_LEN] ; old personal identity number
1107 new_pin [MAX_PIN_LEN] ; new personal identity number
1108 pin_id ; pin identification
1109 }
1110
1111
1112
1113
1114
1115
1116 PRIM SIM_CHANGE_PIN_CNF 0x800A0005
1117 {
1118 cause ; error code
1119 pin_id ; pin identification
1120 pin_cnt ; pin count
1121 puk_cnt ; puk count
1122 pin2_cnt ; pin 2 count
1123 puk2_cnt ; puk 2 count
1124 }
1125
1126
1127
1128
1129
1130
1131 PRIM SIM_DISABLE_PIN_REQ 0x800B4005
1132 {
1133 source ; source
1134 pin [MAX_PIN_LEN] ; personal identity number
1135 }
1136
1137
1138
1139
1140
1141
1142 PRIM SIM_DISABLE_PIN_CNF 0x800B0005
1143 {
1144 cause ; error code
1145 pin_cnt ; pin count
1146 puk_cnt ; puk count
1147 pin2_cnt ; pin 2 count
1148 puk2_cnt ; puk 2 count
1149 }
1150
1151
1152
1153
1154
1155
1156 PRIM SIM_ENABLE_PIN_REQ 0x800C4005
1157 {
1158 source ; source
1159 pin [MAX_PIN_LEN] ; personal identity number
1160 }
1161
1162
1163
1164
1165
1166
1167 PRIM SIM_ENABLE_PIN_CNF 0x800C0005
1168 {
1169 cause ; error code
1170 pin_cnt ; pin count
1171 puk_cnt ; puk count
1172 pin2_cnt ; pin 2 count
1173 puk2_cnt ; puk 2 count
1174 }
1175
1176
1177
1178
1179
1180
1181 PRIM SIM_UNBLOCK_REQ 0x800D4005
1182 {
1183 source ; source
1184 unblock_key [MAX_PIN_LEN] ; unkblocking key
1185 pin [MAX_PIN_LEN] ; personal identity number
1186 pin_id ; personal identity number identification
1187 }
1188
1189
1190
1191
1192
1193
1194 PRIM SIM_UNBLOCK_CNF 0x800D0005
1195 {
1196 cause ; error code
1197 pin_id ; personal identity number identification
1198 pin_cnt ; pin count
1199 puk_cnt ; puk count
1200 pin2_cnt ; pin 2 count
1201 puk2_cnt ; puk 2 count
1202 }
1203
1204
1205
1206
1207
1208
1209 PRIM SIM_AUTHENTICATION_REQ 0x800E4005
1210 {
1211 source ; source
1212 rand [MAX_RAND] ; rand
1213 cksn ; ciphering key sequence number
1214 }
1215
1216
1217
1218
1219
1220
1221 PRIM SIM_AUTHENTICATION_CNF 0x800E0005
1222 {
1223 sres [MAX_SRES] ; Sres
1224 kc [MAX_KC] ; Kc
1225 }
1226
1227
1228
1229
1230
1231
1232 PRIM SIM_MMI_INSERT_IND 0x800F0005
1233 {
1234 func ; sim card functionality
1235 sim_serv [MAX_SRV_TBL] ; sim service table
1236 imsi_field ; international mobile subscriber identity
1237 pref_plmn ; preferred plmns
1238 phase ; phase
1239 access_acm ; access conditions ACM
1240 access_acmmax ; access conditions ACMMAX
1241 access_puct ; access conditions PUCT
1242 cbmid_rec ; cbmid
1243 }
1244
1245
1246
1247
1248
1249
1250 PRIM SIM_MM_INSERT_IND 0x80100005
1251 {
1252 ad [1..MAX_AD] ; administrative data
1253 imsi_field ; international mobile subscriber identity
1254 loc_info ; location info
1255 acc_ctrl ; access control
1256 bcch_inf ; bcch information
1257 kc_n ; last Kc value
1258 pref_plmn ; preferred plmns
1259 forb_plmn ; forbidden plmns
1260 phase ; phase
1261 hplmn ; hplmn time
1262 < () act_hplmn [MAX_SIM_PLMN_SIZE] > ; acting hplmn
1263 }
1264
1265
1266
1267
1268
1269
1270 PRIM SIM_REMOVE_IND 0x80110005
1271 {
1272 cause ; Error code
1273 }
1274
1275
1276
1277
1278
1279
1280 PRIM SIM_MM_UPDATE_REQ 0x800F4005
1281 {
1282 loc_info ; location info
1283 bcch_inf ; bcch information
1284 forb_plmn ; forbidden plmns
1285 cksn ; ciphering key sequence number
1286 kc [MAX_KC] ; Kc
1287 cell_identity ; cell identity
1288 }
1289
1290
1291
1292
1293
1294
1295 PRIM SIM_SYNC_REQ 0x80104005
1296 {
1297 synccs ; Sync cause
1298 }
1299
1300
1301
1302
1303
1304
1305 PRIM SIM_SYNC_CNF 0x80120005
1306 {
1307 cause ; Error code
1308 }
1309
1310
1311
1312
1313
1314
1315 PRIM SIM_ACTIVATE_REQ 0x80114005
1316 {
1317 proc ; Procedure
1318 mmi_pro_file ; Mmi profile
1319 stk_pro_file [MAX_STK_PRF] ; SIM Toolkit Profile
1320 cust_mode ; Customisation Mode
1321 sim_num ; SIM Interface Identifier
1322 < () trmst_file [MAX_TRMST] > ; Terminal Support Table
1323 }
1324
1325
1326
1327
1328
1329
1330 PRIM SIM_ACTIVATE_CNF 0x80130005
1331 {
1332 cause ; error code
1333 pin_cnt ; pin count
1334 puk_cnt ; puk count
1335 pin2_cnt ; pin 2 count
1336 puk2_cnt ; puk 2 count
1337 ec_code [MAX_ECC] ; emergency call codes
1338 pref_lang [MAX_LNG_PREF] ; preferred language
1339 sim_num ; SIM Number
1340 atr [1..MAX_SIM_ATR] ; ATR data
1341 }
1342
1343
1344
1345
1346
1347
1348 PRIM SIM_SMS_INSERT_IND 0x80140005
1349 {
1350 phase ; Phase
1351 tp_mr ; Message reference
1352 mem_cap_avail ; Memory capacity available flag
1353 download_sms ; Download SMS flag
1354 smsr_mem_cap ; Status report storage capability
1355 }
1356
1357
1358
1359
1360
1361
1362 PRIM SIM_TOOLKIT_REQ 0x80124005
1363 {
1364 source ; source
1365 req_id ; request identifier
1366 stk_cmd ; sim toolkit command
1367 }
1368
1369
1370
1371
1372
1373
1374 PRIM SIM_TOOLKIT_RES 0x80134005
1375 {
1376 stk_cmd ; sim toolkit command
1377 }
1378
1379
1380
1381
1382
1383
1384 PRIM SIM_TOOLKIT_IND 0x80150005
1385 {
1386 stk_cmd ; sim toolkit command
1387 }
1388
1389
1390
1391
1392
1393
1394 PRIM SIM_TOOLKIT_CNF 0x80160005
1395 {
1396 cause ; error code
1397 req_id ; request identifier
1398 stk_cmd ; sim toolkit command
1399 }
1400
1401
1402
1403
1404
1405
1406 PRIM SIM_ACTIVATE_IND 0x80170005
1407 {
1408 cause ; error code
1409 pin_cnt ; pin count
1410 puk_cnt ; puk count
1411 pin2_cnt ; pin 2 count
1412 puk2_cnt ; puk 2 count
1413 ec_code [MAX_ECC] ; Emergency call codes
1414 pref_lang [MAX_LNG_PREF] ; Preferred language
1415 atr [1..MAX_SIM_ATR] ; ATR data
1416 }
1417
1418
1419
1420
1421
1422
1423 PRIM SIM_MM_INFO_IND 0x80180005
1424 {
1425 pref_plmn ; preferred plmns
1426 }
1427
1428
1429
1430
1431
1432
1433 PRIM SIM_ACCESS_REQ 0x80144005
1434 {
1435 source ; source
1436 datafield ; datafield
1437 sim_command ; sim command
1438 p1 ; P1
1439 p2 ; P2
1440 p3 ; P3
1441 trans_data [0..MAX_SIM_TRANSP] ; Transparent data
1442 }
1443
1444
1445
1446
1447
1448
1449 PRIM SIM_ACCESS_CNF 0x80190005
1450 {
1451 cause ; error
1452 sw1 ; sw1
1453 sw2 ; sw2
1454 trans_data [0..MAX_SIM_CMD] ; Transparent data
1455 }
1456
1457
1458
1459
1460
1461
1462 PRIM SIM_FILE_UPDATE_IND 0x801A0005
1463 {
1464 val_nr ; Number of file IDs
1465 file_id [MAX_FILE_ID] ; File ID list
1466 }
1467
1468
1469
1470
1471
1472
1473 PRIM SIM_FILE_UPDATE_RES 0x80154005
1474 {
1475 source ; Source
1476 fu_rsc ; Result Code
1477 }
1478
1479
1480
1481
1482
1483
1484 PRIM SIM_GMM_INSERT_IND 0x801B0005
1485 {
1486 op_mode ; operation mode
1487 imsi_field ; international mobile subscriber identity
1488 loc_info ; location info
1489 gprs_loc_info ; gprs location info
1490 acc_ctrl ; access control
1491 kc_n ; last GPRS Kc value
1492 phase ; phase
1493 }
1494
1495
1496
1497
1498
1499
1500 PRIM SIM_GMM_UPDATE_REQ 0x80164005
1501 {
1502 gprs_loc_info ; GPRS location info
1503 cksn ; ciphering key sequence number
1504 kc [MAX_KC] ; Kc
1505 att_status ; IMSI attach status
1506 }
1507
1508
1509
1510
1511
1512
1513 PRIM SIM_DTI_REQ 0x80174005
1514 {
1515 link_id ; DTI link identifier
1516 dti_conn ; connection qualifier
1517 dti_direction ; DTI direction
1518 entity_name ; DTI entity name
1519 }
1520
1521
1522
1523
1524
1525
1526 PRIM SIM_DTI_CNF 0x801C0005
1527 {
1528 link_id ; DTI link identifier
1529 dti_conn ; connection qualifier
1530 }
1531
1532
1533
1534
1535
1536
1537 PRIM SIM_BIP_REQ 0x80184005
1538 {
1539 bip_ch_id ; Primitive Item
1540 bip_conn ; Primitive Item
1541 release_time ; Primitive Item
1542 add_info_result ; Primitive Item
1543 general_result ; Primitive Item
1544 }
1545
1546
1547
1548
1549
1550
1551 PRIM SIM_BIP_CNF 0x801D0005
1552 {
1553 bip_ch_id ; Primitive Item
1554 bip_conn ; Primitive Item
1555 }
1556
1557
1558
1559
1560
1561
1562 PRIM SIM_BIP_CONFIG_REQ 0x80194005
1563 {
1564 local_ip ; Primitive Item
1565 destination_ip ; Primitive Item
1566 destination_port ; Primitive Item
1567 con_type ; Primitive Item
1568 }
1569
1570
1571
1572
1573
1574
1575 PRIM SIM_BIP_CONFIG_CNF 0x801E0005
1576 {
1577 }
1578
1579
1580
1581
1582
1583
1584 PRIM SIM_DTI_BIP_IND 0x801F0005
1585 {
1586 link_id ; Primitive Item
1587 dti_conn ; Primitive Item
1588 bip_ch_id ; Primitive Item
1589 bip_conn ; Primitive Item
1590 }
1591
1592
1593
1594
1595
1596
1597 PRIM SIM_EVENTLIST_REQ 0x801A4005
1598 {
1599 event_data_avail ; data available event
1600 }
1601
1602
1603
1604
1605
1606
1607 PRIM SIM_EVENTLIST_CNF 0x80200005
1608 {
1609 event_data_avail ; data available event
1610 }
1611
1612
1613
1614
1615
1616
1617 PRIM SIM_TEST_REQ 0x80210005
1618 {
1619 cla ; class of instruction
1620 ins_code ; instruction code
1621 p1 ; Parameter P1
1622 p2 ; Parameter P2
1623 le ; length of response
1624 stk_cmd ; test data
1625 }
1626
1627
1628
1629
1630
1631
1632 PRIM SIM_TEST_CNF 0x801B4005
1633 {
1634 sw1 ; status byte 1
1635 sw2 ; status byte 2
1636 stk_cmd ; test data
1637 }
1638
1639
1640
1641
1642
1643
1644 PRIM SIM_REFRESH_USER_RES 0x80074005
1645 {
1646 user_accepts ; Primitive Item
1647 stk_cmd ; Primitive Item
1648 }
1649
1650
1651
1652
1653
1654
1655
1656
1657