sync with libqmi-glib
[project/uqmi.git] / data / qmi-service-dms.json
1
2 [
3   // *********************************************************************************
4   {  "name"    : "DMS",
5      "type"    : "Service" },
6
7   // *********************************************************************************
8   {  "name"    : "QMI Client DMS",
9      "type"    : "Client" },
10
11   // *********************************************************************************
12   {  "name"    : "QMI Message DMS",
13      "type"    : "Message-ID-Enum" },
14
15   // *********************************************************************************
16   {  "name"    : "QMI Indication DMS",
17      "type"    : "Indication-ID-Enum" },
18
19   // *********************************************************************************
20   {  "name"    : "Reset",
21      "type"    : "Message",
22      "service" : "DMS",
23      "id"      : "0x0000",
24      "version" : "1.0",
25      "output"  : [  { "common-ref" : "Operation Result" } ] },
26
27   // *********************************************************************************
28   {  "name"    : "Set Event Report",
29      "type"    : "Message",
30      "service" : "DMS",
31      "id"      : "0x0001",
32      "version" : "1.0",
33      "input"   : [  { "name"          : "Power State Reporting",
34                       "id"            : "0x10",
35                       "mandatory"     : "no",
36                       "type"          : "TLV",
37                       "format"        : "guint8",
38                       "public-format" : "gboolean" },
39                     { "name"      : "Battery Level Report Limits",
40                       "id"        : "0x11",
41                       "mandatory" : "no",
42                       "type"      : "TLV",
43                       "format"    : "sequence",
44                       "contents"  : [ { "name"   : "Lower Limit",
45                                         "format" : "guint8" },
46                                       { "name"   : "Upper Limit",
47                                         "format" : "guint8" } ] },
48                     { "name"          : "PIN State Reporting",
49                       "id"            : "0x12",
50                       "mandatory"     : "no",
51                       "type"          : "TLV",
52                       "format"        : "guint8",
53                       "public-format" : "gboolean" },
54                     { "name"          : "Activation State Reporting",
55                       "id"            : "0x13",
56                       "mandatory"     : "no",
57                       "type"          : "TLV",
58                       "format"        : "guint8",
59                       "public-format" : "gboolean" },
60                     { "name"          : "Operating Mode Reporting",
61                       "id"            : "0x14",
62                       "mandatory"     : "no",
63                       "type"          : "TLV",
64                       "format"        : "guint8",
65                       "public-format" : "gboolean" },
66                     { "name"          : "UIM State Reporting",
67                       "id"            : "0x15",
68                       "mandatory"     : "no",
69                       "type"          : "TLV",
70                       "format"        : "guint8",
71                       "public-format" : "gboolean" },
72                     { "name"          : "Wireless Disable State Reporting",
73                       "id"            : "0x16",
74                       "mandatory"     : "no",
75                       "type"          : "TLV",
76                       "format"        : "guint8",
77                       "public-format" : "gboolean" },
78                     { "name"          : "PRL Init Reporting",
79                       "id"            : "0x17",
80                       "mandatory"     : "no",
81                       "type"          : "TLV",
82                       "format"        : "guint8",
83                       "public-format" : "gboolean" } ],
84      "output"  : [  { "common-ref" : "Operation Result" } ] },
85
86   {  "name"    : "Event Report",
87      "type"    : "Indication",
88      "service" : "DMS",
89      "id"      : "0x0001",
90      "output"  : [  { "name"      : "Power State",
91                       "id"        : "0x10",
92                       "mandatory" : "no",
93                       "type"      : "TLV",
94                       "format"    : "sequence",
95                       "contents"  : [ { "name"   : "Power State Flags",
96                                         "format" : "guint8" },
97                                       { "name"   : "Battery Level",
98                                         "format" : "guint8" } ] },
99                     { "name"      : "PIN1 Status",
100                       "id"        : "0x11",
101                       "mandatory" : "no",
102                       "type"      : "TLV",
103                       "format"    : "sequence",
104                       "contents"  : [ { "name"          : "Current Status",
105                                         "format"        : "guint8",
106                                         "public-format" : "QmiDmsUimPinStatus" },
107                                       { "name"   : "Verify Retries Left",
108                                         "format" : "guint8" },
109                                       { "name"   : "Unblock Retries Left",
110                                         "format" : "guint8" } ] },
111                     { "name"      : "PIN2 Status",
112                       "id"        : "0x12",
113                       "mandatory" : "no",
114                       "type"      : "TLV",
115                       "format"    : "sequence",
116                       "contents"  : [ { "name"          : "Current Status",
117                                         "format"        : "guint8",
118                                         "public-format" : "QmiDmsUimPinStatus" },
119                                       { "name"   : "Verify Retries Left",
120                                         "format" : "guint8" },
121                                       { "name"   : "Unblock Retries Left",
122                                         "format" : "guint8" } ] },
123                     { "name"          : "Activation State",
124                       "id"            : "0x13",
125                       "mandatory"     : "no",
126                       "type"          : "TLV",
127                       "format"        : "guint16",
128                       "public-format" : "QmiDmsActivationState" },
129                     { "name"          : "Operating Mode",
130                       "id"            : "0x14",
131                       "mandatory"     : "no",
132                       "type"          : "TLV",
133                       "format"        : "guint8",
134                       "public-format" : "QmiDmsOperatingMode" },
135                     { "name"          : "UIM State",
136                       "id"            : "0x15",
137                       "mandatory"     : "no",
138                       "type"          : "TLV",
139                       "format"        : "guint8",
140                       "public-format" : "QmiDmsUimState" },
141                     { "name"          : "Wireless Disable State",
142                       "id"            : "0x16",
143                       "mandatory"     : "no",
144                       "type"          : "TLV",
145                       "format"        : "guint8",
146                       "public-format" : "gboolean" },
147                     { "name"          : "PRL Init Notification",
148                       "id"            : "0x17",
149                       "mandatory"     : "no",
150                       "type"          : "TLV",
151                       "format"        : "guint8",
152                       "public-format" : "gboolean" } ] },
153
154   // *********************************************************************************
155   {  "name"    : "Get Capabilities",
156      "type"    : "Message",
157      "service" : "DMS",
158      "id"      : "0x0020",
159      "version" : "1.0",
160      "output"  : [  { "common-ref" : "Operation Result" },
161                     { "name"      : "Info",
162                       "id"        : "0x01",
163                       "mandatory" : "yes",
164                       "type"      : "TLV",
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",
171                                         "format"        : "guint8",
172                                         "public-format" : "QmiDmsDataServiceCapability" },
173                                       { "name"          : "SIM Capability",
174                                         "format"        : "guint8",
175                                         "public-format" : "QmiDmsSimCapability" },
176                                       { "name"   : "Radio Interface List",
177                                         "format" : "array",
178                                         "array-element" : { "format"        : "guint8",
179                                                             "public-format" : "QmiDmsRadioInterface" } } ],
180                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
181
182   // *********************************************************************************
183   {  "name"    : "Get Manufacturer",
184      "type"    : "Message",
185      "service" : "DMS",
186      "id"      : "0x0021",
187      "version" : "1.0",
188      "output"  : [  { "common-ref" : "Operation Result" },
189                     { "name"      : "Manufacturer",
190                       "id"        : "0x01",
191                       "mandatory" : "yes",
192                       "type"      : "TLV",
193                       "format"    : "string",
194                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
195
196   // *********************************************************************************
197   {  "name"    : "Get Model",
198      "type"    : "Message",
199      "service" : "DMS",
200      "id"      : "0x0022",
201      "version" : "1.0",
202      "output"  : [  { "common-ref" : "Operation Result" },
203                     { "name"      : "Model",
204                       "id"        : "0x01",
205                       "mandatory" : "yes",
206                       "type"      : "TLV",
207                       "format"    : "string",
208                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
209
210   // *********************************************************************************
211   {  "name"    : "Get Revision",
212      "type"    : "Message",
213      "service" : "DMS",
214      "id"      : "0x0023",
215      "version" : "1.0",
216      "output"  : [  { "common-ref" : "Operation Result" },
217                     { "name"      : "Revision",
218                       "id"        : "0x01",
219                       "mandatory" : "yes",
220                       "type"      : "TLV",
221                       "format"    : "string",
222                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
223
224   // *********************************************************************************
225   {  "name"    : "Get MSISDN",
226      "type"    : "Message",
227      "service" : "DMS",
228      "id"      : "0x0024",
229      "version" : "1.0",
230      "output"  : [  { "common-ref" : "Operation Result" },
231                     { "name"      : "MSISDN",
232                       "id"        : "0x01",
233                       "mandatory" : "yes",
234                       "type"      : "TLV",
235                       "format"    : "string",
236                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
237
238   // *********************************************************************************
239   {  "name"    : "Get IDs",
240      "type"    : "Message",
241      "service" : "DMS",
242      "id"      : "0x0025",
243      "version" : "1.0",
244      "output"  : [  { "common-ref" : "Operation Result" },
245                     { "name"      : "Esn",
246                       "id"        : "0x10",
247                       "mandatory" : "no",
248                       "type"      : "TLV",
249                       "format"    : "string",
250                       "prerequisites": [ { "common-ref" : "Success" } ] },
251                     { "name"      : "Imei",
252                       "id"        : "0x11",
253                       "mandatory" : "no",
254                       "type"      : "TLV",
255                       "format"    : "string",
256                       "max-size"  : "15",
257                       "prerequisites": [ { "common-ref" : "Success" } ] },
258                     { "name"      : "Meid",
259                       "id"        : "0x12",
260                       "mandatory" : "no",
261                       "type"      : "TLV",
262                       "format"    : "string",
263                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
264
265   // *********************************************************************************
266   {  "name"    : "Get Power State",
267      "type"    : "Message",
268      "service" : "DMS",
269      "id"      : "0x0026",
270      "version" : "1.0",
271      "output"  : [  { "common-ref" : "Operation Result" },
272                     { "name"      : "Info",
273                       "id"        : "0x01",
274                       "mandatory" : "yes",
275                       "type"      : "TLV",
276                       "format"    : "sequence",
277                       "contents"  : [ { "name"   : "Power State Flags",
278                                         "format" : "guint8" },
279                                       { "name"   : "Battery Level",
280                                         "format" : "guint8" } ],
281                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
282
283   // *********************************************************************************
284   {  "name"    : "UIM Set PIN Protection",
285      "type"    : "Message",
286      "service" : "DMS",
287      "id"      : "0x0027",
288      "version" : "1.1",
289      "input"   : [  { "name" : "Info",
290                       "id"   : "0x01",
291                       "mandatory" : "yes",
292                       "type"      : "TLV",
293                       "format"    : "sequence",
294                       "contents"  : [ { "name"          : "Pin ID",
295                                         "format"        : "guint8",
296                                         "public-format" : "QmiDmsUimPinId" },
297                                       { "name"          : "Protection Enabled",
298                                         "format"        : "guint8",
299                                         "public-format" : "gboolean" },
300                                       { "name"   : "PIN",
301                                         "format" : "string" } ] } ],
302      "output"  : [  { "common-ref" : "Operation Result" },
303                     { "name"      : "Pin Retries Status",
304                       "id"        : "0x10",
305                       "mandatory" : "no",
306                       "type"      : "TLV",
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" } ] } ] },
313
314   // *********************************************************************************
315   {  "name"    : "UIM Verify PIN",
316      "type"    : "Message",
317      "service" : "DMS",
318      "id"      : "0x0028",
319      "version" : "1.1",
320      "input"   : [  { "name" : "Info",
321                       "id"   : "0x01",
322                       "mandatory" : "yes",
323                       "type"      : "TLV",
324                       "format"    : "sequence",
325                       "contents"  : [ { "name"          : "Pin ID",
326                                         "format"        : "guint8",
327                                         "public-format" : "QmiDmsUimPinId" },
328                                       { "name"   : "PIN",
329                                         "format" : "string" } ] } ],
330      "output"  : [  { "common-ref" : "Operation Result" },
331                     { "name"      : "Pin Retries Status",
332                       "id"        : "0x10",
333                       "mandatory" : "no",
334                       "type"      : "TLV",
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" } ] } ] },
341
342   // *********************************************************************************
343   {  "name"    : "UIM Unblock PIN",
344      "type"    : "Message",
345      "service" : "DMS",
346      "id"      : "0x0029",
347      "version" : "1.1",
348      "input"   : [  { "name" : "Info",
349                       "id"   : "0x01",
350                       "mandatory" : "yes",
351                       "type"      : "TLV",
352                       "format"    : "sequence",
353                       "contents"  : [ { "name"          : "Pin ID",
354                                         "format"        : "guint8",
355                                         "public-format" : "QmiDmsUimPinId" },
356                                       { "name"   : "PUK",
357                                         "format" : "string" },
358                                       { "name"   : "New PIN",
359                                         "format" : "string" } ] } ],
360      "output"  : [  { "common-ref" : "Operation Result" },
361                     { "name"      : "Pin Retries Status",
362                       "id"        : "0x10",
363                       "mandatory" : "no",
364                       "type"      : "TLV",
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" } ] } ] },
371
372   // *********************************************************************************
373   {  "name"    : "UIM Change PIN",
374      "type"    : "Message",
375      "service" : "DMS",
376      "id"      : "0x002A",
377      "version" : "1.1",
378      "input"   : [  { "name" : "Info",
379                       "id"   : "0x01",
380                       "mandatory" : "yes",
381                       "type"      : "TLV",
382                       "format"    : "sequence",
383                       "contents"  : [ { "name"          : "Pin ID",
384                                         "format"        : "guint8",
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",
392                       "id"        : "0x10",
393                       "mandatory" : "no",
394                       "type"      : "TLV",
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" } ] } ] },
401
402   // *********************************************************************************
403   {  "name"    : "UIM Get PIN Status",
404      "type"    : "Message",
405      "service" : "DMS",
406      "id"      : "0x002B",
407      "version" : "1.1",
408      "output"  : [  { "common-ref" : "Operation Result" },
409                     { "name"      : "PIN1 Status",
410                       "id"        : "0x11",
411                       "mandatory" : "no",
412                       "type"      : "TLV",
413                       "format"    : "sequence",
414                       "contents"  : [ { "name"          : "Current Status",
415                                         "format"        : "guint8",
416                                         "public-format" : "QmiDmsUimPinStatus" },
417                                       { "name"   : "Verify Retries Left",
418                                         "format" : "guint8" },
419                                       { "name"   : "Unblock Retries Left",
420                                         "format" : "guint8" } ] },
421                     { "name"      : "PIN2 Status",
422                       "id"        : "0x12",
423                       "mandatory" : "no",
424                       "type"      : "TLV",
425                       "format"    : "sequence",
426                       "contents"  : [ { "name"          : "Current Status",
427                                         "format"        : "guint8",
428                                         "public-format" : "QmiDmsUimPinStatus" },
429                                       { "name"   : "Verify Retries Left",
430                                         "format" : "guint8" },
431                                       { "name"   : "Unblock Retries Left",
432                                         "format" : "guint8" } ] } ] },
433
434   // *********************************************************************************
435   {  "name"    : "Get Hardware Revision",
436      "type"    : "Message",
437      "service" : "DMS",
438      "id"      : "0x002C",
439      "version" : "1.2",
440      "output"  : [  { "common-ref" : "Operation Result" },
441                     { "name"      : "Revision",
442                       "id"        : "0x01",
443                       "mandatory" : "yes",
444                       "type"      : "TLV",
445                       "format"    : "string",
446                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
447
448   // *********************************************************************************
449   {  "name"    : "Get Operating Mode",
450      "type"    : "Message",
451      "service" : "DMS",
452      "id"      : "0x002D",
453      "version" : "1.1",
454      "output"  : [  { "common-ref" : "Operation Result" },
455                     { "name"      : "Mode",
456                       "id"        : "0x01",
457                       "mandatory" : "yes",
458                       "type"      : "TLV",
459                       "format"    : "guint8",
460                       "public-format" : "QmiDmsOperatingMode",
461                       "prerequisites": [ { "common-ref" : "Success" } ] },
462                     { "name"      : "Offline Reason",
463                       "id"        : "0x10",
464                       "mandatory" : "no",
465                       "type"      : "TLV",
466                       "format"    : "guint16",
467                       "public-format" : "QmiDmsOfflineReason",
468                       "prerequisites": [ { "field" : "Mode",
469                                            "operation" : "==",
470                                            "value" : "QMI_DMS_OPERATING_MODE_OFFLINE" } ] },
471                     { "name"      : "Hardware Restricted Mode",
472                       "id"        : "0x11",
473                       "mandatory" : "no",
474                       "type"      : "TLV",
475                       "format"    : "guint8",
476                       "public-format" : "gboolean",
477                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
478
479   // *********************************************************************************
480   {  "name"    : "Set Operating Mode",
481      "type"    : "Message",
482      "service" : "DMS",
483      "id"      : "0x002E",
484      "version" : "1.1",
485      "input"   : [  { "name"      : "Mode",
486                       "id"        : "0x01",
487                       "mandatory" : "yes",
488                       "type"      : "TLV",
489                       "format"    : "guint8",
490                       "public-format" : "QmiDmsOperatingMode" } ],
491      "output"  : [  { "common-ref" : "Operation Result" } ] },
492
493   // *********************************************************************************
494   {  "name"    : "Get Time",
495      "type"    : "Message",
496      "service" : "DMS",
497      "id"      : "0x002F",
498      "version" : "1.3",
499      "output"  : [  { "common-ref" : "Operation Result" },
500                     { "name"      : "Device Time",
501                       "id"        : "0x01",
502                       "mandatory" : "yes",
503                       "type"      : "TLV",
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",
513                       "id"        : "0x10",
514                       "mandatory" : "no",
515                       "type"      : "TLV",
516                       "format"    : "guint64",
517                       "prerequisites": [ { "common-ref" : "Success" } ] },
518                     { "name"      : "User Time",
519                       "id"        : "0x11",
520                       "mandatory" : "no",
521                       "type"      : "TLV",
522                       "format"    : "guint64",
523                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
524
525   // *********************************************************************************
526   {  "name"    : "Get PRL Version",
527      "type"    : "Message",
528      "service" : "DMS",
529      "id"      : "0x0030",
530      "version" : "1.3",
531      "output"  : [  { "common-ref" : "Operation Result" },
532                     { "name"      : "Version",
533                       "id"        : "0x01",
534                       "mandatory" : "yes",
535                       "type"      : "TLV",
536                       "format"    : "guint16",
537                       "prerequisites": [ { "common-ref" : "Success" } ] },
538                     { "name"          : "PRL Only Preference",
539                       "id"            : "0x10",
540                       "mandatory"     : "no",
541                       "type"          : "TLV",
542                       "format"        : "guint8",
543                       "public-format" : "gboolean",
544                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
545
546   // *********************************************************************************
547   {  "name"    : "Get Activation State",
548      "type"    : "Message",
549      "service" : "DMS",
550      "id"      : "0x0031",
551      "version" : "1.3",
552      "output"  : [  { "common-ref" : "Operation Result" },
553                     { "name"          : "Info",
554                       "id"            : "0x01",
555                       "mandatory"     : "yes",
556                       "type"          : "TLV",
557                       "format"        : "guint16",
558                       "public-format" : "QmiDmsActivationState",
559                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
560
561   // *********************************************************************************
562   {  "name"    : "Activate Automatic",
563      "type"    : "Message",
564      "service" : "DMS",
565      "id"      : "0x0032",
566      "version" : "1.3",
567      "input"   : [  { "name"               : "Activation Code",
568                       "id"                 : "0x01",
569                       "mandatory"          : "yes",
570                       "type"               : "TLV",
571                       "format"             : "string",
572                       "size-prefix-format" : "guint8" } ],
573      "output"  : [  { "common-ref" : "Operation Result" } ] },
574
575   // *********************************************************************************
576   {  "name"    : "Activate Manual",
577      "type"    : "Message",
578      "service" : "DMS",
579      "id"      : "0x0033",
580      "version" : "1.3",
581      "input"   : [  { "name"      : "Info",
582                       "id"        : "0x01",
583                       "mandatory" : "yes",
584                       "type"      : "TLV",
585                       "format"    : "sequence",
586                       "contents"  : [ { "name"       : "Service Programming Code",
587                                         "format"     : "string",
588                                         "fixed-size" : "6" },
589                                       { "name"   : "System Identification Number",
590                                         "format" : "guint16" },
591                                       { "name"     : "Mobile Directory Number",
592                                         "format"   : "string",
593                                         "max-size" : "15" },
594                                       { "name"     : "Mobile Identification Number",
595                                         "format"   : "string",
596                                         "max-size" : "15" } ] },
597                     { "name"               : "MN HA key",
598                       "id"                 : "0x11",
599                       "mandatory"          : "no",
600                       "type"               : "TLV",
601                       "format"             : "string",
602                       "max-size"           : "16",
603                       "size-prefix-format" : "guint8" },
604                     { "name"               : "MN AAA key",
605                       "id"                 : "0x12",
606                       "mandatory"          : "no",
607                       "type"               : "TLV",
608                       "format"             : "string",
609                       "max-size"           : "16",
610                       "size-prefix-format" : "guint8" },
611                     { "name"      : "PRL",
612                       "id"        : "0x13",
613                       "mandatory" : "no",
614                       "type"      : "TLV",
615                       "format"    : "sequence",
616                       "contents"  : [ { "name"   : "PRL total length",
617                                         "format" : "guint16" },
618                                       { "name"   : "PRL segment",
619                                         "format"                 : "array",
620                                         "size-prefix-format"     : "guint16",
621                                         "sequence-prefix-format" : "guint8",
622                                         "array-element"          : { "format" : "guint8" } } ] } ],
623      "output"  : [  { "common-ref" : "Operation Result" } ] },
624
625   // *********************************************************************************
626   {  "name"    : "Get User Lock State",
627      "type"    : "Message",
628      "service" : "DMS",
629      "id"      : "0x0034",
630      "version" : "1.3",
631      "output"  : [  { "common-ref" : "Operation Result" },
632                     { "name"          : "Enabled",
633                       "id"            : "0x01",
634                       "mandatory"     : "yes",
635                       "type"          : "TLV",
636                       "format"        : "guint8",
637                       "public-format" : "gboolean",
638                       "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
639
640   // *********************************************************************************
641   {  "name"    : "Set User Lock State",
642      "type"    : "Message",
643      "service" : "DMS",
644      "id"      : "0x0035",
645      "version" : "1.3",
646      "input"   : [  { "name"      : "Info",
647                       "id"        : "0x01",
648                       "mandatory" : "yes",
649                       "type"      : "TLV",
650                       "format"    : "sequence",
651                       "contents"  : [ { "name"          : "Enabled",
652                                         "format"        : "guint8",
653                                         "public-format" : "gboolean" },
654                                       { "name"       : "Lock Code",
655                                         "format"     : "string",
656                                         "fixed-size" : "4" } ] } ],
657      "output"  : [  { "common-ref" : "Operation Result" } ] },
658
659   // *********************************************************************************
660   {  "name"    : "Set User Lock Code",
661      "type"    : "Message",
662      "service" : "DMS",
663      "id"      : "0x0036",
664      "version" : "1.3",
665      "input"   : [  { "name"      : "Info",
666                       "id"        : "0x01",
667                       "mandatory" : "yes",
668                       "type"      : "TLV",
669                       "format"    : "sequence",
670                       "contents"  : [ { "name"       : "Old Code",
671                                         "format"     : "string",
672                                         "fixed-size" : "4" },
673                                       { "name"       : "New Code",
674                                         "format"     : "string",
675                                         "fixed-size" : "4" } ] } ],
676      "output"  : [  { "common-ref" : "Operation Result" } ] },
677
678   // *********************************************************************************
679   {  "name"    : "Read User Data",
680      "type"    : "Message",
681      "service" : "DMS",
682      "id"      : "0x0037",
683      "version" : "1.6",
684      "output"  : [  { "common-ref" : "Operation Result" },
685                     { "name"               : "User Data",
686                       "id"                 : "0x01",
687                       "mandatory"          : "yes",
688                       "type"               : "TLV",
689                       "format"             : "array",
690                       "size-prefix-format" : "guint16",
691                       "array-element"      : { "format" : "guint8" },
692                       "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
693
694   // *********************************************************************************
695   {  "name"    : "Write User Data",
696      "type"    : "Message",
697      "service" : "DMS",
698      "id"      : "0x0038",
699      "version" : "1.6",
700      "input"   : [ { "name"               : "User Data",
701                      "id"                 : "0x01",
702                      "mandatory"          : "yes",
703                      "type"               : "TLV",
704                      "format"             : "array",
705                      "size-prefix-format" : "guint16",
706                      "array-element"      : { "format" : "guint8" } } ],
707      "output"  : [ { "common-ref" : "Operation Result" } ] },
708
709   // *********************************************************************************
710   {  "name"    : "Read ERI File",
711      "type"    : "Message",
712      "service" : "DMS",
713      "id"      : "0x0039",
714      "version" : "1.6",
715      "output"  : [  { "common-ref" : "Operation Result" },
716                     { "name"               : "ERI File",
717                       "id"                 : "0x01",
718                       "mandatory"          : "yes",
719                       "type"               : "TLV",
720                       "format"             : "array",
721                       "size-prefix-format" : "guint16",
722                       "array-element"      : { "format" : "guint8" },
723                       "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
724
725   // *********************************************************************************
726   {  "name"    : "Restore Factory Defaults",
727      "type"    : "Message",
728      "service" : "DMS",
729      "id"      : "0x003A",
730      "version" : "1.6",
731      "input"   : [  { "name"          : "Service Programming Code",
732                       "id"            : "0x01",
733                       "mandatory"     : "yes",
734                       "type"          : "TLV",
735                       "format"        : "string",
736                       "fixed-size"    : "6" } ],
737      "output"  : [  { "common-ref" : "Operation Result" } ] },
738
739   // *********************************************************************************
740   {  "name"    : "Validate Service Programming Code",
741      "type"    : "Message",
742      "service" : "DMS",
743      "id"      : "0x003B",
744      "version" : "1.3",
745      "input"   : [  { "name"          : "Service Programming Code",
746                       "id"            : "0x01",
747                       "mandatory"     : "yes",
748                       "type"          : "TLV",
749                       "format"        : "string",
750                       "fixed-size"    : "6" } ],
751      "output"  : [  { "common-ref" : "Operation Result" } ] },
752
753   // *********************************************************************************
754   {  "name"    : "UIM Get ICCID",
755      "type"    : "Message",
756      "service" : "DMS",
757      "id"      : "0x003C",
758      "version" : "1.3",
759      "output"  : [  { "common-ref" : "Operation Result" },
760                     { "name"      : "ICCID",
761                       "id"        : "0x01",
762                       "mandatory" : "yes",
763                       "type"      : "TLV",
764                       "format"    : "string",
765                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
766
767   // *********************************************************************************
768   {  "name"    : "UIM Get CK Status",
769      "type"    : "Message",
770      "service" : "DMS",
771      "id"      : "0x0040",
772      "version" : "1.3",
773      "input"   : [  { "name"          : "Facility",
774                       "id"            : "0x01",
775                       "mandatory"     : "yes",
776                       "type"          : "TLV",
777                       "format"        : "guint8",
778                       "public-format" : "QmiDmsUimFacility" } ],
779      "output"  : [  { "common-ref" : "Operation Result" },
780                     { "name"      : "CK Status",
781                       "id"        : "0x01",
782                       "mandatory" : "yes",
783                       "type"      : "TLV",
784                       "format"    : "sequence",
785                       "contents"  : [ { "name"          : "Facility State",
786                                         "format"        : "guint8",
787                                         "public-format" : "QmiDmsUimFacilityState" },
788                                       { "name"   : "Verify Retries Left",
789                                         "format" : "guint8" },
790                                       { "name"   : "Unblock Retries Left",
791                                         "format" : "guint8" } ],
792                       "prerequisites": [ { "common-ref" : "Success" } ] },
793                     { "name"      : "Operation Blocking Facility",
794                       "id"        : "0x10",
795                       "mandatory" : "false",
796                       "type"      : "TLV",
797                       "format"    : "guint8",
798                       "public-format" : "gboolean",
799                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
800
801   // *********************************************************************************
802   {  "name"    : "UIM Set CK Protection",
803      "type"    : "Message",
804      "service" : "DMS",
805      "id"      : "0x0041",
806      "version" : "1.3",
807      "input"   : [  { "name"      : "Facility",
808                       "id"        : "0x01",
809                       "mandatory" : "yes",
810                       "type"      : "TLV",
811                       "format"    : "sequence",
812                       "contents"  : [ { "name"          : "Facility",
813                                         "format"        : "guint8",
814                                         "public-format" : "QmiDmsUimFacility" },
815                                       { "name"          : "Facility State",
816                                         "format"        : "guint8",
817                                         "public-format" : "QmiDmsUimFacilityState" },
818                                       { "name"   : "Facility Depersonalization Control Key",
819                                         "format" : "string" } ] } ],
820      "output"  : [  { "common-ref" : "Operation Result" },
821                     { "name"      : "Verify Retries Left",
822                       "id"        : "0x10",
823                       "mandatory" : "no",
824                       "type"      : "TLV",
825                       "format"    : "guint8" } ] },
826
827   // *********************************************************************************
828   {  "name"    : "UIM Unblock CK",
829      "type"    : "Message",
830      "service" : "DMS",
831      "id"      : "0x0042",
832      "version" : "1.3",
833      "input"   : [  { "name"      : "Facility",
834                       "id"        : "0x01",
835                       "mandatory" : "yes",
836                       "type"      : "TLV",
837                       "format"    : "sequence",
838                       "contents"  : [ { "name"          : "Facility",
839                                         "format"        : "guint8",
840                                         "public-format" : "QmiDmsUimFacility" },
841                                       { "name"   : "Facility Control Key",
842                                         "format" : "string" } ] } ],
843      "output"  : [  { "common-ref" : "Operation Result" },
844                     { "name"      : "Unblock Retries Left",
845                       "id"        : "0x10",
846                       "mandatory" : "no",
847                       "type"      : "TLV",
848                       "format"    : "guint8" } ] },
849
850   // *********************************************************************************
851   {  "name"    : "UIM Get IMSI",
852      "type"    : "Message",
853      "service" : "DMS",
854      "id"      : "0x0043",
855      "version" : "1.3",
856      "output"  : [  { "common-ref" : "Operation Result" },
857                     { "name"      : "IMSI",
858                       "id"        : "0x01",
859                       "mandatory" : "yes",
860                       "type"      : "TLV",
861                       "format"    : "string",
862                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
863
864   // *********************************************************************************
865   {  "name"    : "UIM Get State",
866      "type"    : "Message",
867      "service" : "DMS",
868      "id"      : "0x0044",
869      "version" : "1.3",
870      "output"  : [  { "common-ref" : "Operation Result" },
871                     { "name"          : "State",
872                       "id"            : "0x01",
873                       "mandatory"     : "yes",
874                       "type"          : "TLV",
875                       "format"        : "guint8",
876                       "public-format" : "QmiDmsUimState",
877                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
878
879   // *********************************************************************************
880   {  "name"    : "Get Band Capabilities",
881      "type"    : "Message",
882      "service" : "DMS",
883      "id"      : "0x0045",
884      "version" : "1.3",
885      "output"  : [  { "common-ref" : "Operation Result" },
886                     { "name"          : "Band Capability",
887                       "id"            : "0x01",
888                       "mandatory"     : "yes",
889                       "type"          : "TLV",
890                       "format"        : "guint64",
891                       "public-format" : "QmiDmsBandCapability",
892                       "prerequisites": [ { "common-ref" : "Success" } ] },
893                     { "name"          : "LTE Band Capability",
894                       "id"            : "0x10",
895                       "mandatory"     : "no",
896                       "type"          : "TLV",
897                       "format"        : "guint64",
898                       "public-format" : "QmiDmsLteBandCapability",
899                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
900
901   // *********************************************************************************
902   {  "name"    : "Get Factory SKU",
903      "type"    : "Message",
904      "service" : "DMS",
905      "id"      : "0x0046",
906      "version" : "1.6",
907      "output"  : [  { "common-ref" : "Operation Result" },
908                     { "name"         : "SKU",
909                       "id"           : "0x01",
910                       "mandatory"    : "yes",
911                       "type"         : "TLV",
912                       "format"       : "string",
913                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
914
915   // *********************************************************************************
916   {  "name"    : "Get Firmware Preference",
917      "type"    : "Message",
918      "service" : "DMS",
919      "id"      : "0x0047",
920      "version" : "1.3",
921      "output"  : [ { "common-ref" : "Operation Result" },
922                    { "name"          : "List",
923                      "id"            : "0x01",
924                      "mandatory"     : "yes",
925                      "type"          : "TLV",
926                      "format"        : "array",
927                      "array-element" : { "name"     : "Image",
928                                          "format"   : "struct",
929                                          "contents" : [ { "name"          : "Type",
930                                                           "format"        : "guint8",
931                                                           "public-format" : "QmiDmsFirmwareImageType" },
932                                                         { "name"          : "Unique ID",
933                                                           "format"        : "array",
934                                                           "fixed-size"    : "16",
935                                                           "array-element" : { "format": "guint8" } },
936                                                         { "name"   : "Build ID",
937                                                           "format" : "string" } ] },
938                      "prerequisites"   : [ { "common-ref" : "Success" } ] } ] },
939
940   // *********************************************************************************
941   {  "name"    : "Set Firmware Preference",
942      "type"    : "Message",
943      "service" : "DMS",
944      "id"      : "0x0048",
945      "version" : "1.3",
946      "input"   : [ { "name"          : "List",
947                      "id"            : "0x01",
948                      "mandatory"     : "yes",
949                      "type"          : "TLV",
950                      "format"        : "array",
951                      "array-element" : { "name"     : "Image",
952                                          "format"   : "struct",
953                                          "contents" : [ { "name"          : "Type",
954                                                           "format"        : "guint8",
955                                                           "public-format" : "QmiDmsFirmwareImageType" },
956                                                         { "name"          : "Unique ID",
957                                                           "format"        : "array",
958                                                           "fixed-size"    : "16",
959                                                           "array-element" : { "format": "guint8" } },
960                                                         { "name"   : "Build ID",
961                                                           "format" : "string" } ] } },
962                    { "name"          : "Download Override",
963                      "id"            : "0x10",
964                      "mandatory"     : "no",
965                      "type"          : "TLV",
966                      "format"        : "guint8",
967                      "public-format" : "gboolean" },
968                    { "name"          : "Modem Storage Index",
969                      "id"            : "0x11",
970                      "mandatory"     : "no",
971                      "type"          : "TLV",
972                      "format"        : "guint8" } ],
973      "output"  : [ { "common-ref" : "Operation Result" },
974                    { "name"          : "Image Download List",
975                      "id"            : "0x01",
976                      "mandatory"     : "yes",
977                      "type"          : "TLV",
978                      "format"        : "array",
979                      "array-element" : { "name"     : "Image Type",
980                                          "format"   : "guint8",
981                                          "public-format" : "QmiDmsFirmwareImageType" },
982                      "prerequisites"   : [ { "common-ref" : "Success" } ] } ] },
983
984   // *********************************************************************************
985   {  "name"    : "List Stored Images",
986      "type"    : "Message",
987      "service" : "DMS",
988      "id"      : "0x0049",
989      "version" : "1.3",
990      "output"  : [ { "common-ref" : "Operation Result" },
991                    { "name"          : "List",
992                      "id"            : "0x01",
993                      "mandatory"     : "yes",
994                      "type"          : "TLV",
995                      "format"        : "array",
996                      "array-element" : { "name"     : "Image",
997                                          "format"   : "struct",
998                                          "contents" : [ { "name"          : "Type",
999                                                           "format"        : "guint8",
1000                                                           "public-format" : "QmiDmsFirmwareImageType" },
1001                                                         { "name"   : "Maximum Images",
1002                                                           "format" : "guint8" },
1003                                                         { "name"   : "Index Of Running Image",
1004                                                           "format" : "guint8" },
1005                                                         { "name"          : "Sublist",
1006                                                           "format"        : "array",
1007                                                           "array-element" : { "name"     : "Sublist Element",
1008                                                                               "format"   : "struct",
1009                                                                               "contents" : [ { "name"   : "Storage Index",
1010                                                                                                "format" : "guint8" },
1011                                                                                              { "name"   : "Failure Count",
1012                                                                                                "format" : "guint8" },
1013                                                                                              { "name"          : "Unique ID",
1014                                                                                                "format"        : "array",
1015                                                                                                "fixed-size"    : "16",
1016                                                                                                "array-element" : { "format": "guint8" } },
1017                                                                                              { "name"   : "Build ID",
1018                                                                                                "format" : "string" } ] } } ] },
1019                      "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
1020
1021   // *********************************************************************************
1022   {  "name"    : "Delete Stored Image",
1023      "type"    : "Message",
1024      "service" : "DMS",
1025      "id"      : "0x004A",
1026      "version" : "1.3",
1027      "input"   : [ { "name"      : "Image",
1028                      "id"        : "0x01",
1029                      "mandatory" : "yes",
1030                      "type"      : "TLV",
1031                      "format"    : "struct",
1032                      "contents"  : [ { "name"          : "Type",
1033                                        "format"        : "guint8",
1034                                        "public-format" : "QmiDmsFirmwareImageType" },
1035                                      { "name"          : "Unique ID",
1036                                        "format"        : "array",
1037                                        "fixed-size"    : "16",
1038                                        "array-element" : { "format": "guint8" } },
1039                                      { "name"   : "Build ID",
1040                                        "format" : "string" } ] } ],
1041      "output"  : [ { "common-ref" : "Operation Result" } ] },
1042
1043   // *********************************************************************************
1044   {  "name"    : "Set Time",
1045      "type"    : "Message",
1046      "service" : "DMS",
1047      "id"      : "0x004B",
1048      "version" : "1.4",
1049      "input"   : [  { "name"      : "Time Value",
1050                       "id"        : "0x01",
1051                       "mandatory" : "yes",
1052                       "type"      : "TLV",
1053                       "format"    : "guint64" },
1054                     { "name"          : "Time Reference Type",
1055                       "id"            : "0x10",
1056                       "mandatory"     : "yes",
1057                       "type"          :  "TLV",
1058                       "format"        : "guint32",
1059                       "public-format" : "QmiDmsTimeReferenceType" } ],
1060      "output"  : [  { "common-ref" : "Operation Result" } ] },
1061
1062   // *********************************************************************************
1063   {  "name"    : "Get Stored Image Info",
1064      "type"    : "Message",
1065      "service" : "DMS",
1066      "id"      : "0x004C",
1067      "version" : "1.3",
1068      "input"   : [ { "name"      : "Image",
1069                      "id"        : "0x01",
1070                      "mandatory" : "yes",
1071                      "type"      : "TLV",
1072                      "format"    : "struct",
1073                      "contents"  : [ { "name"          : "Type",
1074                                        "format"        : "guint8",
1075                                        "public-format" : "QmiDmsFirmwareImageType" },
1076                                      { "name"          : "Unique ID",
1077                                        "format"        : "array",
1078                                        "fixed-size"    : "16",
1079                                        "array-element" : { "format": "guint8" } },
1080                                      { "name"   : "Build ID",
1081                                        "format" : "string" } ] } ],
1082      "output"  : [ { "common-ref" : "Operation Result" },
1083                    { "name"         : "Boot Version",
1084                      "id"           : "0x10",
1085                      "mandatory"    : "no",
1086                      "type"         : "TLV",
1087                      "format"       : "sequence",
1088                      "contents"     : [ { "name"   : "Major Version",
1089                                         "format" : "guint16" },
1090                                       { "name"   : "Minor Version",
1091                                         "format" : "guint16" } ],
1092                      "prerequisites": [ { "common-ref" : "Success" } ] },
1093                    { "name"         : "PRI Version",
1094                      "id"           : "0x11",
1095                      "mandatory"    : "no",
1096                      "type"         : "TLV",
1097                      "format"       : "sequence",
1098                      "contents"     : [ { "name"   : "PRI Version",
1099                                           "format" : "guint32" },
1100                                         { "name"       : "PRI Info",
1101                                           "format"     : "string",
1102                                           "fixed-size" : "32" } ],
1103                      "prerequisites": [ { "common-ref" : "Success" } ] },
1104                    { "name"         : "OEM Lock ID",
1105                      "id"           : "0x12",
1106                      "mandatory"    : "no",
1107                      "type"         : "TLV",
1108                      "format"       : "guint32",
1109                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1110
1111   // *********************************************************************************
1112   {  "name"    : "Get Alt Net Config",
1113      "type"    : "Message",
1114      "service" : "DMS",
1115      "id"      : "0x004D",
1116      "version" : "1.6",
1117      "output"  : [  { "common-ref" : "Operation Result" },
1118                     { "name"          : "Config",
1119                       "id"            : "0x01",
1120                       "mandatory"     : "yes",
1121                       "type"          : "TLV",
1122                       "format"        : "guint8",
1123                       "public-format" : "gboolean",
1124                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1125
1126   // *********************************************************************************
1127   {  "name"    : "Set Alt Net Config",
1128      "type"    : "Message",
1129      "service" : "DMS",
1130      "id"      : "0x004E",
1131      "version" : "1.6",
1132      "input"   : [  { "name"          : "Config",
1133                       "id"            : "0x01",
1134                       "mandatory"     : "yes",
1135                       "type"          : "TLV",
1136                       "format"        : "guint8",
1137                       "public-format" : "gboolean" } ],
1138      "output"  : [  { "common-ref" : "Operation Result" } ] },
1139
1140   // *********************************************************************************
1141   {  "name"    : "Get Software Version",
1142      "type"    : "Message",
1143      "service" : "DMS",
1144      "id"      : "0x0051",
1145      "version" : "1.5",
1146      "output"  : [  { "common-ref" : "Operation Result" },
1147                     { "name"          : "Version",
1148                       "id"            : "0x01",
1149                       "mandatory"     : "yes",
1150                       "type"          : "TLV",
1151                       "format"        : "string",
1152                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1153
1154   // *********************************************************************************
1155   {  "name"    : "Set Service Programming Code",
1156      "type"    : "Message",
1157      "service" : "DMS",
1158      "id"      : "0x0052",
1159      "version" : "1.5",
1160      "input"   : [  { "name"       : "Current",
1161                       "id"         : "0x01",
1162                       "mandatory"  : "yes",
1163                       "type"       : "TLV",
1164                       "format"     : "string",
1165                       "fixed-size" : "6" },
1166                     { "name"       : "New",
1167                       "id"         : "0x02",
1168                       "mandatory"  : "yes",
1169                       "type"       : "TLV",
1170                       "format"     : "string",
1171                       "fixed-size" : "6" } ],
1172      "output"  : [  { "common-ref" : "Operation Result" } ] }
1173
1174 ]