3 // *********************************************************************************
7 // *********************************************************************************
8 { "name" : "QMI Client DMS",
11 // *********************************************************************************
12 { "name" : "QMI Message DMS",
13 "type" : "Message-ID-Enum" },
15 // *********************************************************************************
16 { "name" : "QMI Indication DMS",
17 "type" : "Indication-ID-Enum" },
19 // *********************************************************************************
25 "output" : [ { "common-ref" : "Operation Result" } ] },
27 // *********************************************************************************
28 { "name" : "Set Event Report",
33 "input" : [ { "name" : "Power State Reporting",
38 "public-format" : "gboolean" },
39 { "name" : "Battery Level Report Limits",
43 "format" : "sequence",
44 "contents" : [ { "name" : "Lower Limit",
45 "format" : "guint8" },
46 { "name" : "Upper Limit",
47 "format" : "guint8" } ] },
48 { "name" : "PIN State Reporting",
53 "public-format" : "gboolean" },
54 { "name" : "Activation State Reporting",
59 "public-format" : "gboolean" },
60 { "name" : "Operating Mode Reporting",
65 "public-format" : "gboolean" },
66 { "name" : "UIM State Reporting",
71 "public-format" : "gboolean" },
72 { "name" : "Wireless Disable State Reporting",
77 "public-format" : "gboolean" },
78 { "name" : "PRL Init Reporting",
83 "public-format" : "gboolean" } ],
84 "output" : [ { "common-ref" : "Operation Result" } ] },
86 { "name" : "Event Report",
87 "type" : "Indication",
90 "output" : [ { "name" : "Power State",
94 "format" : "sequence",
95 "contents" : [ { "name" : "Power State Flags",
96 "format" : "guint8" },
97 { "name" : "Battery Level",
98 "format" : "guint8" } ] },
99 { "name" : "PIN1 Status",
103 "format" : "sequence",
104 "contents" : [ { "name" : "Current Status",
106 "public-format" : "QmiDmsUimPinStatus" },
107 { "name" : "Verify Retries Left",
108 "format" : "guint8" },
109 { "name" : "Unblock Retries Left",
110 "format" : "guint8" } ] },
111 { "name" : "PIN2 Status",
115 "format" : "sequence",
116 "contents" : [ { "name" : "Current Status",
118 "public-format" : "QmiDmsUimPinStatus" },
119 { "name" : "Verify Retries Left",
120 "format" : "guint8" },
121 { "name" : "Unblock Retries Left",
122 "format" : "guint8" } ] },
123 { "name" : "Activation State",
127 "format" : "guint16",
128 "public-format" : "QmiDmsActivationState" },
129 { "name" : "Operating Mode",
134 "public-format" : "QmiDmsOperatingMode" },
135 { "name" : "UIM State",
140 "public-format" : "QmiDmsUimState" },
141 { "name" : "Wireless Disable State",
146 "public-format" : "gboolean" },
147 { "name" : "PRL Init Notification",
152 "public-format" : "gboolean" } ] },
154 // *********************************************************************************
155 { "name" : "Get Capabilities",
160 "output" : [ { "common-ref" : "Operation Result" },
165 "format" : "sequence",
166 "contents" : [ { "name" : "Max Tx Channel Rate",
167 "format" : "guint32" },
168 { "name" : "Max Rx Channel Rate",
169 "format" : "guint32" },
170 { "name" : "Data Service Capability",
172 "public-format" : "QmiDmsDataServiceCapability" },
173 { "name" : "SIM Capability",
175 "public-format" : "QmiDmsSimCapability" },
176 { "name" : "Radio Interface List",
178 "array-element" : { "format" : "guint8",
179 "public-format" : "QmiDmsRadioInterface" } } ],
180 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
182 // *********************************************************************************
183 { "name" : "Get Manufacturer",
188 "output" : [ { "common-ref" : "Operation Result" },
189 { "name" : "Manufacturer",
194 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
196 // *********************************************************************************
197 { "name" : "Get Model",
202 "output" : [ { "common-ref" : "Operation Result" },
208 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
210 // *********************************************************************************
211 { "name" : "Get Revision",
216 "output" : [ { "common-ref" : "Operation Result" },
217 { "name" : "Revision",
222 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
224 // *********************************************************************************
225 { "name" : "Get MSISDN",
230 "output" : [ { "common-ref" : "Operation Result" },
236 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
238 // *********************************************************************************
239 { "name" : "Get IDs",
244 "output" : [ { "common-ref" : "Operation Result" },
250 "prerequisites": [ { "common-ref" : "Success" } ] },
257 "prerequisites": [ { "common-ref" : "Success" } ] },
263 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
265 // *********************************************************************************
266 { "name" : "Get Power State",
271 "output" : [ { "common-ref" : "Operation Result" },
276 "format" : "sequence",
277 "contents" : [ { "name" : "Power State Flags",
278 "format" : "guint8" },
279 { "name" : "Battery Level",
280 "format" : "guint8" } ],
281 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
283 // *********************************************************************************
284 { "name" : "UIM Set PIN Protection",
289 "input" : [ { "name" : "Info",
293 "format" : "sequence",
294 "contents" : [ { "name" : "Pin ID",
296 "public-format" : "QmiDmsUimPinId" },
297 { "name" : "Protection Enabled",
299 "public-format" : "gboolean" },
301 "format" : "string" } ] } ],
302 "output" : [ { "common-ref" : "Operation Result" },
303 { "name" : "Pin Retries Status",
307 "format" : "sequence",
308 "contents" : [ { "name" : "Verify Retries Left",
309 "format" : "guint8" },
310 { "name" : "Unblock Retries Left",
311 "format" : "guint8" } ],
312 "prerequisites": [ { "common-ref" : "No Success" } ] } ] },
314 // *********************************************************************************
315 { "name" : "UIM Verify PIN",
320 "input" : [ { "name" : "Info",
324 "format" : "sequence",
325 "contents" : [ { "name" : "Pin ID",
327 "public-format" : "QmiDmsUimPinId" },
329 "format" : "string" } ] } ],
330 "output" : [ { "common-ref" : "Operation Result" },
331 { "name" : "Pin Retries Status",
335 "format" : "sequence",
336 "contents" : [ { "name" : "Verify Retries Left",
337 "format" : "guint8" },
338 { "name" : "Unblock Retries Left",
339 "format" : "guint8" } ],
340 "prerequisites": [ { "common-ref" : "No Success" } ] } ] },
342 // *********************************************************************************
343 { "name" : "UIM Unblock PIN",
348 "input" : [ { "name" : "Info",
352 "format" : "sequence",
353 "contents" : [ { "name" : "Pin ID",
355 "public-format" : "QmiDmsUimPinId" },
357 "format" : "string" },
358 { "name" : "New PIN",
359 "format" : "string" } ] } ],
360 "output" : [ { "common-ref" : "Operation Result" },
361 { "name" : "Pin Retries Status",
365 "format" : "sequence",
366 "contents" : [ { "name" : "Verify Retries Left",
367 "format" : "guint8" },
368 { "name" : "Unblock Retries Left",
369 "format" : "guint8" } ],
370 "prerequisites": [ { "common-ref" : "No Success" } ] } ] },
372 // *********************************************************************************
373 { "name" : "UIM Change PIN",
378 "input" : [ { "name" : "Info",
382 "format" : "sequence",
383 "contents" : [ { "name" : "Pin ID",
385 "public-format" : "QmiDmsUimPinId" },
386 { "name" : "Old PIN",
387 "format" : "string" },
388 { "name" : "New PIN",
389 "format" : "string" } ] } ],
390 "output" : [ { "common-ref" : "Operation Result" },
391 { "name" : "Pin Retries Status",
395 "format" : "sequence",
396 "contents" : [ { "name" : "Verify Retries Left",
397 "format" : "guint8" },
398 { "name" : "Unblock Retries Left",
399 "format" : "guint8" } ],
400 "prerequisites": [ { "common-ref" : "No Success" } ] } ] },
402 // *********************************************************************************
403 { "name" : "UIM Get PIN Status",
408 "output" : [ { "common-ref" : "Operation Result" },
409 { "name" : "PIN1 Status",
413 "format" : "sequence",
414 "contents" : [ { "name" : "Current Status",
416 "public-format" : "QmiDmsUimPinStatus" },
417 { "name" : "Verify Retries Left",
418 "format" : "guint8" },
419 { "name" : "Unblock Retries Left",
420 "format" : "guint8" } ] },
421 { "name" : "PIN2 Status",
425 "format" : "sequence",
426 "contents" : [ { "name" : "Current Status",
428 "public-format" : "QmiDmsUimPinStatus" },
429 { "name" : "Verify Retries Left",
430 "format" : "guint8" },
431 { "name" : "Unblock Retries Left",
432 "format" : "guint8" } ] } ] },
434 // *********************************************************************************
435 { "name" : "Get Hardware Revision",
440 "output" : [ { "common-ref" : "Operation Result" },
441 { "name" : "Revision",
446 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
448 // *********************************************************************************
449 { "name" : "Get Operating Mode",
454 "output" : [ { "common-ref" : "Operation Result" },
460 "public-format" : "QmiDmsOperatingMode",
461 "prerequisites": [ { "common-ref" : "Success" } ] },
462 { "name" : "Offline Reason",
466 "format" : "guint16",
467 "public-format" : "QmiDmsOfflineReason",
468 "prerequisites": [ { "field" : "Mode",
470 "value" : "QMI_DMS_OPERATING_MODE_OFFLINE" } ] },
471 { "name" : "Hardware Restricted Mode",
476 "public-format" : "gboolean",
477 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
479 // *********************************************************************************
480 { "name" : "Set Operating Mode",
485 "input" : [ { "name" : "Mode",
490 "public-format" : "QmiDmsOperatingMode" } ],
491 "output" : [ { "common-ref" : "Operation Result" } ] },
493 // *********************************************************************************
494 { "name" : "Get Time",
499 "output" : [ { "common-ref" : "Operation Result" },
500 { "name" : "Device Time",
504 "format" : "sequence",
505 "contents" : [ { "name" : "Time Count",
506 "format" : "guint-sized",
507 "guint-size" : "6" },
508 { "name" : "Time Source",
509 "format" : "guint16",
510 "public-format" : "QmiDmsTimeSource" } ],
511 "prerequisites": [ { "common-ref" : "Success" } ] },
512 { "name" : "System Time",
516 "format" : "guint64",
517 "prerequisites": [ { "common-ref" : "Success" } ] },
518 { "name" : "User Time",
522 "format" : "guint64",
523 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
525 // *********************************************************************************
526 { "name" : "Get PRL Version",
531 "output" : [ { "common-ref" : "Operation Result" },
532 { "name" : "Version",
536 "format" : "guint16",
537 "prerequisites": [ { "common-ref" : "Success" } ] },
538 { "name" : "PRL Only Preference",
543 "public-format" : "gboolean",
544 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
546 // *********************************************************************************
547 { "name" : "Get Activation State",
552 "output" : [ { "common-ref" : "Operation Result" },
557 "format" : "guint16",
558 "public-format" : "QmiDmsActivationState",
559 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
561 // *********************************************************************************
562 { "name" : "Activate Automatic",
567 "input" : [ { "name" : "Activation Code",
571 "format" : "string" } ],
572 "output" : [ { "common-ref" : "Operation Result" } ] },
574 // *********************************************************************************
575 { "name" : "Activate Manual",
580 "input" : [ { "name" : "Info",
584 "format" : "sequence",
585 "contents" : [ { "name" : "Service Programming Code",
587 "fixed-size" : "6" },
588 { "name" : "System Identification Number",
590 "fixed-size" : "2" },
591 { "name" : "Mobile Directory Number",
594 { "name" : "Mobile Identification Number",
596 "max-size" : "15" } ] },
597 { "name" : "MN HA key",
603 { "name" : "MN AAA key",
608 "max-size" : "16" } ],
609 "output" : [ { "common-ref" : "Operation Result" } ] },
611 // *********************************************************************************
612 { "name" : "Get User Lock State",
617 "output" : [ { "common-ref" : "Operation Result" },
618 { "name" : "Enabled",
623 "public-format" : "gboolean",
624 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
626 // *********************************************************************************
627 { "name" : "Set User Lock State",
632 "input" : [ { "name" : "Info",
636 "format" : "sequence",
637 "contents" : [ { "name" : "Enabled",
639 "public-format" : "gboolean" },
640 { "name" : "Lock Code",
642 "fixed-size" : "4" } ] } ],
643 "output" : [ { "common-ref" : "Operation Result" } ] },
645 // *********************************************************************************
646 { "name" : "Set User Lock Code",
651 "input" : [ { "name" : "Info",
655 "format" : "sequence",
656 "contents" : [ { "name" : "Old Code",
658 "fixed-size" : "4" },
659 { "name" : "New Code",
661 "fixed-size" : "4" } ] } ],
662 "output" : [ { "common-ref" : "Operation Result" } ] },
664 // *********************************************************************************
665 { "name" : "Read User Data",
670 "output" : [ { "common-ref" : "Operation Result" },
671 { "name" : "User Data",
676 "size-prefix-format" : "guint16",
677 "array-element" : { "format" : "guint8" },
678 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
680 // *********************************************************************************
681 { "name" : "Write User Data",
686 "input" : [ { "name" : "User Data",
691 "size-prefix-format" : "guint16",
692 "array-element" : { "format" : "guint8" },
693 "prerequisites" : [ { "common-ref" : "Success" } ] } ],
694 "output" : [ { "common-ref" : "Operation Result" } ] },
696 // *********************************************************************************
697 { "name" : "Read ERI File",
702 "output" : [ { "common-ref" : "Operation Result" },
703 { "name" : "ERI File",
708 "size-prefix-format" : "guint16",
709 "array-element" : { "format" : "guint8" },
710 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
712 // *********************************************************************************
713 { "name" : "Restore Factory Defaults",
718 "input" : [ { "name" : "Service Programming Code",
723 "fixed-size" : "6" } ],
724 "output" : [ { "common-ref" : "Operation Result" } ] },
726 // *********************************************************************************
727 { "name" : "Validate Service Programming Code",
732 "input" : [ { "name" : "Service Programming Code",
737 "fixed-size" : "6" } ],
738 "output" : [ { "common-ref" : "Operation Result" } ] },
740 // *********************************************************************************
741 { "name" : "UIM Get ICCID",
746 "output" : [ { "common-ref" : "Operation Result" },
752 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
754 // *********************************************************************************
755 { "name" : "UIM Get CK Status",
760 "input" : [ { "name" : "Facility",
765 "public-format" : "QmiDmsUimFacility" } ],
766 "output" : [ { "common-ref" : "Operation Result" },
767 { "name" : "CK Status",
771 "format" : "sequence",
772 "contents" : [ { "name" : "Facility State",
774 "public-format" : "QmiDmsUimFacilityState" },
775 { "name" : "Verify Retries Left",
776 "format" : "guint8" },
777 { "name" : "Unblock Retries Left",
778 "format" : "guint8" } ],
779 "prerequisites": [ { "common-ref" : "Success" } ] },
780 { "name" : "Operation Blocking Facility",
782 "mandatory" : "false",
785 "public-format" : "gboolean",
786 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
788 // *********************************************************************************
789 { "name" : "UIM Set CK Protection",
794 "input" : [ { "name" : "Facility",
798 "format" : "sequence",
799 "contents" : [ { "name" : "Facility",
801 "public-format" : "QmiDmsUimFacility" },
802 { "name" : "Facility State",
804 "public-format" : "QmiDmsUimFacilityState" },
805 { "name" : "Facility Depersonalization Control Key",
806 "format" : "string" } ] } ],
807 "output" : [ { "common-ref" : "Operation Result" },
808 { "name" : "Verify Retries Left",
812 "format" : "guint8" } ] },
814 // *********************************************************************************
815 { "name" : "UIM Unblock CK",
820 "input" : [ { "name" : "Facility",
824 "format" : "sequence",
825 "contents" : [ { "name" : "Facility",
827 "public-format" : "QmiDmsUimFacility" },
828 { "name" : "Facility Control Key",
829 "format" : "string" } ] } ],
830 "output" : [ { "common-ref" : "Operation Result" },
831 { "name" : "Unblock Retries Left",
835 "format" : "guint8" } ] },
837 // *********************************************************************************
838 { "name" : "UIM Get IMSI",
843 "output" : [ { "common-ref" : "Operation Result" },
849 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
851 // *********************************************************************************
852 { "name" : "UIM Get State",
857 "output" : [ { "common-ref" : "Operation Result" },
863 "public-format" : "QmiDmsUimState",
864 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
866 // *********************************************************************************
867 { "name" : "Get Band Capabilities",
872 "output" : [ { "common-ref" : "Operation Result" },
873 { "name" : "Band Capability",
877 "format" : "guint64",
878 "public-format" : "QmiDmsBandCapability",
879 "prerequisites": [ { "common-ref" : "Success" } ] },
880 { "name" : "LTE Band Capability",
884 "format" : "guint64",
885 "public-format" : "QmiDmsLteBandCapability",
886 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
888 // *********************************************************************************
889 { "name" : "Get Factory SKU",
894 "output" : [ { "common-ref" : "Operation Result" },
900 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
902 // *********************************************************************************
903 { "name" : "Get Firmware Preference",
908 "output" : [ { "common-ref" : "Operation Result" },
914 "array-element" : { "name" : "Image",
916 "contents" : [ { "name" : "Type",
918 "public-format" : "QmiDmsFirmwareImageType" },
919 { "name" : "Unique ID",
922 "array-element" : { "format": "guint8" } },
923 { "name" : "Build ID",
924 "format" : "string" } ] },
925 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
927 // *********************************************************************************
928 { "name" : "Set Firmware Preference",
933 "input" : [ { "name" : "List",
938 "array-element" : { "name" : "Image",
940 "contents" : [ { "name" : "Type",
942 "public-format" : "QmiDmsFirmwareImageType" },
943 { "name" : "Unique ID",
946 "array-element" : { "format": "guint8" } },
947 { "name" : "Build ID",
948 "format" : "string" } ] } },
949 { "name" : "Download Override",
954 "public-format" : "gboolean" },
955 { "name" : "Modem Storage Index",
959 "format" : "guint8" } ],
960 "output" : [ { "common-ref" : "Operation Result" },
961 { "name" : "Image Download List",
966 "array-element" : { "name" : "Image Type",
968 "public-format" : "QmiDmsFirmwareImageType" },
969 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
971 // *********************************************************************************
972 { "name" : "List Stored Images",
977 "output" : [ { "common-ref" : "Operation Result" },
983 "array-element" : { "name" : "Image",
985 "contents" : [ { "name" : "Type",
987 "public-format" : "QmiDmsFirmwareImageType" },
988 { "name" : "Maximum Images",
989 "format" : "guint8" },
990 { "name" : "Index Of Running Image",
991 "format" : "guint8" },
992 { "name" : "Sublist",
994 "array-element" : { "name" : "Sublist Element",
996 "contents" : [ { "name" : "Storage Index",
997 "format" : "guint8" },
998 { "name" : "Failure Count",
999 "format" : "guint8" },
1000 { "name" : "Unique ID",
1002 "fixed-size" : "16",
1003 "array-element" : { "format": "guint8" } },
1004 { "name" : "Build ID",
1005 "format" : "string" } ] } } ] },
1006 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
1008 // *********************************************************************************
1009 { "name" : "Delete Stored Image",
1014 "input" : [ { "name" : "Image",
1016 "mandatory" : "yes",
1018 "format" : "struct",
1019 "contents" : [ { "name" : "Type",
1020 "format" : "guint8",
1021 "public-format" : "QmiDmsFirmwareImageType" },
1022 { "name" : "Unique ID",
1024 "fixed-size" : "16",
1025 "array-element" : { "format": "guint8" } },
1026 { "name" : "Build ID",
1027 "format" : "string" } ] } ],
1028 "output" : [ { "common-ref" : "Operation Result" } ] },
1030 // *********************************************************************************
1031 { "name" : "Set Time",
1036 "input" : [ { "name" : "Time Value",
1038 "mandatory" : "yes",
1040 "format" : "guint64" },
1041 { "name" : "Time Reference Type",
1043 "mandatory" : "yes",
1045 "format" : "guint32",
1046 "public-format" : "QmiDmsTimeReferenceType" } ],
1047 "output" : [ { "common-ref" : "Operation Result" } ] },
1049 // *********************************************************************************
1050 { "name" : "Get Stored Image Info",
1055 "input" : [ { "name" : "Image",
1057 "mandatory" : "yes",
1059 "format" : "struct",
1060 "contents" : [ { "name" : "Type",
1061 "format" : "guint8",
1062 "public-format" : "QmiDmsFirmwareImageType" },
1063 { "name" : "Unique ID",
1065 "fixed-size" : "16",
1066 "array-element" : { "format": "guint8" } },
1067 { "name" : "Build ID",
1068 "format" : "string" } ] } ],
1069 "output" : [ { "common-ref" : "Operation Result" },
1070 { "name" : "Boot Version",
1074 "format" : "sequence",
1075 "contents" : [ { "name" : "Major Version",
1076 "format" : "guint16" },
1077 { "name" : "Minor Version",
1078 "format" : "guint16" } ],
1079 "prerequisites": [ { "common-ref" : "Success" } ] },
1080 { "name" : "PRI Version",
1084 "format" : "sequence",
1085 "contents" : [ { "name" : "PRI Version",
1086 "format" : "guint32" },
1087 { "name" : "PRI Info",
1088 "format" : "string",
1089 "fixed-size" : "32" } ],
1090 "prerequisites": [ { "common-ref" : "Success" } ] },
1091 { "name" : "OEM Lock ID",
1095 "format" : "guint32",
1096 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1098 // *********************************************************************************
1099 { "name" : "Get Alt Net Config",
1104 "output" : [ { "common-ref" : "Operation Result" },
1105 { "name" : "Config",
1107 "mandatory" : "yes",
1109 "format" : "guint8",
1110 "public-format" : "gboolean",
1111 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1113 // *********************************************************************************
1114 { "name" : "Set Alt Net Config",
1119 "input" : [ { "name" : "Config",
1121 "mandatory" : "yes",
1123 "format" : "guint8",
1124 "public-format" : "gboolean" } ],
1125 "output" : [ { "common-ref" : "Operation Result" } ] },
1127 // *********************************************************************************
1128 { "name" : "Get Software Version",
1133 "output" : [ { "common-ref" : "Operation Result" },
1134 { "name" : "Version",
1136 "mandatory" : "yes",
1138 "format" : "string",
1139 "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1141 // *********************************************************************************
1142 { "name" : "Set Service Programming Code",
1147 "input" : [ { "name" : "Current",
1149 "mandatory" : "yes",
1151 "format" : "string",
1152 "fixed-size" : "6" },
1155 "mandatory" : "yes",
1157 "format" : "string",
1158 "fixed-size" : "6" } ],
1159 "output" : [ { "common-ref" : "Operation Result" } ] }