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 V2",
57 "contents" : [ { "name" : "Type",
59 "public-format" : "QmiUimCardApplicationType" },
62 "public-format" : "QmiUimCardApplicationState" },
63 { "name" : "Personalization State",
65 "public-format" : "QmiUimCardApplicationPersonalizationState" },
66 { "name" : "Personalization Feature",
68 "public-format" : "QmiUimCardApplicationPersonalizationFeatureStatus" },
69 { "name" : "Personalization Retries",
70 "format" : "guint8" },
71 { "name" : "Personalization Unblock Retries",
72 "format" : "guint8" },
73 { "name" : "Application Identifier Value",
75 "size-prefix-format" : "guint8",
76 "array-element" : { "format" : "guint8" } },
77 { "name" : "UPIN replaces PIN1",
79 "public-format" : "gboolean" },
80 { "name" : "PIN1 State",
82 "public-format" : "QmiUimPinState" },
83 { "name" : "PIN1 Retries",
84 "format" : "guint8" },
85 { "name" : "PUK1 Retries",
86 "format" : "guint8" },
87 { "name" : "PIN2 State",
89 "public-format" : "QmiUimPinState" },
90 { "name" : "PIN2 Retries",
91 "format" : "guint8" },
92 { "name" : "PUK2 Retries",
93 "format" : "guint8" } ] } } ] } } ] },
95 // *********************************************************************************
96 { "common-ref" : "UIM Session",
98 "fullname" : "Qmi UIM Session",
101 "format" : "sequence",
102 "contents" : [ { "name" : "Session Type",
104 "public-format" : "QmiUimSessionType" },
105 { "name" : "Application Identifier",
107 "size-prefix-format" : "guint8",
108 "array-element" : { "format" : "guint8" } } ] },
110 // *********************************************************************************
111 { "common-ref" : "Physical Slot Status",
112 "name" : "Physical Slot Status",
113 "fullname" : "Qmi Physical Slot Status",
117 "size-prefix-format" : "guint8",
118 "array-element" : { "name" : "Slot",
120 "contents" : [ { "name" : "Physical Card Status",
121 "format" : "guint32",
122 "public-format" : "QmiUimPhysicalCardState" },
123 { "name" : "Physical Slot Status",
124 "format" : "guint32",
125 "public-format" : "QmiUimSlotState" },
126 { "name" : "Logical Slot",
127 "format" : "guint8" },
130 "size-prefix-format" : "guint8",
131 "array-element" : { "format" : "guint8" },
132 "personal-info" : "true" } ] } },
134 // *********************************************************************************
135 { "common-ref" : "Physical Slot Information",
136 "name" : "Physical Slot Information",
137 "fullname" : "Qmi Physical Slot Information",
141 "size-prefix-format" : "guint8",
142 "array-element" : { "name" : "Slot",
144 "contents" : [ { "name" : "Card Protocol",
145 "format" : "guint32",
146 "public-format" : "QmiUimCardProtocol" },
147 { "name" : "Valid Applications",
148 "format" : "guint8" },
149 { "name" : "ATR Value",
151 "size-prefix-format" : "guint8",
152 "array-element" : { "format" : "guint8" } },
153 { "name" : "Is EUICC",
155 "public-format" : "gboolean" } ] } },
157 // *********************************************************************************
158 { "common-ref" : "Slot EID",
160 "fullname" : "Qmi Slot EID",
164 "size-prefix-format" : "guint8",
165 "array-element" : { "name" : "Element",
167 "contents" : [ { "name" : "EID",
169 "size-prefix-format" : "guint8",
170 "array-element" : { "format" : "guint8" },
171 "personal-info" : "true" } ] } },
173 // *********************************************************************************
179 "output" : [ { "common-ref" : "Operation Result" } ] },
181 // *********************************************************************************
182 { "name" : "Get Supported Messages",
187 "output" : [ { "common-ref" : "Operation Result" },
193 "size-prefix-format" : "guint16",
194 "array-element" : { "format" : "guint8" },
195 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
197 // *********************************************************************************
198 { "name" : "Read Transparent",
203 "input" : [ { "common-ref" : "UIM Session",
209 "format" : "sequence",
210 "contents" : [ { "name" : "File ID",
211 "format" : "guint16" },
212 { "name" : "File Path",
214 "size-prefix-format" : "guint8",
215 "array-element" : { "format" : "guint8" } } ] },
216 { "name" : "Read Information",
220 "format" : "sequence",
221 "contents" : [ { "name" : "Offset",
222 "format" : "guint16" },
224 "format" : "guint16" } ] },
225 { "name" : "Response In Indication Token",
229 "format" : "guint32" },
230 { "name" : "Encrypt Data",
235 "public-format" : "gboolean" } ],
236 "output" : [ { "common-ref" : "Operation Result" },
237 { "name" : "Card result",
241 "format" : "sequence",
242 "contents" : [ { "name" : "SW1",
243 "format" : "guint8" },
245 "format" : "guint8" } ] },
246 { "name" : "Read result",
251 "size-prefix-format" : "guint16",
252 "array-element" : { "format" : "guint8" },
253 "personal-info" : "true",
254 "prerequisites" : [ { "common-ref" : "Success" } ] },
255 { "name" : "Response In Indication Token",
259 "format" : "guint32",
260 "prerequisites" : [ { "common-ref" : "Success" } ] },
261 { "name" : "Encrypted Data",
266 "public-format" : "gboolean",
267 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
269 // *********************************************************************************
270 { "name" : "Read Record",
275 "input" : [ { "common-ref" : "UIM Session",
281 "format" : "sequence",
282 "contents" : [ { "name" : "File ID",
283 "format" : "guint16" },
284 { "name" : "File Path",
286 "size-prefix-format" : "guint8",
287 "array-element" : { "format" : "guint8" } } ] },
292 "format" : "sequence",
293 "contents" : [ { "name" : "Record Number",
294 "format" : "guint16" },
295 { "name" : "Record Length",
296 "format" : "guint16" } ] },
297 { "name" : "Last Record",
301 "format" : "guint16" },
302 { "name" : "Response In Indication Token",
306 "format" : "guint32" } ],
307 "output" : [ { "common-ref" : "Operation Result" },
308 { "name" : "Card result",
312 "format" : "sequence",
313 "contents" : [ { "name" : "SW1",
314 "format" : "guint8" },
316 "format" : "guint8" } ] },
317 { "name" : "Read Result",
322 "size-prefix-format" : "guint16",
323 "array-element" : { "format" : "guint8" },
324 "personal-info" : "true",
325 "prerequisites" : [ { "common-ref" : "Success" } ] },
326 { "name" : "Additional Read Result",
331 "size-prefix-format" : "guint16",
332 "array-element" : { "format" : "guint8" },
333 "personal-info" : "true",
334 "prerequisites" : [ { "common-ref" : "Success" } ] },
335 { "name" : "Response In Indication Token",
339 "format" : "guint32",
340 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
342 // *********************************************************************************
343 { "name" : "Get File Attributes",
348 "input" : [ { "common-ref" : "UIM Session",
354 "format" : "sequence",
355 "contents" : [ { "name" : "File ID",
356 "format" : "guint16" },
357 { "name" : "File Path",
359 "size-prefix-format" : "guint8",
360 "array-element" : { "format" : "guint8" } } ] },
361 { "name" : "Response In Indication Token",
365 "format" : "guint32" } ],
366 "output" : [ { "common-ref" : "Operation Result" },
367 { "name" : "Card result",
371 "format" : "sequence",
372 "contents" : [ { "name" : "SW1",
373 "format" : "guint8" },
375 "format" : "guint8" } ] },
376 { "name" : "File Attributes",
380 "format" : "sequence",
381 "contents" : [ { "name" : "File Size",
382 "format" : "guint16" },
383 { "name" : "File ID",
384 "format" : "guint16" },
385 { "name" : "File Type",
387 "public-format" : "QmiUimFileType" },
388 { "name" : "Record Size",
389 "format" : "guint16" },
390 { "name" : "Record Count",
391 "format" : "guint16" },
392 { "name" : "Read Security Attributes Logic",
394 "public-format" : "QmiUimSecurityAttributeLogic" },
395 { "name" : "Read Security Attributes",
396 "format" : "guint16",
397 "public-format" : "QmiUimSecurityAttribute" },
398 { "name" : "Write Security Attributes Logic",
400 "public-format" : "QmiUimSecurityAttributeLogic" },
401 { "name" : "Write Security Attributes",
402 "format" : "guint16",
403 "public-format" : "QmiUimSecurityAttribute" },
404 { "name" : "Increase Security Attributes Logic",
406 "public-format" : "QmiUimSecurityAttributeLogic" },
407 { "name" : "Increase Security Attributes",
408 "format" : "guint16",
409 "public-format" : "QmiUimSecurityAttribute" },
410 { "name" : "Deactivate Security Attributes Logic",
412 "public-format" : "QmiUimSecurityAttributeLogic" },
413 { "name" : "Deactivate Security Attributes",
414 "format" : "guint16",
415 "public-format" : "QmiUimSecurityAttribute" },
416 { "name" : "Activate Security Attributes Logic",
418 "public-format" : "QmiUimSecurityAttributeLogic" },
419 { "name" : "Activate Security Attributes",
420 "format" : "guint16",
421 "public-format" : "QmiUimSecurityAttribute" },
422 { "name" : "Raw Data",
424 "size-prefix-format" : "guint16",
425 "array-element" : { "format" : "guint8" } } ],
426 "prerequisites" : [ { "common-ref" : "Success" } ] },
427 { "name" : "Response In Indication Token",
431 "format" : "guint32",
432 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
434 // *********************************************************************************
435 { "name" : "Set PIN Protection",
440 "input" : [ { "common-ref" : "UIM Session",
446 "format" : "sequence",
447 "contents" : [ { "name" : "PIN ID",
449 "public-format" : "QmiUimPinId" },
450 { "name" : "PIN enabled",
452 "public-format" : "gboolean" },
453 { "name" : "PIN Value",
455 "personal-info" : "true" } ] },
456 { "name" : "Response In Indication Token",
460 "format" : "guint32" } ],
461 "output" : [ { "common-ref" : "Operation Result" },
462 { "name" : "Retries Remaining",
466 "format" : "sequence",
467 "contents" : [ { "name" : "Verify Retries Left",
468 "format" : "guint8" },
469 { "name" : "Unblock Retries Left",
470 "format" : "guint8" } ],
471 "prerequisites": [ { "common-ref" : "No Success" } ] },
472 { "name" : "Response In Indication Token",
476 "format" : "guint32",
477 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
479 // *********************************************************************************
480 { "name" : "Verify PIN",
485 "input" : [ { "common-ref" : "UIM Session",
491 "format" : "sequence",
492 "contents" : [ { "name" : "PIN ID",
494 "public-format" : "QmiUimPinId" },
495 { "name" : "PIN Value",
497 "personal-info" : "true" } ] },
498 { "name" : "Response In Indication Token",
502 "format" : "guint32" } ],
503 "output" : [ { "common-ref" : "Operation Result" },
504 { "name" : "Retries Remaining",
508 "format" : "sequence",
509 "contents" : [ { "name" : "Verify Retries Left",
510 "format" : "guint8" },
511 { "name" : "Unblock Retries Left",
512 "format" : "guint8" } ],
513 "prerequisites": [ { "common-ref" : "No Success" } ] },
514 { "name" : "Response In Indication Token",
518 "format" : "guint32",
519 "prerequisites" : [ { "common-ref" : "Success" } ] },
520 { "name" : "Card Result",
524 "format" : "sequence",
525 "contents" : [ { "name" : "SW1",
526 "format" : "guint8" },
528 "format" : "guint8" } ] } ] },
530 // *********************************************************************************
531 { "name" : "Unblock PIN",
536 "input" : [ { "common-ref" : "UIM Session",
542 "format" : "sequence",
543 "contents" : [ { "name" : "PIN ID",
545 "public-format" : "QmiUimPinId" },
548 "personal-info" : "true" },
549 { "name" : "New PIN",
551 "personal-info" : "true" } ] },
552 { "name" : "Response In Indication Token",
556 "format" : "guint32" } ],
557 "output" : [ { "common-ref" : "Operation Result" },
558 { "name" : "Retries Remaining",
562 "format" : "sequence",
563 "contents" : [ { "name" : "Verify Retries Left",
564 "format" : "guint8" },
565 { "name" : "Unblock Retries Left",
566 "format" : "guint8" } ],
567 "prerequisites": [ { "common-ref" : "No Success" } ] },
568 { "name" : "Response In Indication Token",
572 "format" : "guint32",
573 "prerequisites" : [ { "common-ref" : "Success" } ] },
574 { "name" : "Card Result",
578 "format" : "sequence",
579 "contents" : [ { "name" : "SW1",
580 "format" : "guint8" },
582 "format" : "guint8" } ] } ] },
584 // *********************************************************************************
585 { "name" : "Change PIN",
590 "input" : [ { "common-ref" : "UIM Session",
596 "format" : "sequence",
597 "contents" : [ { "name" : "PIN ID",
599 "public-format" : "QmiUimPinId" },
600 { "name" : "Old PIN",
602 "personal-info" : "true" },
603 { "name" : "New PIN",
605 "personal-info" : "true" } ] },
606 { "name" : "Response In Indication Token",
610 "format" : "guint32" } ],
611 "output" : [ { "common-ref" : "Operation Result" },
612 { "name" : "Retries Remaining",
616 "format" : "sequence",
617 "contents" : [ { "name" : "Verify Retries Left",
618 "format" : "guint8" },
619 { "name" : "Unblock Retries Left",
620 "format" : "guint8" } ],
621 "prerequisites": [ { "common-ref" : "No Success" } ] },
622 { "name" : "Response In Indication Token",
626 "format" : "guint32",
627 "prerequisites" : [ { "common-ref" : "Success" } ] },
628 { "name" : "Card Result",
632 "format" : "sequence",
633 "contents" : [ { "name" : "SW1",
634 "format" : "guint8" },
636 "format" : "guint8" } ] } ] },
638 // *********************************************************************************
639 { "name" : "Refresh Register",
644 "input" : [ { "common-ref" : "UIM Session",
650 "format" : "sequence",
651 "contents" : [ { "name" : "Register Flag",
653 "public-format" : "gboolean" },
654 { "name" : "Vote For Init",
656 "public-format" : "gboolean" },
659 "size-prefix-format" : "guint16",
660 "array-element" : { "name" : "Element",
662 "contents" : [ { "name" : "File ID",
663 "format" : "guint16" },
666 "size-prefix-format" : "guint8",
667 "array-element" : { "format" : "guint8" } } ] } } ] } ],
668 "output" : [ { "common-ref" : "Operation Result" } ] },
670 // *********************************************************************************
671 { "name" : "Refresh Complete",
676 "input" : [ { "common-ref" : "UIM Session",
682 "format" : "sequence",
683 "contents" : [ { "name" : "Refresh Success",
685 "public-format" : "gboolean" } ] } ],
686 "output" : [ { "common-ref" : "Operation Result" } ] },
688 // *********************************************************************************
689 { "name" : "Register Events",
694 "input" : [ { "name" : "Event Registration Mask",
698 "format" : "guint32",
699 "public-format" : "QmiUimEventRegistrationFlag" } ],
700 "output" : [ { "common-ref" : "Operation Result" },
701 { "name" : "Event Registration Mask",
705 "format" : "guint32",
706 "public-format" : "QmiUimEventRegistrationFlag",
707 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
709 // *********************************************************************************
710 { "name" : "Get Card Status",
715 "output" : [ { "common-ref" : "Operation Result" },
716 { "common-ref" : "UIM Card Status",
717 "since" : "1.10" } ] },
719 // *********************************************************************************
720 { "name" : "Power Off SIM",
725 "input" : [ { "name" : "Slot",
729 "format" : "guint8" } ],
730 "output" : [ { "common-ref" : "Operation Result" } ] },
732 // *********************************************************************************
733 { "name" : "Power On SIM",
738 "input" : [ { "name" : "Slot",
742 "format" : "guint8" } ],
743 "output" : [ { "common-ref" : "Operation Result" } ] },
745 // *********************************************************************************
746 { "name" : "Card Status",
747 "type" : "Indication",
751 "output" : [ { "common-ref" : "UIM Card Status",
752 "since" : "1.22" } ] },
754 // *********************************************************************************
755 { "name" : "Refresh",
756 "type" : "Indication",
760 "output" : [ { "name" : "Event",
764 "format" : "sequence",
765 "contents" : [ { "name" : "Stage",
767 "public-format" : "QmiUimRefreshStage" },
770 "public-format" : "QmiUimRefreshMode" },
771 { "name" : "Session Type",
773 "public-format" : "QmiUimSessionType" },
774 { "name" : "Application Identifier",
776 "size-prefix-format" : "guint8",
777 "array-element" : { "format" : "guint8" } },
780 "size-prefix-format" : "guint16",
781 "array-element" : { "name" : "Element",
783 "contents" : [ { "name" : "File ID",
784 "format" : "guint16" },
787 "size-prefix-format" : "guint8",
788 "array-element" : { "format" : "guint8" } } ] } } ] } ] },
790 // *********************************************************************************
791 { "name" : "Change Provisioning Session",
796 "input" : [ { "name" : "Session Change",
800 "format" : "sequence",
801 "contents" : [ { "name" : "Session Type",
803 "public-format" : "QmiUimSessionType" },
804 { "name" : "Activate",
806 "public-format" : "gboolean" } ] },
807 { "name" : "Application Information",
811 "format" : "sequence",
812 "contents" : [ { "name" : "Slot",
813 "format" : "guint8" },
814 { "name" : "Application Identifier",
816 "size-prefix-format" : "guint8",
817 "array-element" : { "format" : "guint8" } } ] } ],
818 "output" : [ { "common-ref" : "Operation Result" } ] },
820 // *********************************************************************************
821 { "name" : "Depersonalization",
826 "input" : [ { "name" : "Info",
830 "format" : "sequence",
831 "contents" : [ { "name" : "Feature",
833 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
834 { "name" : "Operation",
836 "public-format" : "QmiUimDepersonalizationOperation" },
837 { "name" : "Control Key",
839 "personal-info" : "true" } ] },
844 "format" : "guint8" } ],
845 "output" : [ { "common-ref" : "Operation Result" },
846 { "name" : "Retries Remaining",
850 "format" : "sequence",
851 "contents" : [ { "name" : "Verify Left",
852 "format" : "guint8" },
853 { "name" : "Unblock Left",
854 "format" : "guint8" } ],
855 "prerequisites" : [ { "common-ref" : "No Success" } ] } ] },
857 // *********************************************************************************
858 { "name" : "Get Configuration",
863 "input" : [ { "name" : "Configuration Mask",
867 "format" : "guint32",
868 "public-format" : "QmiUimConfiguration" } ],
869 "output-compat" : "yes",
870 "output" : [ { "common-ref" : "Operation Result" },
871 { "name" : "Automatic Selection",
876 "public-format" : "gboolean",
877 "prerequisites" : [ { "common-ref" : "Success" } ] },
878 { "name" : "Personalization Status",
883 "size-prefix-format" : "guint8",
884 "array-element" : { "name" : "Element",
886 "contents" : [ { "name" : "Feature",
888 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
889 { "name" : "Verify Left",
890 "format" : "guint8" },
891 { "name" : "Unblock Left",
892 "format" : "guint8" } ] },
893 "prerequisites" : [ { "common-ref" : "Success" } ] },
894 { "name" : "Halt Subscription",
899 "public-format" : "gboolean",
900 "prerequisites" : [ { "common-ref" : "Success" } ] },
901 { "name" : "Personalization Status Other",
906 "size-prefix-format" : "guint8",
907 "array-element" : { "name" : "Element",
909 "contents" : [ { "name" : "Slot",
911 "size-prefix-format" : "guint8",
912 "array-element" : { "name" : "Element",
914 "contents" : [ { "name" : "Feature",
916 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
917 { "name" : "Verify Left",
918 "format" : "guint8" },
919 { "name" : "Unblock Left",
920 "format" : "guint8" } ] } } ] },
921 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
923 // *********************************************************************************
924 { "name" : "Refresh Register All",
929 "input" : [ { "common-ref" : "UIM Session",
935 "format" : "sequence",
936 "contents" : [ { "name" : "Register Flag",
938 "public-format" : "gboolean" } ] } ],
939 "output" : [ { "common-ref" : "Operation Result" } ] },
941 // *********************************************************************************
942 { "name" : "Switch Slot",
947 "input" : [ { "name" : "Logical Slot",
951 "format" : "guint8" },
952 { "name" : "Physical Slot",
956 "format" : "guint32" } ],
957 "output" : [ { "common-ref" : "Operation Result" } ] },
959 // *********************************************************************************
960 { "name" : "Get Slot Status",
965 "output-compat" : "yes",
966 "output" : [ { "common-ref" : "Operation Result" },
967 { "common-ref" : "Physical Slot Status",
969 { "common-ref" : "Physical Slot Information",
971 { "common-ref" : "Slot EID",
972 "since" : "1.32" } ] },
974 // *********************************************************************************
975 { "name" : "Slot Status",
976 "type" : "Indication",
980 "output-compat" : "yes",
981 "output" : [ { "common-ref" : "Physical Slot Status",
983 { "common-ref" : "Physical Slot Information",
985 { "common-ref" : "Slot EID",
986 "since" : "1.32" } ] },
988 // *********************************************************************************
989 { "name" : "Remote Unlock",
994 "input" : [ { "name" : "SimLock Data",
999 "size-prefix-format" : "guint16",
1000 "array-element" : { "format" : "guint8" },
1001 "personal-info" : "true" },
1002 { "name" : "SimLock Extended Data",
1007 "size-prefix-format" : "guint16",
1008 "array-element" : { "format" : "guint8" },
1009 "personal-info" : "true" } ],
1010 "output" : [ { "common-ref" : "Operation Result" } ] }