2 // *********************************************************************************
6 // *********************************************************************************
7 { "name" : "QMI Client UIM",
11 // *********************************************************************************
12 { "name" : "QMI Message UIM",
13 "type" : "Message-ID-Enum" },
15 // *********************************************************************************
16 { "name" : "QMI Indication UIM",
17 "type" : "Indication-ID-Enum" },
19 // *********************************************************************************
20 { "common-ref" : "UIM Card Status",
21 "name" : "Card Status",
24 "format" : "sequence",
25 "contents" : [ { "name" : "Index GW Primary",
26 "format" : "guint16" },
27 { "name" : "Index 1x Primary",
28 "format" : "guint16" },
29 { "name" : "Index GW Secondary",
30 "format" : "guint16" },
31 { "name" : "Index 1x Secondary",
32 "format" : "guint16" },
35 "size-prefix-format" : "guint8",
36 "array-element" : { "name" : "Element",
38 "contents" : [ { "name" : "Card State",
40 "public-format" : "QmiUimCardState" },
41 { "name" : "UPIN State",
43 "public-format" : "QmiUimPinState" },
44 { "name" : "UPIN Retries",
45 "format" : "guint8" },
46 { "name" : "UPUK Retries",
47 "format" : "guint8" },
48 { "name" : "Error code",
50 "public-format" : "QmiUimCardError" },
51 { "name" : "Applications",
53 "size-prefix-format" : "guint8",
54 "array-element" : { "name" : "Element",
56 "contents" : [ { "name" : "Type",
58 "public-format" : "QmiUimCardApplicationType" },
61 "public-format" : "QmiUimCardApplicationState" },
62 { "name" : "Personalization State",
64 "public-format" : "QmiUimCardApplicationPersonalizationState" },
65 { "name" : "Personalization Feature",
67 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
68 { "name" : "Personalization Retries",
69 "format" : "guint8" },
70 { "name" : "Personalization Unblock Retries",
71 "format" : "guint8" },
72 { "name" : "Application Identifier Value",
74 "size-prefix-format" : "guint8",
75 "array-element" : { "format" : "guint8" } },
76 { "name" : "UPIN replaces PIN1",
78 "public-format" : "gboolean" },
79 { "name" : "PIN1 State",
81 "public-format" : "QmiUimPinState" },
82 { "name" : "PIN1 Retries",
83 "format" : "guint8" },
84 { "name" : "PUK1 Retries",
85 "format" : "guint8" },
86 { "name" : "PIN2 State",
88 "public-format" : "QmiUimPinState" },
89 { "name" : "PIN2 Retries",
90 "format" : "guint8" },
91 { "name" : "PUK2 Retries",
92 "format" : "guint8" } ] } } ] } } ] },
94 // *********************************************************************************
95 { "common-ref" : "UIM Session",
97 "fullname" : "Qmi UIM Session",
100 "format" : "sequence",
101 "contents" : [ { "name" : "Session Type",
103 "public-format" : "QmiUimSessionType" },
104 { "name" : "Application Identifier",
106 "size-prefix-format" : "guint8",
107 "array-element" : { "format" : "guint8" } } ] },
109 // *********************************************************************************
110 { "common-ref" : "Physical Slot Status",
111 "name" : "Physical Slot Status",
112 "fullname" : "Qmi Physical Slot Status",
116 "size-prefix-format" : "guint8",
117 "array-element" : { "name" : "Slot",
119 "contents" : [ { "name" : "Physical Card Status",
120 "format" : "guint32",
121 "public-format" : "QmiUimPhysicalCardState" },
122 { "name" : "Physical Slot Status",
123 "format" : "guint32",
124 "public-format" : "QmiUimSlotState" },
125 { "name" : "Logical Slot",
126 "format" : "guint8" },
129 "size-prefix-format" : "guint8",
130 "array-element" : { "format" : "guint8" } } ] } },
132 // *********************************************************************************
133 { "common-ref" : "Physical Slot Information",
134 "name" : "Physical Slot Information",
135 "fullname" : "Qmi Physical Slot Information",
139 "size-prefix-format" : "guint8",
140 "array-element" : { "name" : "Slot",
142 "contents" : [ { "name" : "Card Protocol",
143 "format" : "guint32",
144 "public-format" : "QmiUimCardProtocol" },
145 { "name" : "Valid Applications",
146 "format" : "guint8" },
147 { "name" : "ATR Value",
149 "size-prefix-format" : "guint8",
150 "array-element" : { "format" : "guint8" } },
151 { "name" : "Is EUICC",
153 "public-format" : "gboolean" } ] } },
155 // *********************************************************************************
156 { "common-ref" : "Slot EID Information",
157 "name" : "Slot EID Information",
158 "fullname" : "Qmi Slot EID Information",
162 "size-prefix-format" : "guint8",
163 "array-element" : { "name" : "EID",
165 "size-prefix-format" : "guint8",
166 "array-element" : { "format" : "guint8" } } },
168 // *********************************************************************************
174 "output" : [ { "common-ref" : "Operation Result" } ] },
176 // *********************************************************************************
177 { "name" : "Get Supported Messages",
182 "output" : [ { "common-ref" : "Operation Result" },
188 "size-prefix-format" : "guint16",
189 "array-element" : { "format" : "guint8" },
190 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
192 // *********************************************************************************
193 { "name" : "Read Transparent",
198 "input" : [ { "common-ref" : "UIM Session",
204 "format" : "sequence",
205 "contents" : [ { "name" : "File ID",
206 "format" : "guint16" },
207 { "name" : "File Path",
209 "array-element" : { "format" : "guint8" } } ] },
210 { "name" : "Read Information",
214 "format" : "sequence",
215 "contents" : [ { "name" : "Offset",
216 "format" : "guint16" },
218 "format" : "guint16" } ] },
219 { "name" : "Response In Indication Token",
223 "format" : "guint32" },
224 { "name" : "Encrypt Data",
229 "public-format" : "gboolean" } ],
230 "output" : [ { "common-ref" : "Operation Result" },
231 { "name" : "Card result",
235 "format" : "sequence",
236 "contents" : [ { "name" : "SW1",
237 "format" : "guint8" },
239 "format" : "guint8" } ] },
240 { "name" : "Read result",
245 "size-prefix-format" : "guint16",
246 "array-element" : { "format" : "guint8" },
247 "prerequisites" : [ { "common-ref" : "Success" } ] },
248 { "name" : "Response In Indication Token",
252 "format" : "guint32",
253 "prerequisites" : [ { "common-ref" : "Success" } ] },
254 { "name" : "Encrypted Data",
259 "public-format" : "gboolean",
260 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
262 // *********************************************************************************
263 { "name" : "Read Record",
268 "input" : [ { "common-ref" : "UIM Session",
274 "format" : "sequence",
275 "contents" : [ { "name" : "File ID",
276 "format" : "guint16" },
277 { "name" : "File Path",
279 "array-element" : { "format" : "guint8" } } ] },
284 "format" : "sequence",
285 "contents" : [ { "name" : "Record Number",
286 "format" : "guint16" },
287 { "name" : "Record Length",
288 "format" : "guint16" } ] },
289 { "name" : "Last Record",
293 "format" : "guint16" },
294 { "name" : "Response In Indication Token",
298 "format" : "guint32" } ],
299 "output" : [ { "common-ref" : "Operation Result" },
300 { "name" : "Card result",
304 "format" : "sequence",
305 "contents" : [ { "name" : "SW1",
306 "format" : "guint8" },
308 "format" : "guint8" } ] },
309 { "name" : "Read Result",
314 "size-prefix-format" : "guint16",
315 "array-element" : { "format" : "guint8" },
316 "prerequisites" : [ { "common-ref" : "Success" } ] },
317 { "name" : "Additional Read Result",
322 "size-prefix-format" : "guint16",
323 "array-element" : { "format" : "guint8" },
324 "prerequisites" : [ { "common-ref" : "Success" } ] },
325 { "name" : "Response In Indication Token",
329 "format" : "guint32",
330 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
332 // *********************************************************************************
333 { "name" : "Get File Attributes",
338 "input" : [ { "common-ref" : "UIM Session",
344 "format" : "sequence",
345 "contents" : [ { "name" : "File ID",
346 "format" : "guint16" },
347 { "name" : "File Path",
349 "array-element" : { "format" : "guint8" } } ] },
350 { "name" : "Response In Indication Token",
354 "format" : "guint32" } ],
355 "output" : [ { "common-ref" : "Operation Result" },
356 { "name" : "Card result",
360 "format" : "sequence",
361 "contents" : [ { "name" : "SW1",
362 "format" : "guint8" },
364 "format" : "guint8" } ] },
365 { "name" : "File Attributes",
369 "format" : "sequence",
370 "contents" : [ { "name" : "File Size",
371 "format" : "guint16" },
372 { "name" : "File ID",
373 "format" : "guint16" },
374 { "name" : "File Type",
376 "public-format" : "QmiUimFileType" },
377 { "name" : "Record Size",
378 "format" : "guint16" },
379 { "name" : "Record Count",
380 "format" : "guint16" },
381 { "name" : "Read Security Attributes Logic",
383 "public-format" : "QmiUimSecurityAttributeLogic" },
384 { "name" : "Read Security Attributes",
385 "format" : "guint16",
386 "public-format" : "QmiUimSecurityAttribute" },
387 { "name" : "Write Security Attributes Logic",
389 "public-format" : "QmiUimSecurityAttributeLogic" },
390 { "name" : "Write Security Attributes",
391 "format" : "guint16",
392 "public-format" : "QmiUimSecurityAttribute" },
393 { "name" : "Increase Security Attributes Logic",
395 "public-format" : "QmiUimSecurityAttributeLogic" },
396 { "name" : "Increase Security Attributes",
397 "format" : "guint16",
398 "public-format" : "QmiUimSecurityAttribute" },
399 { "name" : "Deactivate Security Attributes Logic",
401 "public-format" : "QmiUimSecurityAttributeLogic" },
402 { "name" : "Deactivate Security Attributes",
403 "format" : "guint16",
404 "public-format" : "QmiUimSecurityAttribute" },
405 { "name" : "Activate Security Attributes Logic",
407 "public-format" : "QmiUimSecurityAttributeLogic" },
408 { "name" : "Activate Security Attributes",
409 "format" : "guint16",
410 "public-format" : "QmiUimSecurityAttribute" },
411 { "name" : "Raw Data",
413 "size-prefix-format" : "guint16",
414 "array-element" : { "format" : "guint8" } } ],
415 "prerequisites" : [ { "common-ref" : "Success" } ] },
416 { "name" : "Response In Indication Token",
420 "format" : "guint32",
421 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
423 // *********************************************************************************
424 { "name" : "Set PIN Protection",
429 "input" : [ { "common-ref" : "UIM Session",
435 "format" : "sequence",
436 "contents" : [ { "name" : "PIN ID",
438 "public-format" : "QmiUimPinId" },
439 { "name" : "PIN enabled",
441 "public-format" : "gboolean" },
442 { "name" : "PIN Value",
443 "format" : "string" } ] },
444 { "name" : "Response In Indication Token",
448 "format" : "guint32" } ],
449 "output" : [ { "common-ref" : "Operation Result" },
450 { "name" : "Retries Remaining",
454 "format" : "sequence",
455 "contents" : [ { "name" : "Verify Retries Left",
456 "format" : "guint8" },
457 { "name" : "Unblock Retries Left",
458 "format" : "guint8" } ],
459 "prerequisites": [ { "common-ref" : "No Success" } ] },
460 { "name" : "Response In Indication Token",
464 "format" : "guint32",
465 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
467 // *********************************************************************************
468 { "name" : "Verify PIN",
473 "input" : [ { "common-ref" : "UIM Session",
479 "format" : "sequence",
480 "contents" : [ { "name" : "PIN ID",
482 "public-format" : "QmiUimPinId" },
483 { "name" : "PIN Value",
484 "format" : "string" } ] },
485 { "name" : "Response In Indication Token",
489 "format" : "guint32" } ],
490 "output" : [ { "common-ref" : "Operation Result" },
491 { "name" : "Retries Remaining",
495 "format" : "sequence",
496 "contents" : [ { "name" : "Verify Retries Left",
497 "format" : "guint8" },
498 { "name" : "Unblock Retries Left",
499 "format" : "guint8" } ],
500 "prerequisites": [ { "common-ref" : "No Success" } ] },
501 { "name" : "Response In Indication Token",
505 "format" : "guint32",
506 "prerequisites" : [ { "common-ref" : "Success" } ] },
507 { "name" : "Card Result",
511 "format" : "sequence",
512 "contents" : [ { "name" : "SW1",
513 "format" : "guint8" },
515 "format" : "guint8" } ] } ] },
517 // *********************************************************************************
518 { "name" : "Unblock PIN",
523 "input" : [ { "common-ref" : "UIM Session",
529 "format" : "sequence",
530 "contents" : [ { "name" : "PIN ID",
532 "public-format" : "QmiUimPinId" },
534 "format" : "string" },
535 { "name" : "New PIN",
536 "format" : "string" } ] },
537 { "name" : "Response In Indication Token",
541 "format" : "guint32" } ],
542 "output" : [ { "common-ref" : "Operation Result" },
543 { "name" : "Retries Remaining",
547 "format" : "sequence",
548 "contents" : [ { "name" : "Verify Retries Left",
549 "format" : "guint8" },
550 { "name" : "Unblock Retries Left",
551 "format" : "guint8" } ],
552 "prerequisites": [ { "common-ref" : "No Success" } ] },
553 { "name" : "Response In Indication Token",
557 "format" : "guint32",
558 "prerequisites" : [ { "common-ref" : "Success" } ] },
559 { "name" : "Card Result",
563 "format" : "sequence",
564 "contents" : [ { "name" : "SW1",
565 "format" : "guint8" },
567 "format" : "guint8" } ] } ] },
569 // *********************************************************************************
570 { "name" : "Change PIN",
575 "input" : [ { "common-ref" : "UIM Session",
581 "format" : "sequence",
582 "contents" : [ { "name" : "PIN ID",
584 "public-format" : "QmiUimPinId" },
585 { "name" : "Old PIN",
586 "format" : "string" },
587 { "name" : "New PIN",
588 "format" : "string" } ] },
589 { "name" : "Response In Indication Token",
593 "format" : "guint32" } ],
594 "output" : [ { "common-ref" : "Operation Result" },
595 { "name" : "Retries Remaining",
599 "format" : "sequence",
600 "contents" : [ { "name" : "Verify Retries Left",
601 "format" : "guint8" },
602 { "name" : "Unblock Retries Left",
603 "format" : "guint8" } ],
604 "prerequisites": [ { "common-ref" : "No Success" } ] },
605 { "name" : "Response In Indication Token",
609 "format" : "guint32",
610 "prerequisites" : [ { "common-ref" : "Success" } ] },
611 { "name" : "Card Result",
615 "format" : "sequence",
616 "contents" : [ { "name" : "SW1",
617 "format" : "guint8" },
619 "format" : "guint8" } ] } ] },
621 // *********************************************************************************
622 { "name" : "Refresh Register",
627 "input" : [ { "common-ref" : "UIM Session",
633 "format" : "sequence",
634 "contents" : [ { "name" : "Register Flag",
636 "public-format" : "gboolean" },
637 { "name" : "Vote For Init",
639 "public-format" : "gboolean" },
642 "size-prefix-format" : "guint16",
643 "array-element" : { "name" : "Element",
645 "contents" : [ { "name" : "File ID",
646 "format" : "guint16" },
649 "size-prefix-format" : "guint8",
650 "array-element" : { "format" : "guint8" } } ] } } ] } ],
651 "output" : [ { "common-ref" : "Operation Result" } ] },
653 // *********************************************************************************
654 { "name" : "Refresh Complete",
659 "input" : [ { "common-ref" : "UIM Session",
665 "format" : "sequence",
666 "contents" : [ { "name" : "Refresh Success",
668 "public-format" : "gboolean" } ] } ],
669 "output" : [ { "common-ref" : "Operation Result" } ] },
671 // *********************************************************************************
672 { "name" : "Register Events",
677 "input" : [ { "name" : "Event Registration Mask",
681 "format" : "guint32",
682 "public-format" : "QmiUimEventRegistrationFlag" } ],
683 "output" : [ { "common-ref" : "Operation Result" },
684 { "name" : "Event Registration Mask",
688 "format" : "guint32",
689 "public-format" : "QmiUimEventRegistrationFlag",
690 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
692 // *********************************************************************************
693 { "name" : "Get Card Status",
698 "output" : [ { "common-ref" : "Operation Result" },
699 { "common-ref" : "UIM Card Status",
700 "since" : "1.10" } ] },
702 // *********************************************************************************
703 { "name" : "Power Off SIM",
708 "input" : [ { "name" : "Slot",
712 "format" : "guint8" } ],
713 "output" : [ { "common-ref" : "Operation Result" } ] },
715 // *********************************************************************************
716 { "name" : "Power On SIM",
721 "input" : [ { "name" : "Slot",
725 "format" : "guint8" } ],
726 "output" : [ { "common-ref" : "Operation Result" } ] },
728 // *********************************************************************************
729 { "name" : "Card Status",
730 "type" : "Indication",
734 "output" : [ { "common-ref" : "UIM Card Status",
735 "since" : "1.22" } ] },
737 // *********************************************************************************
738 { "name" : "Refresh",
739 "type" : "Indication",
743 "output" : [ { "name" : "Event",
747 "format" : "sequence",
748 "contents" : [ { "name" : "Stage",
750 "public-format" : "QmiUimRefreshStage" },
753 "public-format" : "QmiUimRefreshMode" },
754 { "name" : "Session Type",
756 "public-format" : "QmiUimSessionType" },
757 { "name" : "Application Identifier",
759 "size-prefix-format" : "guint8",
760 "array-element" : { "format" : "guint8" } },
763 "size-prefix-format" : "guint16",
764 "array-element" : { "name" : "Element",
766 "contents" : [ { "name" : "File ID",
767 "format" : "guint16" },
770 "size-prefix-format" : "guint8",
771 "array-element" : { "format" : "guint8" } } ] } } ] } ] },
773 // *********************************************************************************
774 { "name" : "Change Provisioning Session",
779 "input" : [ { "name" : "Session Change",
783 "format" : "sequence",
784 "contents" : [ { "name" : "Session Type",
786 "public-format" : "QmiUimSessionType" },
787 { "name" : "Activate",
789 "public-format" : "gboolean" } ] },
790 { "name" : "Application Information",
794 "format" : "sequence",
795 "contents" : [ { "name" : "Slot",
796 "format" : "guint8" },
797 { "name" : "Application Identifier",
799 "size-prefix-format" : "guint8",
800 "array-element" : { "format" : "guint8" } } ] } ],
801 "output" : [ { "common-ref" : "Operation Result" } ] },
803 // *********************************************************************************
804 { "name" : "Depersonalization",
809 "input" : [ { "name" : "Info",
813 "format" : "sequence",
814 "contents" : [ { "name" : "Feature",
816 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
817 { "name" : "Operation",
819 "public-format" : "QmiUimDepersonalizationOperation" },
820 { "name" : "Control Key",
821 "format" : "string" } ] },
826 "format" : "guint8" } ],
827 "output" : [ { "common-ref" : "Operation Result" },
828 { "name" : "Retries Remaining",
832 "format" : "sequence",
833 "contents" : [ { "name" : "Verify Left",
834 "format" : "guint8" },
835 { "name" : "Unblock Left",
836 "format" : "guint8" } ],
837 "prerequisites" : [ { "common-ref" : "No Success" } ] } ] },
839 // *********************************************************************************
840 { "name" : "Get Configuration",
845 "input" : [ { "name" : "Configuration Mask",
849 "format" : "guint32",
850 "public-format" : "QmiUimConfiguration" } ],
851 "output" : [ { "common-ref" : "Operation Result" },
852 { "name" : "Automatic Selection",
857 "public-format" : "gboolean",
858 "prerequisites" : [ { "common-ref" : "Success" } ] },
859 { "name" : "Personalization Status",
864 "size-prefix-format" : "guint8",
865 "array-element" : { "name" : "Element",
867 "contents" : [ { "name" : "Feature",
869 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
870 { "name" : "Verify Left",
871 "format" : "guint8" },
872 { "name" : "Unblock Left",
873 "format" : "guint8" } ] },
874 "prerequisites" : [ { "common-ref" : "Success" } ] },
875 { "name" : "Halt Subscription",
880 "public-format" : "gboolean",
881 "prerequisites" : [ { "common-ref" : "Success" } ] },
882 { "name" : "Personalization Status Other Slots",
887 "size-prefix-format" : "guint8",
888 "array-element" : { "name" : "Slots",
890 "size-prefix-format" : "guint8",
891 "array-element" : { "name" : "Element",
893 "contents" : [ { "name" : "Feature",
895 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
896 { "name" : "Verify Left",
897 "format" : "guint8" },
898 { "name" : "Unblock Left",
899 "format" : "guint8" } ] } },
900 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
902 // *********************************************************************************
903 { "name" : "Refresh Register All",
908 "input" : [ { "common-ref" : "UIM Session",
914 "format" : "sequence",
915 "contents" : [ { "name" : "Register Flag",
917 "public-format" : "gboolean" } ] } ],
918 "output" : [ { "common-ref" : "Operation Result" } ] },
920 // *********************************************************************************
921 { "name" : "Switch Slot",
926 "input" : [ { "name" : "Logical Slot",
930 "format" : "guint8" },
931 { "name" : "Physical Slot",
935 "format" : "guint32" } ],
936 "output" : [ { "common-ref" : "Operation Result" } ] },
938 // *********************************************************************************
939 { "name" : "Get Slot Status",
944 "output" : [ { "common-ref" : "Operation Result" },
945 { "common-ref" : "Physical Slot Status",
947 { "common-ref" : "Physical Slot Information",
949 { "common-ref" : "Slot EID Information",
950 "since" : "1.26" } ] },
952 // *********************************************************************************
953 { "name" : "Slot Status",
954 "type" : "Indication",
958 "output" : [ { "common-ref" : "Physical Slot Status",
960 { "common-ref" : "Physical Slot Information",
962 { "common-ref" : "Slot EID Information",
963 "since" : "1.26" } ] }