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" : "Get Supported Messages",
29 "output" : [ { "common-ref" : "Operation Result" },
35 "size-prefix-format" : "guint16",
36 "array-element" : { "format" : "guint8" },
37 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
39 // *********************************************************************************
40 { "name" : "Read Transparent",
45 "input" : [ { "name" : "Session Information",
49 "format" : "sequence",
50 "contents" : [ { "name" : "Session Type",
52 "public-format" : "QmiUimSessionType" },
53 { "name" : "Application Identifier",
54 "format" : "string" } ] },
59 "format" : "sequence",
60 "contents" : [ { "name" : "File ID",
61 "format" : "guint16" },
62 { "name" : "File Path",
64 "array-element" : { "format" : "guint8" } } ] },
65 { "name" : "Read Information",
69 "format" : "sequence",
70 "contents" : [ { "name" : "Offset",
71 "format" : "guint16" },
73 "format" : "guint16" } ] },
74 { "name" : "Response In Indication Token",
78 "format" : "guint32" },
79 { "name" : "Encrypt Data",
84 "public-format" : "gboolean" } ],
85 "output" : [ { "common-ref" : "Operation Result" },
86 { "name" : "Card result",
90 "format" : "sequence",
91 "contents" : [ { "name" : "SW1",
92 "format" : "guint8" },
94 "format" : "guint8" } ] },
95 { "name" : "Read result",
100 "size-prefix-format" : "guint16",
101 "array-element" : { "format" : "guint8" },
102 "prerequisites" : [ { "common-ref" : "Success" } ] },
103 { "name" : "Response In Indication Token",
107 "format" : "guint32",
108 "prerequisites" : [ { "common-ref" : "Success" } ] },
109 { "name" : "Encrypted Data",
114 "public-format" : "gboolean",
115 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
117 // *********************************************************************************
118 { "name" : "Read Record",
123 "input" : [ { "name" : "Session Information",
127 "format" : "sequence",
128 "contents" : [ { "name" : "Session Type",
130 "public-format" : "QmiUimSessionType" },
131 { "name" : "Application Identifier",
132 "format" : "string" } ] },
137 "format" : "sequence",
138 "contents" : [ { "name" : "File ID",
139 "format" : "guint16" },
140 { "name" : "File Path",
142 "array-element" : { "format" : "guint8" } } ] },
147 "format" : "sequence",
148 "contents" : [ { "name" : "Record Number",
149 "format" : "guint16" },
150 { "name" : "Record Length",
151 "format" : "guint16" } ] },
152 { "name" : "Last Record",
156 "format" : "guint16" },
157 { "name" : "Response In Indication Token",
161 "format" : "guint32" } ],
162 "output" : [ { "common-ref" : "Operation Result" },
163 { "name" : "Card result",
167 "format" : "sequence",
168 "contents" : [ { "name" : "SW1",
169 "format" : "guint8" },
171 "format" : "guint8" } ] },
172 { "name" : "Read Result",
177 "size-prefix-format" : "guint16",
178 "array-element" : { "format" : "guint8" },
179 "prerequisites" : [ { "common-ref" : "Success" } ] },
180 { "name" : "Additional Read Result",
185 "size-prefix-format" : "guint16",
186 "array-element" : { "format" : "guint8" },
187 "prerequisites" : [ { "common-ref" : "Success" } ] },
188 { "name" : "Response In Indication Token",
192 "format" : "guint32",
193 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
195 // *********************************************************************************
196 { "name" : "Get File Attributes",
201 "input" : [ { "name" : "Session Information",
205 "format" : "sequence",
206 "contents" : [ { "name" : "Session Type",
208 "public-format" : "QmiUimSessionType" },
209 { "name" : "Application Identifier",
210 "format" : "string" } ] },
215 "format" : "sequence",
216 "contents" : [ { "name" : "File ID",
217 "format" : "guint16" },
218 { "name" : "File Path",
220 "array-element" : { "format" : "guint8" } } ] },
221 { "name" : "Response In Indication Token",
225 "format" : "guint32" } ],
226 "output" : [ { "common-ref" : "Operation Result" },
227 { "name" : "Card result",
231 "format" : "sequence",
232 "contents" : [ { "name" : "SW1",
233 "format" : "guint8" },
235 "format" : "guint8" } ] },
236 { "name" : "File Attributes",
240 "format" : "sequence",
241 "contents" : [ { "name" : "File Size",
242 "format" : "guint16" },
243 { "name" : "File ID",
244 "format" : "guint16" },
245 { "name" : "File Type",
247 "public-format" : "QmiUimFileType" },
248 { "name" : "Record Size",
249 "format" : "guint16" },
250 { "name" : "Record Count",
251 "format" : "guint16" },
252 { "name" : "Read Security Attributes Logic",
254 "public-format" : "QmiUimSecurityAttributeLogic" },
255 { "name" : "Read Security Attributes",
256 "format" : "guint16",
257 "public-format" : "QmiUimSecurityAttribute" },
258 { "name" : "Write Security Attributes Logic",
260 "public-format" : "QmiUimSecurityAttributeLogic" },
261 { "name" : "Write Security Attributes",
262 "format" : "guint16",
263 "public-format" : "QmiUimSecurityAttribute" },
264 { "name" : "Increase Security Attributes Logic",
266 "public-format" : "QmiUimSecurityAttributeLogic" },
267 { "name" : "Increase Security Attributes",
268 "format" : "guint16",
269 "public-format" : "QmiUimSecurityAttribute" },
270 { "name" : "Deactivate Security Attributes Logic",
272 "public-format" : "QmiUimSecurityAttributeLogic" },
273 { "name" : "Deactivate Security Attributes",
274 "format" : "guint16",
275 "public-format" : "QmiUimSecurityAttribute" },
276 { "name" : "Activate Security Attributes Logic",
278 "public-format" : "QmiUimSecurityAttributeLogic" },
279 { "name" : "Activate Security Attributes",
280 "format" : "guint16",
281 "public-format" : "QmiUimSecurityAttribute" },
282 { "name" : "Raw Data",
284 "size-prefix-format" : "guint16",
285 "array-element" : { "format" : "guint8" } } ],
286 "prerequisites" : [ { "common-ref" : "Success" } ] },
287 { "name" : "Response In Indication Token",
291 "format" : "guint32",
292 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
294 // *********************************************************************************
295 { "name" : "Set PIN Protection",
300 "input" : [ { "name" : "Session Information",
304 "format" : "sequence",
305 "contents" : [ { "name" : "Session Type",
307 "public-format" : "QmiUimSessionType" },
308 { "name" : "Application Identifier",
309 "format" : "string" } ] },
314 "format" : "sequence",
315 "contents" : [ { "name" : "PIN ID",
317 "public-format" : "QmiUimPinId" },
318 { "name" : "PIN enabled",
320 "public-format" : "gboolean" },
321 { "name" : "PIN Value",
322 "format" : "string" } ] },
323 { "name" : "Response In Indication Token",
327 "format" : "guint32" } ],
328 "output" : [ { "common-ref" : "Operation Result" },
329 { "name" : "Retries Remaining",
333 "format" : "sequence",
334 "contents" : [ { "name" : "Verify Retries Left",
335 "format" : "guint8" },
336 { "name" : "Unblock Retries Left",
337 "format" : "guint8" } ],
338 "prerequisites": [ { "common-ref" : "No Success" } ] },
339 { "name" : "Response In Indication Token",
343 "format" : "guint32",
344 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
346 // *********************************************************************************
347 { "name" : "Verify PIN",
352 "input" : [ { "name" : "Session Information",
356 "format" : "sequence",
357 "contents" : [ { "name" : "Session Type",
359 "public-format" : "QmiUimSessionType" },
360 { "name" : "Application Identifier",
361 "format" : "string" } ] },
366 "format" : "sequence",
367 "contents" : [ { "name" : "PIN ID",
369 "public-format" : "QmiUimPinId" },
370 { "name" : "PIN Value",
371 "format" : "string" } ] },
372 { "name" : "Response In Indication Token",
376 "format" : "guint32" } ],
377 "output" : [ { "common-ref" : "Operation Result" },
378 { "name" : "Retries Remaining",
382 "format" : "sequence",
383 "contents" : [ { "name" : "Verify Retries Left",
384 "format" : "guint8" },
385 { "name" : "Unblock Retries Left",
386 "format" : "guint8" } ],
387 "prerequisites": [ { "common-ref" : "No Success" } ] },
388 { "name" : "Response In Indication Token",
392 "format" : "guint32",
393 "prerequisites" : [ { "common-ref" : "Success" } ] },
394 { "name" : "Card Result",
398 "format" : "sequence",
399 "contents" : [ { "name" : "SW1",
400 "format" : "guint8" },
402 "format" : "guint8" } ] } ] },
404 // *********************************************************************************
405 { "name" : "Unblock PIN",
410 "input" : [ { "name" : "Session Information",
414 "format" : "sequence",
415 "contents" : [ { "name" : "Session Type",
417 "public-format" : "QmiUimSessionType" },
418 { "name" : "Application Identifier",
419 "format" : "string" } ] },
424 "format" : "sequence",
425 "contents" : [ { "name" : "PIN ID",
427 "public-format" : "QmiUimPinId" },
429 "format" : "string" },
430 { "name" : "New PIN",
431 "format" : "string" } ] },
432 { "name" : "Response In Indication Token",
436 "format" : "guint32" } ],
437 "output" : [ { "common-ref" : "Operation Result" },
438 { "name" : "Retries Remaining",
442 "format" : "sequence",
443 "contents" : [ { "name" : "Verify Retries Left",
444 "format" : "guint8" },
445 { "name" : "Unblock Retries Left",
446 "format" : "guint8" } ],
447 "prerequisites": [ { "common-ref" : "No Success" } ] },
448 { "name" : "Response In Indication Token",
452 "format" : "guint32",
453 "prerequisites" : [ { "common-ref" : "Success" } ] },
454 { "name" : "Card Result",
458 "format" : "sequence",
459 "contents" : [ { "name" : "SW1",
460 "format" : "guint8" },
462 "format" : "guint8" } ] } ] },
464 // *********************************************************************************
465 { "name" : "Change PIN",
470 "input" : [ { "name" : "Session Information",
474 "format" : "sequence",
475 "contents" : [ { "name" : "Session Type",
477 "public-format" : "QmiUimSessionType" },
478 { "name" : "Application Identifier",
479 "format" : "string" } ] },
484 "format" : "sequence",
485 "contents" : [ { "name" : "PIN ID",
487 "public-format" : "QmiUimPinId" },
488 { "name" : "Old PIN",
489 "format" : "string" },
490 { "name" : "New PIN",
491 "format" : "string" } ] },
492 { "name" : "Response In Indication Token",
496 "format" : "guint32" } ],
497 "output" : [ { "common-ref" : "Operation Result" },
498 { "name" : "Retries Remaining",
502 "format" : "sequence",
503 "contents" : [ { "name" : "Verify Retries Left",
504 "format" : "guint8" },
505 { "name" : "Unblock Retries Left",
506 "format" : "guint8" } ],
507 "prerequisites": [ { "common-ref" : "No Success" } ] },
508 { "name" : "Response In Indication Token",
512 "format" : "guint32",
513 "prerequisites" : [ { "common-ref" : "Success" } ] },
514 { "name" : "Card Result",
518 "format" : "sequence",
519 "contents" : [ { "name" : "SW1",
520 "format" : "guint8" },
522 "format" : "guint8" } ] } ] },
524 // *********************************************************************************
525 { "name" : "Get Card Status",
530 "output" : [ { "common-ref" : "Operation Result" },
531 { "name" : "Card Status",
535 "format" : "sequence",
536 "contents" : [ { "name" : "Index GW Primary",
537 "format" : "guint16" },
538 { "name" : "Index 1x Primary",
539 "format" : "guint16" },
540 { "name" : "Index GW Secondary ",
541 "format" : "guint16" },
542 { "name" : "Index 1x Secondary",
543 "format" : "guint16" },
546 "size-prefix-format" : "guint8",
547 "array-element" : { "name" : "Element",
549 "contents" : [ { "name" : "Card State",
551 "public-format" : "QmiUimCardState" },
552 { "name" : "UPIN State",
554 "public-format" : "QmiUimPinState" },
555 { "name" : "UPIN Retries",
556 "format" : "guint8" },
557 { "name" : "UPUK Retries",
558 "format" : "guint8" },
559 { "name" : "Error code",
561 "public-format" : "QmiUimCardError" },
562 { "name" : "Applications",
564 "size-prefix-format" : "guint8",
565 "array-element" : { "name" : "Element",
567 "contents" : [ { "name" : "Type",
569 "public-format" : "QmiUimCardApplicationType" },
572 "public-format" : "QmiUimCardApplicationState" },
573 { "name" : "Personalization State",
575 "public-format" : "QmiUimCardApplicationPersonalizationState" },
576 { "name" : "Personalization Feature",
578 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
579 { "name" : "Personalization Retries",
580 "format" : "guint8" },
581 { "name" : "Personalization Unblock Retries",
582 "format" : "guint8" },
583 { "name" : "Application Identifier Value",
585 "size-prefix-format" : "guint8",
586 "array-element" : { "format" : "guint8" } },
587 { "name" : "UPIN replaces PIN1",
589 "public-format" : "gboolean" },
590 { "name" : "PIN1 State",
592 "public-format" : "QmiUimPinState" },
593 { "name" : "PIN1 Retries",
594 "format" : "guint8" },
595 { "name" : "PUK1 Retries",
596 "format" : "guint8" },
597 { "name" : "PIN2 State",
599 "public-format" : "QmiUimPinState" },
600 { "name" : "PIN2 Retries",
601 "format" : "guint8" },
602 { "name" : "PUK2 Retries",
603 "format" : "guint8" } ] } } ] } } ] } ] }