3 // *********************************************************************************
7 // *********************************************************************************
8 { "name" : "QMI Client UIM",
11 // *********************************************************************************
12 { "name" : "QMI Message UIM",
13 "type" : "Message-ID-Enum" },
15 // *********************************************************************************
21 "output" : [ { "common-ref" : "Operation Result" } ] },
23 // *********************************************************************************
24 { "name" : "Read Transparent",
29 "input" : [ { "name" : "Session Information",
33 "format" : "sequence",
34 "contents" : [ { "name" : "Session Type",
36 "public-format" : "QmiUimSessionType" },
37 { "name" : "Application Identifier",
38 "format" : "string" } ] },
43 "format" : "sequence",
44 "contents" : [ { "name" : "File ID",
45 "format" : "guint16" },
46 { "name" : "File Path",
48 "array-element" : { "format" : "guint8" } } ] },
49 { "name" : "Read Information",
53 "format" : "sequence",
54 "contents" : [ { "name" : "Offset",
55 "format" : "guint16" },
57 "format" : "guint16" } ] },
58 { "name" : "Response In Indication Token",
62 "format" : "guint32" },
63 { "name" : "Encrypt Data",
68 "public-format" : "gboolean" } ],
69 "output" : [ { "common-ref" : "Operation Result" },
70 { "name" : "Card result",
74 "format" : "sequence",
75 "contents" : [ { "name" : "SW1",
76 "format" : "guint8" },
78 "format" : "guint8" } ] },
79 { "name" : "Read result",
84 "size-prefix-format" : "guint16",
85 "array-element" : { "format" : "guint8" },
86 "prerequisites" : [ { "common-ref" : "Success" } ] },
87 { "name" : "Response In Indication Token",
92 "prerequisites" : [ { "common-ref" : "Success" } ] },
93 { "name" : "Encrypted Data",
98 "public-format" : "gboolean",
99 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
101 // *********************************************************************************
102 { "name" : "Read Record",
107 "input" : [ { "name" : "Session Information",
111 "format" : "sequence",
112 "contents" : [ { "name" : "Session Type",
114 "public-format" : "QmiUimSessionType" },
115 { "name" : "Application Identifier",
116 "format" : "string" } ] },
121 "format" : "sequence",
122 "contents" : [ { "name" : "File ID",
123 "format" : "guint16" },
124 { "name" : "File Path",
126 "array-element" : { "format" : "guint8" } } ] },
131 "format" : "sequence",
132 "contents" : [ { "name" : "Record Number",
133 "format" : "guint16" },
134 { "name" : "Record Length",
135 "format" : "guint16" } ] },
136 { "name" : "Last Record",
140 "format" : "guint16" },
141 { "name" : "Response In Indication Token",
145 "format" : "guint32" } ],
146 "output" : [ { "common-ref" : "Operation Result" },
147 { "name" : "Card result",
151 "format" : "sequence",
152 "contents" : [ { "name" : "SW1",
153 "format" : "guint8" },
155 "format" : "guint8" } ] },
156 { "name" : "Read Result",
161 "size-prefix-format" : "guint16",
162 "array-element" : { "format" : "guint8" },
163 "prerequisites" : [ { "common-ref" : "Success" } ] },
164 { "name" : "Additional Read Result",
169 "size-prefix-format" : "guint16",
170 "array-element" : { "format" : "guint8" },
171 "prerequisites" : [ { "common-ref" : "Success" } ] },
172 { "name" : "Response In Indication Token",
176 "format" : "guint32",
177 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
179 // *********************************************************************************
180 { "name" : "Get File Attributes",
185 "input" : [ { "name" : "Session Information",
189 "format" : "sequence",
190 "contents" : [ { "name" : "Session Type",
192 "public-format" : "QmiUimSessionType" },
193 { "name" : "Application Identifier",
194 "format" : "string" } ] },
199 "format" : "sequence",
200 "contents" : [ { "name" : "File ID",
201 "format" : "guint16" },
202 { "name" : "File Path",
204 "array-element" : { "format" : "guint8" } } ] },
205 { "name" : "Response In Indication Token",
209 "format" : "guint32" } ],
210 "output" : [ { "common-ref" : "Operation Result" },
211 { "name" : "Card result",
215 "format" : "sequence",
216 "contents" : [ { "name" : "SW1",
217 "format" : "guint8" },
219 "format" : "guint8" } ] },
220 { "name" : "File Attributes",
224 "format" : "sequence",
225 "contents" : [ { "name" : "File Size",
226 "format" : "guint16" },
227 { "name" : "File ID",
228 "format" : "guint16" },
229 { "name" : "File Type",
231 "public-format" : "QmiUimFileType" },
232 { "name" : "Record Size",
233 "format" : "guint16" },
234 { "name" : "Record Count",
235 "format" : "guint16" },
236 { "name" : "Read Security Attributes Logic",
238 "public-format" : "QmiUimSecurityAttributeLogic" },
239 { "name" : "Read Security Attributes",
240 "format" : "guint16",
241 "public-format" : "QmiUimSecurityAttribute" },
242 { "name" : "Write Security Attributes Logic",
244 "public-format" : "QmiUimSecurityAttributeLogic" },
245 { "name" : "Write Security Attributes",
246 "format" : "guint16",
247 "public-format" : "QmiUimSecurityAttribute" },
248 { "name" : "Increase Security Attributes Logic",
250 "public-format" : "QmiUimSecurityAttributeLogic" },
251 { "name" : "Increase Security Attributes",
252 "format" : "guint16",
253 "public-format" : "QmiUimSecurityAttribute" },
254 { "name" : "Deactivate Security Attributes Logic",
256 "public-format" : "QmiUimSecurityAttributeLogic" },
257 { "name" : "Deactivate Security Attributes",
258 "format" : "guint16",
259 "public-format" : "QmiUimSecurityAttribute" },
260 { "name" : "Activate Security Attributes Logic",
262 "public-format" : "QmiUimSecurityAttributeLogic" },
263 { "name" : "Activate Security Attributes",
264 "format" : "guint16",
265 "public-format" : "QmiUimSecurityAttribute" },
266 { "name" : "Raw Data",
268 "size-prefix-format" : "guint16",
269 "array-element" : { "format" : "guint8" } } ],
270 "prerequisites" : [ { "common-ref" : "Success" } ] },
271 { "name" : "Response In Indication Token",
275 "format" : "guint32",
276 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
278 // *********************************************************************************
279 { "name" : "Get Card Status",
284 "output" : [ { "common-ref" : "Operation Result" },
285 { "name" : "Card Status",
289 "format" : "sequence",
290 "contents" : [ { "name" : "Index GW Primary",
291 "format" : "guint16" },
292 { "name" : "Index 1x Primary",
293 "format" : "guint16" },
294 { "name" : "Index GW Secondary ",
295 "format" : "guint16" },
296 { "name" : "Index 1x Secondary",
297 "format" : "guint16" },
300 "size-prefix-format" : "guint8",
301 "array-element" : { "name" : "Element",
303 "contents" : [ { "name" : "Card State",
305 "public-format" : "QmiUimCardState" },
306 { "name" : "UPIN State",
308 "public-format" : "QmiUimPinState" },
309 { "name" : "UPIN Retries",
310 "format" : "guint8" },
311 { "name" : "UPUK Retries",
312 "format" : "guint8" },
313 { "name" : "Error code",
315 "public-format" : "QmiUimCardError" },
316 { "name" : "Applications",
318 "size-prefix-format" : "guint8",
319 "array-element" : { "name" : "Element",
321 "contents" : [ { "name" : "Type",
323 "public-format" : "QmiUimCardApplicationType" },
326 "public-format" : "QmiUimCardApplicationState" },
327 { "name" : "Personalization State",
329 "public-format" : "QmiUimCardApplicationPersonalizationState" },
330 { "name" : "Personalization Feature",
332 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
333 { "name" : "Personalization Retries",
334 "format" : "guint8" },
335 { "name" : "Personalization Unblock Retries",
336 "format" : "guint8" },
337 { "name" : "Application Identifier Value",
339 "size-prefix-format" : "guint8",
340 "array-element" : { "format" : "guint8" } },
341 { "name" : "UPIN replaces PIN1",
343 "public-format" : "gboolean" },
344 { "name" : "PIN1 State",
346 "public-format" : "QmiUimPinState" },
347 { "name" : "PIN1 Retries",
348 "format" : "guint8" },
349 { "name" : "PUK1 Retries",
350 "format" : "guint8" },
351 { "name" : "PIN2 State",
353 "public-format" : "QmiUimPinState" },
354 { "name" : "PIN2 Retries",
355 "format" : "guint8" },
356 { "name" : "PUK2 Retries",
357 "format" : "guint8" } ] } } ] } } ] } ] }