• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/uqmi/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      "since"   : "1.0" },
 11 
 12   // *********************************************************************************
 13   {  "name"    : "QMI Message DMS",
 14      "type"    : "Message-ID-Enum" },
 15 
 16   // *********************************************************************************
 17   {  "name"    : "QMI Indication DMS",
 18      "type"    : "Indication-ID-Enum" },
 19 
 20   // *********************************************************************************
 21   {  "name"    : "Reset",
 22      "type"    : "Message",
 23      "service" : "DMS",
 24      "id"      : "0x0000",
 25      "since"   : "1.0",
 26      "output"  : [  { "common-ref" : "Operation Result" } ] },
 27 
 28   // *********************************************************************************
 29   {  "name"    : "Set Event Report",
 30      "type"    : "Message",
 31      "service" : "DMS",
 32      "id"      : "0x0001",
 33      "since"   : "1.0",
 34      "input"   : [  { "name"          : "Power State Reporting",
 35                       "id"            : "0x10",
 36                       "type"          : "TLV",
 37                       "since"         : "1.0",
 38                       "format"        : "guint8",
 39                       "public-format" : "gboolean" },
 40                     { "name"      : "Battery Level Report Limits",
 41                       "id"        : "0x11",
 42                       "type"      : "TLV",
 43                       "since"     : "1.0",
 44                       "format"    : "sequence",
 45                       "contents"  : [ { "name"   : "Lower Limit",
 46                                         "format" : "guint8" },
 47                                       { "name"   : "Upper Limit",
 48                                         "format" : "guint8" } ] },
 49                     { "name"          : "PIN State Reporting",
 50                       "id"            : "0x12",
 51                       "type"          : "TLV",
 52                       "since"         : "1.0",
 53                       "format"        : "guint8",
 54                       "public-format" : "gboolean" },
 55                     { "name"          : "Activation State Reporting",
 56                       "id"            : "0x13",
 57                       "type"          : "TLV",
 58                       "since"         : "1.0",
 59                       "format"        : "guint8",
 60                       "public-format" : "gboolean" },
 61                     { "name"          : "Operating Mode Reporting",
 62                       "id"            : "0x14",
 63                       "type"          : "TLV",
 64                       "since"         : "1.0",
 65                       "format"        : "guint8",
 66                       "public-format" : "gboolean" },
 67                     { "name"          : "UIM State Reporting",
 68                       "id"            : "0x15",
 69                       "type"          : "TLV",
 70                       "since"         : "1.0",
 71                       "format"        : "guint8",
 72                       "public-format" : "gboolean" },
 73                     { "name"          : "Wireless Disable State Reporting",
 74                       "id"            : "0x16",
 75                       "type"          : "TLV",
 76                       "since"         : "1.0",
 77                       "format"        : "guint8",
 78                       "public-format" : "gboolean" },
 79                     { "name"          : "PRL Init Reporting",
 80                       "id"            : "0x17",
 81                       "type"          : "TLV",
 82                       "since"         : "1.0",
 83                       "format"        : "guint8",
 84                       "public-format" : "gboolean" } ],
 85      "output"  : [  { "common-ref" : "Operation Result" } ] },
 86 
 87   {  "name"    : "Event Report",
 88      "type"    : "Indication",
 89      "service" : "DMS",
 90      "id"      : "0x0001",
 91      "since"   : "1.0",
 92      "output"  : [  { "name"      : "Power State",
 93                       "id"        : "0x10",
 94                       "type"      : "TLV",
 95                       "since"     : "1.0",
 96                       "format"    : "sequence",
 97                       "contents"  : [ { "name"   : "Power State Flags",
 98                                         "format" : "guint8" },
 99                                       { "name"   : "Battery Level",
100                                         "format" : "guint8" } ] },
101                     { "name"      : "PIN1 Status",
102                       "id"        : "0x11",
103                       "type"      : "TLV",
104                       "since"     : "1.0",
105                       "format"    : "sequence",
106                       "contents"  : [ { "name"          : "Current Status",
107                                         "format"        : "guint8",
108                                         "public-format" : "QmiDmsUimPinStatus" },
109                                       { "name"   : "Verify Retries Left",
110                                         "format" : "guint8" },
111                                       { "name"   : "Unblock Retries Left",
112                                         "format" : "guint8" } ] },
113                     { "name"      : "PIN2 Status",
114                       "id"        : "0x12",
115                       "type"      : "TLV",
116                       "since"     : "1.0",
117                       "format"    : "sequence",
118                       "contents"  : [ { "name"          : "Current Status",
119                                         "format"        : "guint8",
120                                         "public-format" : "QmiDmsUimPinStatus" },
121                                       { "name"   : "Verify Retries Left",
122                                         "format" : "guint8" },
123                                       { "name"   : "Unblock Retries Left",
124                                         "format" : "guint8" } ] },
125                     { "name"          : "Activation State",
126                       "id"            : "0x13",
127                       "type"          : "TLV",
128                       "since"         : "1.0",
129                       "format"        : "guint16",
130                       "public-format" : "QmiDmsActivationState" },
131                     { "name"          : "Operating Mode",
132                       "id"            : "0x14",
133                       "type"          : "TLV",
134                       "since"         : "1.0",
135                       "format"        : "guint8",
136                       "public-format" : "QmiDmsOperatingMode" },
137                     { "name"          : "UIM State",
138                       "id"            : "0x15",
139                       "type"          : "TLV",
140                       "since"         : "1.0",
141                       "format"        : "guint8",
142                       "public-format" : "QmiDmsUimState" },
143                     { "name"          : "Wireless Disable State",
144                       "id"            : "0x16",
145                       "type"          : "TLV",
146                       "since"         : "1.0",
147                       "format"        : "guint8",
148                       "public-format" : "gboolean" },
149                     { "name"          : "PRL Init Notification",
150                       "id"            : "0x17",
151                       "type"          : "TLV",
152                       "since"         : "1.0",
153                       "format"        : "guint8",
154                       "public-format" : "gboolean" } ] },
155 
156   // *********************************************************************************
157   {  "name"    : "Get Capabilities",
158      "type"    : "Message",
159      "service" : "DMS",
160      "id"      : "0x0020",
161      "since"   : "1.0",
162      "output"  : [  { "common-ref" : "Operation Result" },
163                     { "name"      : "Info",
164                       "id"        : "0x01",
165                       "type"      : "TLV",
166                       "since"     : "1.0",
167                       "format"    : "sequence",
168                       "contents"  : [ { "name"   : "Max Tx Channel Rate",
169                                         "format" : "guint32" },
170                                       { "name"   : "Max Rx Channel Rate",
171                                         "format" : "guint32" },
172                                       { "name"          : "Data Service Capability",
173                                         "format"        : "guint8",
174                                         "public-format" : "QmiDmsDataServiceCapability" },
175                                       { "name"          : "SIM Capability",
176                                         "format"        : "guint8",
177                                         "public-format" : "QmiDmsSimCapability" },
178                                       { "name"   : "Radio Interface List",
179                                         "format"             : "array",
180                                         "size-prefix-format" : "guint8",
181                                         "array-element"      : { "format"        : "guint8",
182                                                                  "public-format" : "QmiDmsRadioInterface" } } ],
183                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
184 
185   // *********************************************************************************
186   {  "name"    : "Get Manufacturer",
187      "type"    : "Message",
188      "service" : "DMS",
189      "id"      : "0x0021",
190      "since"   : "1.0",
191      "output"  : [  { "common-ref" : "Operation Result" },
192                     { "name"      : "Manufacturer",
193                       "id"        : "0x01",
194                       "type"      : "TLV",
195                       "since"     : "1.0",
196                       "format"    : "string",
197                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
198 
199   // *********************************************************************************
200   {  "name"    : "Get Model",
201      "type"    : "Message",
202      "service" : "DMS",
203      "id"      : "0x0022",
204      "since"   : "1.0",
205      "output"  : [  { "common-ref" : "Operation Result" },
206                     { "name"      : "Model",
207                       "id"        : "0x01",
208                       "type"      : "TLV",
209                       "since"     : "1.0",
210                       "format"    : "string",
211                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
212 
213   // *********************************************************************************
214   {  "name"    : "Get Revision",
215      "type"    : "Message",
216      "service" : "DMS",
217      "id"      : "0x0023",
218      "since"   : "1.0",
219      "output"  : [  { "common-ref" : "Operation Result" },
220                     { "name"      : "Revision",
221                       "id"        : "0x01",
222                       "type"      : "TLV",
223                       "since"     : "1.0",
224                       "format"    : "string",
225                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
226 
227   // *********************************************************************************
228   {  "name"    : "Get MSISDN",
229      "type"    : "Message",
230      "service" : "DMS",
231      "id"      : "0x0024",
232      "since"   : "1.0",
233      "output"  : [  { "common-ref" : "Operation Result" },
234                     { "name"      : "MSISDN",
235                       "id"        : "0x01",
236                       "type"      : "TLV",
237                       "since"     : "1.0",
238                       "format"    : "string",
239                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
240 
241   // *********************************************************************************
242   {  "name"    : "Get IDs",
243      "type"    : "Message",
244      "service" : "DMS",
245      "id"      : "0x0025",
246      "since"   : "1.0",
247      "output"  : [  { "common-ref" : "Operation Result" },
248                     { "name"          : "Esn",
249                       "id"            : "0x10",
250                       "type"          : "TLV",
251                       "since"         : "1.0",
252                       "format"        : "string",
253                       "prerequisites" : [ { "common-ref" : "Success" } ] },
254                     { "name"          : "Imei",
255                       "id"            : "0x11",
256                       "type"          : "TLV",
257                       "since"         : "1.0",
258                       "format"        : "string",
259                       "max-size"      : "15",
260                       "personal-info" : "true",
261                       "prerequisites" : [ { "common-ref" : "Success" } ] },
262                     { "name"          : "Meid",
263                       "id"            : "0x12",
264                       "type"          : "TLV",
265                       "since"         : "1.0",
266                       "format"        : "string",
267                       "personal-info" : "true",
268                       "prerequisites" : [ { "common-ref" : "Success" } ] },
269                     { "name"      : "Imei Software Version",
270                       "id"        : "0x13",
271                       "type"      : "TLV",
272                       "since"     : "1.0",
273                       "format"    : "string",
274                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
275 
276   // *********************************************************************************
277   {  "name"    : "Get Power State",
278      "type"    : "Message",
279      "service" : "DMS",
280      "id"      : "0x0026",
281      "since"   : "1.0",
282      "output"  : [  { "common-ref" : "Operation Result" },
283                     { "name"      : "Info",
284                       "id"        : "0x01",
285                       "type"      : "TLV",
286                       "since"     : "1.0",
287                       "format"    : "sequence",
288                       "contents"  : [ { "name"   : "Power State Flags",
289                                         "format" : "guint8" },
290                                       { "name"   : "Battery Level",
291                                         "format" : "guint8" } ],
292                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
293 
294   // *********************************************************************************
295   {  "name"    : "UIM Set PIN Protection",
296      "type"    : "Message",
297      "service" : "DMS",
298      "id"      : "0x0027",
299      "since"   : "1.0",
300      "input"   : [  { "name" : "Info",
301                       "id"   : "0x01",
302                       "type"      : "TLV",
303                       "since"     : "1.0",
304                       "format"    : "sequence",
305                       "contents"  : [ { "name"          : "Pin ID",
306                                         "format"        : "guint8",
307                                         "public-format" : "QmiDmsUimPinId" },
308                                       { "name"          : "Protection Enabled",
309                                         "format"        : "guint8",
310                                         "public-format" : "gboolean" },
311                                       { "name"          : "PIN",
312                                         "format"        : "string",
313                                         "personal-info" : "true" } ] } ],
314      "output"  : [  { "common-ref" : "Operation Result" },
315                     { "name"      : "Pin Retries Status",
316                       "id"        : "0x10",
317                       "type"      : "TLV",
318                       "since"     : "1.0",
319                       "format"    : "sequence",
320                       "contents"  : [ { "name"   : "Verify Retries Left",
321                                         "format" : "guint8" },
322                                       { "name"   : "Unblock Retries Left",
323                                         "format" : "guint8" } ],
324                       "prerequisites": [ { "common-ref" : "No Success" } ] } ] },
325 
326   // *********************************************************************************
327   {  "name"    : "UIM Verify PIN",
328      "type"    : "Message",
329      "service" : "DMS",
330      "id"      : "0x0028",
331      "since"   : "1.0",
332      "input"   : [  { "name" : "Info",
333                       "id"   : "0x01",
334                       "type"      : "TLV",
335                       "since"     : "1.0",
336                       "format"    : "sequence",
337                       "contents"  : [ { "name"          : "Pin ID",
338                                         "format"        : "guint8",
339                                         "public-format" : "QmiDmsUimPinId" },
340                                       { "name"          : "PIN",
341                                         "format"        : "string",
342                                         "personal-info" : "true" } ] } ],
343      "output"  : [  { "common-ref" : "Operation Result" },
344                     { "name"      : "Pin Retries Status",
345                       "id"        : "0x10",
346                       "type"      : "TLV",
347                       "since"     : "1.0",
348                       "format"    : "sequence",
349                       "contents"  : [ { "name"   : "Verify Retries Left",
350                                         "format" : "guint8" },
351                                       { "name"   : "Unblock Retries Left",
352                                         "format" : "guint8" } ],
353                       "prerequisites": [ { "common-ref" : "No Success" } ] } ] },
354 
355   // *********************************************************************************
356   {  "name"    : "UIM Unblock PIN",
357      "type"    : "Message",
358      "service" : "DMS",
359      "id"      : "0x0029",
360      "since"   : "1.0",
361      "input"   : [  { "name" : "Info",
362                       "id"   : "0x01",
363                       "type"      : "TLV",
364                       "since"     : "1.0",
365                       "format"    : "sequence",
366                       "contents"  : [ { "name"          : "Pin ID",
367                                         "format"        : "guint8",
368                                         "public-format" : "QmiDmsUimPinId" },
369                                       { "name"          : "PUK",
370                                         "format"        : "string",
371                                         "personal-info" : "true" },
372                                       { "name"          : "New PIN",
373                                         "format"        : "string",
374                                         "personal-info" : "true" } ] } ],
375      "output"  : [  { "common-ref" : "Operation Result" },
376                     { "name"      : "Pin Retries Status",
377                       "id"        : "0x10",
378                       "type"      : "TLV",
379                       "since"     : "1.0",
380                       "format"    : "sequence",
381                       "contents"  : [ { "name"   : "Verify Retries Left",
382                                         "format" : "guint8" },
383                                       { "name"   : "Unblock Retries Left",
384                                         "format" : "guint8" } ],
385                       "prerequisites": [ { "common-ref" : "No Success" } ] } ] },
386 
387   // *********************************************************************************
388   {  "name"    : "UIM Change PIN",
389      "type"    : "Message",
390      "service" : "DMS",
391      "id"      : "0x002A",
392      "since"   : "1.0",
393      "input"   : [  { "name" : "Info",
394                       "id"   : "0x01",
395                       "type"      : "TLV",
396                       "since"     : "1.0",
397                       "format"    : "sequence",
398                       "contents"  : [ { "name"          : "Pin ID",
399                                         "format"        : "guint8",
400                                         "public-format" : "QmiDmsUimPinId" },
401                                       { "name"          : "Old PIN",
402                                         "format"        : "string",
403                                         "personal-info" : "true" },
404                                       { "name"          : "New PIN",
405                                         "format"        : "string",
406                                         "personal-info" : "true" } ] } ],
407      "output"  : [  { "common-ref" : "Operation Result" },
408                     { "name"      : "Pin Retries Status",
409                       "id"        : "0x10",
410                       "type"      : "TLV",
411                       "since"     : "1.0",
412                       "format"    : "sequence",
413                       "contents"  : [ { "name"   : "Verify Retries Left",
414                                         "format" : "guint8" },
415                                       { "name"   : "Unblock Retries Left",
416                                         "format" : "guint8" } ],
417                       "prerequisites": [ { "common-ref" : "No Success" } ] } ] },
418 
419   // *********************************************************************************
420   {  "name"    : "UIM Get PIN Status",
421      "type"    : "Message",
422      "service" : "DMS",
423      "id"      : "0x002B",
424      "since"   : "1.0",
425      "output"  : [  { "common-ref" : "Operation Result" },
426                     { "name"      : "PIN1 Status",
427                       "id"        : "0x11",
428                       "type"      : "TLV",
429                       "since"     : "1.0",
430                       "format"    : "sequence",
431                       "contents"  : [ { "name"          : "Current Status",
432                                         "format"        : "guint8",
433                                         "public-format" : "QmiDmsUimPinStatus" },
434                                       { "name"   : "Verify Retries Left",
435                                         "format" : "guint8" },
436                                       { "name"   : "Unblock Retries Left",
437                                         "format" : "guint8" } ] },
438                     { "name"      : "PIN2 Status",
439                       "id"        : "0x12",
440                       "type"      : "TLV",
441                       "since"     : "1.0",
442                       "format"    : "sequence",
443                       "contents"  : [ { "name"          : "Current Status",
444                                         "format"        : "guint8",
445                                         "public-format" : "QmiDmsUimPinStatus" },
446                                       { "name"   : "Verify Retries Left",
447                                         "format" : "guint8" },
448                                       { "name"   : "Unblock Retries Left",
449                                         "format" : "guint8" } ] } ] },
450 
451   // *********************************************************************************
452   {  "name"    : "Get Hardware Revision",
453      "type"    : "Message",
454      "service" : "DMS",
455      "id"      : "0x002C",
456      "since"   : "1.0",
457      "output"  : [  { "common-ref" : "Operation Result" },
458                     { "name"      : "Revision",
459                       "id"        : "0x01",
460                       "type"      : "TLV",
461                       "since"     : "1.0",
462                       "format"    : "string",
463                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
464 
465   // *********************************************************************************
466   {  "name"    : "Get Operating Mode",
467      "type"    : "Message",
468      "service" : "DMS",
469      "id"      : "0x002D",
470      "since"   : "1.0",
471      "output"  : [  { "common-ref" : "Operation Result" },
472                     { "name"      : "Mode",
473                       "id"        : "0x01",
474                       "type"      : "TLV",
475                       "since"     : "1.0",
476                       "format"    : "guint8",
477                       "public-format" : "QmiDmsOperatingMode",
478                       "prerequisites": [ { "common-ref" : "Success" } ] },
479                     { "name"      : "Offline Reason",
480                       "id"        : "0x10",
481                       "type"      : "TLV",
482                       "since"     : "1.0",
483                       "format"    : "guint16",
484                       "public-format" : "QmiDmsOfflineReason",
485                       "prerequisites": [ { "field" : "Mode",
486                                            "operation" : "==",
487                                            "value" : "QMI_DMS_OPERATING_MODE_OFFLINE" } ] },
488                     { "name"      : "Hardware Restricted Mode",
489                       "id"        : "0x11",
490                       "type"      : "TLV",
491                       "since"     : "1.0",
492                       "format"    : "guint8",
493                       "public-format" : "gboolean",
494                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
495 
496   // *********************************************************************************
497   {  "name"    : "Set Operating Mode",
498      "type"    : "Message",
499      "service" : "DMS",
500      "id"      : "0x002E",
501      "since"   : "1.0",
502      "input"   : [  { "name"      : "Mode",
503                       "id"        : "0x01",
504                       "type"      : "TLV",
505                       "since"     : "1.0",
506                       "format"    : "guint8",
507                       "public-format" : "QmiDmsOperatingMode" } ],
508      "output"  : [  { "common-ref" : "Operation Result" } ] },
509 
510   // *********************************************************************************
511   {  "name"    : "Get Time",
512      "type"    : "Message",
513      "service" : "DMS",
514      "id"      : "0x002F",
515      "since"   : "1.0",
516      "output"  : [  { "common-ref" : "Operation Result" },
517                     { "name"      : "Device Time",
518                       "id"        : "0x01",
519                       "type"      : "TLV",
520                       "since"     : "1.0",
521                       "format"    : "sequence",
522                       "contents"  : [ { "name"          : "Time Count",
523                                         "format"        : "guint-sized",
524                                         "guint-size"    : "6" },
525                                       { "name"          : "Time Source",
526                                         "format"        : "guint16",
527                                         "public-format" : "QmiDmsTimeSource" } ],
528                       "prerequisites": [ { "common-ref" : "Success" } ] },
529                     { "name"      : "System Time",
530                       "id"        : "0x10",
531                       "type"      : "TLV",
532                       "since"     : "1.0",
533                       "format"    : "guint64",
534                       "prerequisites": [ { "common-ref" : "Success" } ] },
535                     { "name"      : "User Time",
536                       "id"        : "0x11",
537                       "type"      : "TLV",
538                       "since"     : "1.0",
539                       "format"    : "guint64",
540                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
541 
542   // *********************************************************************************
543   {  "name"    : "Get PRL Version",
544      "type"    : "Message",
545      "service" : "DMS",
546      "id"      : "0x0030",
547      "since"   : "1.0",
548      "output"  : [  { "common-ref" : "Operation Result" },
549                     { "name"      : "Version",
550                       "id"        : "0x01",
551                       "type"      : "TLV",
552                       "since"     : "1.0",
553                       "format"    : "guint16",
554                       "prerequisites": [ { "common-ref" : "Success" } ] },
555                     { "name"          : "PRL Only Preference",
556                       "id"            : "0x10",
557                       "type"          : "TLV",
558                       "since"         : "1.0",
559                       "format"        : "guint8",
560                       "public-format" : "gboolean",
561                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
562 
563   // *********************************************************************************
564   {  "name"    : "Get Activation State",
565      "type"    : "Message",
566      "service" : "DMS",
567      "id"      : "0x0031",
568      "since"   : "1.0",
569      "output"  : [  { "common-ref" : "Operation Result" },
570                     { "name"          : "Info",
571                       "id"            : "0x01",
572                       "type"          : "TLV",
573                       "since"         : "1.0",
574                       "format"        : "guint16",
575                       "public-format" : "QmiDmsActivationState",
576                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
577 
578   // *********************************************************************************
579   {  "name"    : "Activate Automatic",
580      "type"    : "Message",
581      "service" : "DMS",
582      "id"      : "0x0032",
583      "since"   : "1.0",
584      "input"   : [  { "name"               : "Activation Code",
585                       "id"                 : "0x01",
586                       "type"               : "TLV",
587                       "since"              : "1.0",
588                       "format"             : "string",
589                       "size-prefix-format" : "guint8" } ],
590      "output"  : [  { "common-ref" : "Operation Result" } ] },
591 
592   // *********************************************************************************
593   {  "name"    : "Activate Manual",
594      "type"    : "Message",
595      "service" : "DMS",
596      "id"      : "0x0033",
597      "since"   : "1.0",
598      "input"   : [  { "name"          : "Info",
599                       "id"            : "0x01",
600                       "type"          : "TLV",
601                       // API updated in 1.6
602                       "since"         : "1.6",
603                       "format"        : "sequence",
604                       "contents"      : [ { "name"       : "Service Programming Code",
605                                             "format"     : "string",
606                                             "fixed-size" : "6" },
607                                           { "name"   : "System Identification Number",
608                                             "format" : "guint16" },
609                                           { "name"     : "Mobile Directory Number",
610                                             "format"   : "string",
611                                             "max-size" : "15" },
612                                           { "name"     : "Mobile Identification Number",
613                                             "format"   : "string",
614                                             "max-size" : "15" } ],
615                       "personal-info" : "true" },
616                     { "name"               : "MN HA key",
617                       "id"                 : "0x11",
618                       "type"               : "TLV",
619                       "since"              : "1.0",
620                       "format"             : "string",
621                       "max-size"           : "16",
622                       "size-prefix-format" : "guint8",
623                       "personal-info"      : "true" },
624                     { "name"               : "MN AAA key",
625                       "id"                 : "0x12",
626                       "type"               : "TLV",
627                       "since"              : "1.0",
628                       "format"             : "string",
629                       "max-size"           : "16",
630                       "size-prefix-format" : "guint8",
631                       "personal-info"      : "true" },
632                     { "name"      : "PRL",
633                       "id"        : "0x13",
634                       "type"      : "TLV",
635                       "since"     : "1.6",
636                       "format"    : "sequence",
637                       "contents"  : [ { "name"   : "PRL total length",
638                                         "format" : "guint16" },
639                                       { "name"                   : "PRL segment",
640                                         "format"                 : "array",
641                                         "size-prefix-format"     : "guint16",
642                                         "sequence-prefix-format" : "guint8",
643                                         "array-element"          : { "format" : "guint8" } } ] } ],
644      "output"  : [  { "common-ref" : "Operation Result" } ] },
645 
646   // *********************************************************************************
647   {  "name"    : "Get User Lock State",
648      "type"    : "Message",
649      "service" : "DMS",
650      "id"      : "0x0034",
651      "since"   : "1.0",
652      "output"  : [  { "common-ref" : "Operation Result" },
653                     { "name"          : "Enabled",
654                       "id"            : "0x01",
655                       "type"          : "TLV",
656                       "since"         : "1.0",
657                       "format"        : "guint8",
658                       "public-format" : "gboolean",
659                       "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
660 
661   // *********************************************************************************
662   {  "name"    : "Set User Lock State",
663      "type"    : "Message",
664      "service" : "DMS",
665      "id"      : "0x0035",
666      "since"   : "1.0",
667      "input"   : [  { "name"      : "Info",
668                       "id"        : "0x01",
669                       "type"      : "TLV",
670                       "since"     : "1.0",
671                       "format"    : "sequence",
672                       "contents"  : [ { "name"          : "Enabled",
673                                         "format"        : "guint8",
674                                         "public-format" : "gboolean" },
675                                       { "name"          : "Lock Code",
676                                         "format"        : "string",
677                                         "fixed-size"    : "4",
678                                         "personal-info" : "true" } ] } ],
679      "output"  : [  { "common-ref" : "Operation Result" } ] },
680 
681   // *********************************************************************************
682   {  "name"    : "Set User Lock Code",
683      "type"    : "Message",
684      "service" : "DMS",
685      "id"      : "0x0036",
686      "since"   : "1.0",
687      "input"   : [  { "name"      : "Info",
688                       "id"        : "0x01",
689                       "type"      : "TLV",
690                       "since"     : "1.0",
691                       "format"    : "sequence",
692                       "contents"  : [ { "name"       : "Old Code",
693                                         "format"     : "string",
694                                         "fixed-size" : "4" },
695                                       { "name"       : "New Code",
696                                         "format"     : "string",
697                                         "fixed-size" : "4" } ] } ],
698      "output"  : [  { "common-ref" : "Operation Result" } ] },
699 
700   // *********************************************************************************
701   {  "name"    : "Read User Data",
702      "type"    : "Message",
703      "service" : "DMS",
704      "id"      : "0x0037",
705      "since"   : "1.0",
706      "output"  : [  { "common-ref" : "Operation Result" },
707                     { "name"               : "User Data",
708                       "id"                 : "0x01",
709                       "type"               : "TLV",
710                       "since"              : "1.0",
711                       "format"             : "array",
712                       "size-prefix-format" : "guint16",
713                       "array-element"      : { "format" : "guint8" },
714                       "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
715 
716   // *********************************************************************************
717   {  "name"    : "Write User Data",
718      "type"    : "Message",
719      "service" : "DMS",
720      "id"      : "0x0038",
721      "since"   : "1.0",
722      "input"   : [ { "name"               : "User Data",
723                      "id"                 : "0x01",
724                      "type"               : "TLV",
725                      "since"              : "1.0",
726                      "format"             : "array",
727                      "size-prefix-format" : "guint16",
728                      "array-element"      : { "format" : "guint8" } } ],
729      "output"  : [ { "common-ref" : "Operation Result" } ] },
730 
731   // *********************************************************************************
732   {  "name"    : "Read ERI File",
733      "type"    : "Message",
734      "service" : "DMS",
735      "id"      : "0x0039",
736      "since"   : "1.0",
737      "output"  : [  { "common-ref" : "Operation Result" },
738                     { "name"               : "ERI File",
739                       "id"                 : "0x01",
740                       "type"               : "TLV",
741                       "since"              : "1.0",
742                       "format"             : "array",
743                       "size-prefix-format" : "guint16",
744                       "array-element"      : { "format" : "guint8" },
745                       "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
746 
747   // *********************************************************************************
748   {  "name"    : "Restore Factory Defaults",
749      "type"    : "Message",
750      "service" : "DMS",
751      "id"      : "0x003A",
752      "since"   : "1.0",
753      "input"   : [  { "name"          : "Service Programming Code",
754                       "id"            : "0x01",
755                       "type"          : "TLV",
756                       "since"         : "1.0",
757                       "format"        : "string",
758                       "fixed-size"    : "6" } ],
759      "output"  : [  { "common-ref" : "Operation Result" } ] },
760 
761   // *********************************************************************************
762   {  "name"    : "Validate Service Programming Code",
763      "type"    : "Message",
764      "service" : "DMS",
765      "id"      : "0x003B",
766      "since"   : "1.0",
767      "input"   : [  { "name"          : "Service Programming Code",
768                       "id"            : "0x01",
769                       "type"          : "TLV",
770                       "since"         : "1.0",
771                       "format"        : "string",
772                       "fixed-size"    : "6" } ],
773      "output"  : [  { "common-ref" : "Operation Result" } ] },
774 
775   // *********************************************************************************
776   {  "name"    : "UIM Get ICCID",
777      "type"    : "Message",
778      "service" : "DMS",
779      "id"      : "0x003C",
780      "since"   : "1.0",
781      "output"  : [  { "common-ref" : "Operation Result" },
782                     { "name"          : "ICCID",
783                       "id"            : "0x01",
784                       "type"          : "TLV",
785                       "since"         : "1.0",
786                       "format"        : "string",
787                       "personal-info" : "true",
788                       "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
789 
790   // *********************************************************************************
791   {  "name"    : "Set Firmware ID",
792      "type"    : "Message",
793      "service" : "DMS",
794      "id"      : "0x003E",
795      "since"   : "1.18",
796      "output"  : [ { "common-ref" : "Operation Result" } ] },
797 
798   // *********************************************************************************
799   {  "name"    : "UIM Get CK Status",
800      "type"    : "Message",
801      "service" : "DMS",
802      "id"      : "0x0040",
803      "since"   : "1.0",
804      "input"   : [  { "name"          : "Facility",
805                       "id"            : "0x01",
806                       "type"          : "TLV",
807                       "since"         : "1.0",
808                       "format"        : "guint8",
809                       "public-format" : "QmiDmsUimFacility" } ],
810      "output"  : [  { "common-ref" : "Operation Result" },
811                     { "name"      : "CK Status",
812                       "id"        : "0x01",
813                       "type"      : "TLV",
814                       "since"     : "1.0",
815                       "format"    : "sequence",
816                       "contents"  : [ { "name"          : "Facility State",
817                                         "format"        : "guint8",
818                                         "public-format" : "QmiDmsUimFacilityState" },
819                                       { "name"   : "Verify Retries Left",
820                                         "format" : "guint8" },
821                                       { "name"   : "Unblock Retries Left",
822                                         "format" : "guint8" } ],
823                       "prerequisites": [ { "common-ref" : "Success" } ] },
824                     { "name"      : "Operation Blocking Facility",
825                       "id"        : "0x10",
826                       "type"      : "TLV",
827                       "since"     : "1.0",
828                       "format"    : "guint8",
829                       "public-format" : "gboolean",
830                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
831 
832   // *********************************************************************************
833   {  "name"    : "UIM Set CK Protection",
834      "type"    : "Message",
835      "service" : "DMS",
836      "id"      : "0x0041",
837      "since"   : "1.0",
838      "input"   : [  { "name"      : "Facility",
839                       "id"        : "0x01",
840                       "type"      : "TLV",
841                       "since"     : "1.0",
842                       "format"    : "sequence",
843                       "contents"  : [ { "name"          : "Facility",
844                                         "format"        : "guint8",
845                                         "public-format" : "QmiDmsUimFacility" },
846                                       { "name"          : "Facility State",
847                                         "format"        : "guint8",
848                                         "public-format" : "QmiDmsUimFacilityState" },
849                                       { "name"   : "Facility Depersonalization Control Key",
850                                         "format" : "string" } ] } ],
851      "output"  : [  { "common-ref" : "Operation Result" },
852                     { "name"      : "Verify Retries Left",
853                       "id"        : "0x10",
854                       "type"      : "TLV",
855                       "since"     : "1.0",
856                       "format"    : "guint8" } ] },
857 
858   // *********************************************************************************
859   {  "name"    : "UIM Unblock CK",
860      "type"    : "Message",
861      "service" : "DMS",
862      "id"      : "0x0042",
863      "since"   : "1.0",
864      "input"   : [  { "name"      : "Facility",
865                       "id"        : "0x01",
866                       "type"      : "TLV",
867                       "since"     : "1.0",
868                       "format"    : "sequence",
869                       "contents"  : [ { "name"          : "Facility",
870                                         "format"        : "guint8",
871                                         "public-format" : "QmiDmsUimFacility" },
872                                       { "name"   : "Facility Control Key",
873                                         "format" : "string" } ] } ],
874      "output"  : [  { "common-ref" : "Operation Result" },
875                     { "name"      : "Unblock Retries Left",
876                       "id"        : "0x10",
877                       "type"      : "TLV",
878                       "since"     : "1.0",
879                       "format"    : "guint8" } ] },
880 
881   // *********************************************************************************
882   {  "name"    : "UIM Get IMSI",
883      "type"    : "Message",
884      "service" : "DMS",
885      "id"      : "0x0043",
886      "since"   : "1.0",
887      "output"  : [  { "common-ref" : "Operation Result" },
888                     { "name"          : "IMSI",
889                       "id"            : "0x01",
890                       "type"          : "TLV",
891                       "since"         : "1.0",
892                       "format"        : "string",
893                       "personal-info" : "true",
894                       "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
895 
896   // *********************************************************************************
897   {  "name"    : "UIM Get State",
898      "type"    : "Message",
899      "service" : "DMS",
900      "id"      : "0x0044",
901      "since"   : "1.0",
902      "output"  : [  { "common-ref" : "Operation Result" },
903                     { "name"          : "State",
904                       "id"            : "0x01",
905                       "type"          : "TLV",
906                       "since"         : "1.0",
907                       "format"        : "guint8",
908                       "public-format" : "QmiDmsUimState",
909                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
910 
911   // *********************************************************************************
912   {  "name"    : "Get Band Capabilities",
913      "type"    : "Message",
914      "service" : "DMS",
915      "id"      : "0x0045",
916      "since"   : "1.0",
917      "output"  : [  { "common-ref" : "Operation Result" },
918                     { "name"          : "Band Capability",
919                       "id"            : "0x01",
920                       "type"          : "TLV",
921                       "since"         : "1.0",
922                       "format"        : "guint64",
923                       "public-format" : "QmiDmsBandCapability",
924                       "prerequisites": [ { "common-ref" : "Success" } ] },
925                     { "name"          : "LTE Band Capability",
926                       "id"            : "0x10",
927                       "type"          : "TLV",
928                       "since"         : "1.0",
929                       "format"        : "guint64",
930                       "public-format" : "QmiDmsLteBandCapability",
931                       "prerequisites": [ { "common-ref" : "Success" } ] },
932                     { "name"               : "Extended LTE Band Capability",
933                       "id"                 : "0x12",
934                       "type"               : "TLV",
935                       "since"              : "1.20",
936                       "format"             : "array",
937                       "size-prefix-format" : "guint16",
938                       "array-element"      : { "format" : "guint16" },
939                       "prerequisites"      : [ { "common-ref" : "Success" } ] },
940                     { "name"               : "NR5G Band Capability",
941                       "id"                 : "0x13",
942                       "type"               : "TLV",
943                       "since"              : "1.32",
944                       "format"             : "array",
945                       "size-prefix-format" : "guint16",
946                       "array-element"      : { "format" : "guint16" },
947                       "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
948 
949   // *********************************************************************************
950   {  "name"    : "Get Factory SKU",
951      "type"    : "Message",
952      "service" : "DMS",
953      "id"      : "0x0046",
954      "since"   : "1.0",
955      "output"  : [  { "common-ref" : "Operation Result" },
956                     { "name"         : "SKU",
957                       "id"           : "0x01",
958                       "type"         : "TLV",
959                       "since"         : "1.0",
960                       "format"       : "string",
961                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
962 
963   // *********************************************************************************
964   {  "name"    : "Get Firmware Preference",
965      "type"    : "Message",
966      "service" : "DMS",
967      "id"      : "0x0047",
968      "since"   : "1.0",
969      "output"  : [ { "common-ref" : "Operation Result" },
970                    { "name"               : "List",
971                      "id"                 : "0x01",
972                      "type"               : "TLV",
973                      "since"              : "1.0",
974                      "format"             : "array",
975                      "size-prefix-format" : "guint8",
976                      "array-element"      : { "name"     : "Image",
977                                               "format"   : "struct",
978                                               "contents" : [ { "name"          : "Type",
979                                                                "format"        : "guint8",
980                                                                "public-format" : "QmiDmsFirmwareImageType" },
981                                                              { "name"          : "Unique ID",
982                                                                "format"        : "array",
983                                                                "fixed-size"    : "16",
984                                                                "array-element" : { "format": "guint8" } },
985                                                              { "name"   : "Build ID",
986                                                                "format" : "string" } ] },
987                      "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
988 
989   // *********************************************************************************
990   {  "name"    : "Set Firmware Preference",
991      "type"    : "Message",
992      "service" : "DMS",
993      "id"      : "0x0048",
994      "since"   : "1.0",
995      "input"   : [ { "name"               : "List",
996                      "id"                 : "0x01",
997                      "type"               : "TLV",
998                      "since"              : "1.0",
999                      "format"             : "array",
1000                      "size-prefix-format" : "guint8",
1001                      "array-element"      : { "name"     : "Image",
1002                                               "format"   : "struct",
1003                                               "contents" : [ { "name"          : "Type",
1004                                                                "format"        : "guint8",
1005                                                                "public-format" : "QmiDmsFirmwareImageType" },
1006                                                              { "name"          : "Unique ID",
1007                                                                "format"        : "array",
1008                                                                "fixed-size"    : "16",
1009                                                                "array-element" : { "format": "guint8" } },
1010                                                              { "name"   : "Build ID",
1011                                                                "format" : "string" } ] } },
1012                    { "name"          : "Download Override",
1013                      "id"            : "0x10",
1014                      "type"          : "TLV",
1015                      "since"         : "1.0",
1016                      "format"        : "guint8",
1017                      "public-format" : "gboolean" },
1018                    { "name"          : "Modem Storage Index",
1019                      "id"            : "0x11",
1020                      "type"          : "TLV",
1021                      "since"         : "1.0",
1022                      "format"        : "guint8" } ],
1023      "output"  : [ { "common-ref" : "Operation Result" },
1024                    { "name"               : "Image Download List",
1025                      "id"                 : "0x01",
1026                      "type"               : "TLV",
1027                      "since"              : "1.0",
1028                      "format"             : "array",
1029                      "size-prefix-format" : "guint8",
1030                      "array-element"      : { "name"     : "Image Type",
1031                                               "format"   : "guint8",
1032                                               "public-format" : "QmiDmsFirmwareImageType" },
1033                      "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
1034 
1035   // *********************************************************************************
1036   {  "name"    : "List Stored Images",
1037      "type"    : "Message",
1038      "service" : "DMS",
1039      "id"      : "0x0049",
1040      "since"   : "1.0",
1041      "output"  : [ { "common-ref" : "Operation Result" },
1042                    { "name"               : "List",
1043                      "id"                 : "0x01",
1044                      "type"               : "TLV",
1045                      "since"              : "1.0",
1046                      "format"             : "array",
1047                      "size-prefix-format" : "guint8",
1048                      "array-element"      : { "name"     : "Image",
1049                                               "format"   : "struct",
1050                                               "contents" : [ { "name"          : "Type",
1051                                                                "format"        : "guint8",
1052                                                                "public-format" : "QmiDmsFirmwareImageType" },
1053                                                              { "name"   : "Maximum Images",
1054                                                                "format" : "guint8" },
1055                                                              { "name"   : "Index Of Running Image",
1056                                                                "format" : "guint8" },
1057                                                              { "name"               : "Sublist",
1058                                                                "format"             : "array",
1059                                                                "size-prefix-format" : "guint8",
1060                                                                "array-element"      : { "name"     : "Sublist Element",
1061                                                                                         "format"   : "struct",
1062                                                                                         "contents" : [ { "name"   : "Storage Index",
1063                                                                                                          "format" : "guint8" },
1064                                                                                                        { "name"   : "Failure Count",
1065                                                                                                          "format" : "guint8" },
1066                                                                                                        { "name"          : "Unique ID",
1067                                                                                                          "format"        : "array",
1068                                                                                                          "fixed-size"    : "16",
1069                                                                                                          "array-element" : { "format": "guint8" } },
1070                                                                                                        { "name"   : "Build ID",
1071                                                                                                          "format" : "string" } ] } } ] },
1072                      "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
1073 
1074   // *********************************************************************************
1075   {  "name"    : "Delete Stored Image",
1076      "type"    : "Message",
1077      "service" : "DMS",
1078      "id"      : "0x004A",
1079      "since"   : "1.0",
1080      "input"   : [ { "name"      : "Image Details",
1081                      "id"        : "0x01",
1082                      "type"      : "TLV",
1083                      "since"     : "1.32",
1084                      "format"    : "sequence",
1085                      "contents"  : [ { "name"          : "Type",
1086                                        "format"        : "guint8",
1087                                        "public-format" : "QmiDmsFirmwareImageType" },
1088                                      { "name"          : "Unique ID",
1089                                        "format"        : "array",
1090                                        "fixed-size"    : "16",
1091                                        "array-element" : { "format": "guint8" } },
1092                                      { "name"   : "Build ID",
1093                                        "format" : "string" } ] } ],
1094      "output"  : [ { "common-ref" : "Operation Result" } ] },
1095 
1096   // *********************************************************************************
1097   {  "name"    : "Set Time",
1098      "type"    : "Message",
1099      "service" : "DMS",
1100      "id"      : "0x004B",
1101      "since"   : "1.0",
1102      "input"   : [  { "name"      : "Time Value",
1103                       "id"        : "0x01",
1104                       "type"      : "TLV",
1105                       "since"     : "1.0",
1106                       "format"    : "guint64" },
1107                     { "name"          : "Time Reference Type",
1108                       "id"            : "0x10",
1109                       "mandatory"     : "yes",
1110                       "type"          : "TLV",
1111                       "since"         : "1.0",
1112                       "format"        : "guint32",
1113                       "public-format" : "QmiDmsTimeReferenceType" } ],
1114      "output"  : [  { "common-ref" : "Operation Result" } ] },
1115 
1116   // *********************************************************************************
1117   {  "name"    : "Get Stored Image Info",
1118      "type"    : "Message",
1119      "service" : "DMS",
1120      "id"      : "0x004C",
1121      "since"   : "1.0",
1122      "input"   : [ { "name"      : "Image Details",
1123                      "id"        : "0x01",
1124                      "type"      : "TLV",
1125                      "since"     : "1.32",
1126                      "format"    : "sequence",
1127                      "contents"  : [ { "name"          : "Type",
1128                                        "format"        : "guint8",
1129                                        "public-format" : "QmiDmsFirmwareImageType" },
1130                                      { "name"          : "Unique ID",
1131                                        "format"        : "array",
1132                                        "fixed-size"    : "16",
1133                                        "array-element" : { "format": "guint8" } },
1134                                      { "name"   : "Build ID",
1135                                        "format" : "string" } ] } ],
1136      "output"  : [ { "common-ref" : "Operation Result" },
1137                    { "name"         : "Boot Version",
1138                      "id"           : "0x10",
1139                      "type"         : "TLV",
1140                      "since"        : "1.0",
1141                      "format"       : "sequence",
1142                      "contents"     : [ { "name"   : "Major Version",
1143                                         "format" : "guint16" },
1144                                       { "name"   : "Minor Version",
1145                                         "format" : "guint16" } ],
1146                      "prerequisites": [ { "common-ref" : "Success" } ] },
1147                    { "name"         : "PRI Version",
1148                      "id"           : "0x11",
1149                      "type"         : "TLV",
1150                      "since"        : "1.0",
1151                      "format"       : "sequence",
1152                      "contents"     : [ { "name"   : "PRI Version",
1153                                           "format" : "guint32" },
1154                                         { "name"       : "PRI Info",
1155                                           "format"     : "string",
1156                                           "fixed-size" : "32" } ],
1157                      "prerequisites": [ { "common-ref" : "Success" } ] },
1158                    { "name"         : "OEM Lock ID",
1159                      "id"           : "0x12",
1160                      "type"         : "TLV",
1161                      "since"        : "1.0",
1162                      "format"       : "guint32",
1163                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1164 
1165   // *********************************************************************************
1166   {  "name"    : "Get Alt Net Config",
1167      "type"    : "Message",
1168      "service" : "DMS",
1169      "id"      : "0x004D",
1170      "since"   : "1.0",
1171      "output"  : [  { "common-ref" : "Operation Result" },
1172                     { "name"          : "Config",
1173                       "id"            : "0x01",
1174                       "type"          : "TLV",
1175                       "since"         : "1.0",
1176                       "format"        : "guint8",
1177                       "public-format" : "gboolean",
1178                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1179 
1180   // *********************************************************************************
1181   {  "name"    : "Set Alt Net Config",
1182      "type"    : "Message",
1183      "service" : "DMS",
1184      "id"      : "0x004E",
1185      "since"   : "1.0",
1186      "input"   : [  { "name"          : "Config",
1187                       "id"            : "0x01",
1188                       "type"          : "TLV",
1189                       "since"         : "1.0",
1190                       "format"        : "guint8",
1191                       "public-format" : "gboolean" } ],
1192      "output"  : [  { "common-ref" : "Operation Result" } ] },
1193 
1194   // *********************************************************************************
1195   {  "name"    : "Get Boot Image Download Mode",
1196      "type"    : "Message",
1197      "service" : "DMS",
1198      "id"      : "0x004F",
1199      "since"   : "1.18",
1200      "output"  : [ { "common-ref" : "Operation Result" },
1201                    { "name"          : "Mode",
1202                      "id"            : "0x10",
1203                      "type"          : "TLV",
1204                      "since"         : "1.18",
1205                      "format"        : "guint8",
1206                      "public-format" : "QmiDmsBootImageDownloadMode",
1207                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1208 
1209   // *********************************************************************************
1210   {  "name"    : "Set Boot Image Download Mode",
1211      "type"    : "Message",
1212      "service" : "DMS",
1213      "id"      : "0x0050",
1214      "since"   : "1.18",
1215      "input"   : [ { "name"          : "Mode",
1216                      "id"            : "0x01",
1217                      "type"          : "TLV",
1218                      "since"         : "1.18",
1219                      "format"        : "guint8",
1220                      "public-format" : "QmiDmsBootImageDownloadMode" } ],
1221      "output"  : [ { "common-ref" : "Operation Result" } ] },
1222 
1223   // *********************************************************************************
1224   {  "name"    : "Get Software Version",
1225      "type"    : "Message",
1226      "service" : "DMS",
1227      "id"      : "0x0051",
1228      "since"   : "1.0",
1229      "output"  : [  { "common-ref" : "Operation Result" },
1230                     { "name"          : "Version",
1231                       "id"            : "0x01",
1232                       "type"          : "TLV",
1233                       "since"         : "1.0",
1234                       "format"        : "string",
1235                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1236 
1237   // *********************************************************************************
1238   {  "name"    : "Set Service Programming Code",
1239      "type"    : "Message",
1240      "service" : "DMS",
1241      "id"      : "0x0052",
1242      "since"   : "1.0",
1243      "input"   : [  { "name"       : "Current Code",
1244                       "id"         : "0x01",
1245                       "type"       : "TLV",
1246                       "since"      : "1.0",
1247                       "format"     : "string",
1248                       "fixed-size" : "6" },
1249                     { "name"       : "New Code",
1250                       "id"         : "0x02",
1251                       "type"       : "TLV",
1252                       "since"      : "1.0",
1253                       "format"     : "string",
1254                       "fixed-size" : "6" } ],
1255      "output"  : [  { "common-ref" : "Operation Result" } ] },
1256 
1257   // *********************************************************************************
1258   {  "name"    : "Get MAC Address",
1259      "type"    : "Message",
1260      "service" : "DMS",
1261      "id"      : "0x005C",
1262      "since"   : "1.26",
1263      "input"   : [  { "name"          : "Device",
1264                       "id"            : "0x01",
1265                       "mandatory"     : "yes",
1266                       "type"          : "TLV",
1267                       "since"         : "1.26",
1268                       "format"        : "guint32",
1269                       "public-format" : "QmiDmsMacType" } ],
1270      "output"  : [  { "common-ref" : "Operation Result" },
1271                     { "name"               : "MAC Address",
1272                       "id"                 : "0x10",
1273                       "type"               : "TLV",
1274                       "since"              : "1.26",
1275                       "format"             : "array",
1276                       "size-prefix-format" : "guint8",
1277                       "array-element"      : { "format": "guint8" },
1278                       "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
1279 
1280   // *********************************************************************************
1281   {  "name"    : "Get Supported Messages",
1282      "type"    : "Message",
1283      "service" : "DMS",
1284      "id"      : "0x001E",
1285      "since"   : "1.14",
1286      "output"  : [ { "common-ref" : "Operation Result" },
1287                    { "name"               : "List",
1288                      "id"                 : "0x10",
1289                      "type"               : "TLV",
1290                      "since"              : "1.14",
1291                      "format"             : "array",
1292                      "size-prefix-format" : "guint16",
1293                      "array-element"      : { "format" : "guint8" },
1294                      "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
1295 
1296   // *********************************************************************************
1297   {  "name"    : "HP Change Device Mode",
1298      "type"    : "Message",
1299      "service" : "DMS",
1300      "id"      : "0x5556",
1301      "vendor"  : "0x03f0",
1302      "since"   : "1.18",
1303      "input"   : [ { "name"          : "Mode",
1304                      "id"            : "0x01",
1305                      "type"          : "TLV",
1306                      "since"         : "1.18",
1307                      "format"        : "guint8",
1308                      "public-format" : "QmiDmsHpDeviceMode" } ],
1309      "output"  : [ { "common-ref" : "Operation Result" } ] },
1310 
1311   // *********************************************************************************
1312   {  "name"    : "Swi Get Current Firmware",
1313      "type"    : "Message",
1314      "service" : "DMS",
1315      "id"      : "0x5556",
1316      "vendor"  : "0x1199",
1317      "since"   : "1.18",
1318      "output"  : [ { "common-ref" : "Operation Result" },
1319                    { "name"          : "Model",
1320                      "id"            : "0x10",
1321                      "type"          : "TLV",
1322                      "since"         : "1.18",
1323                      "format"        : "string",
1324                      "prerequisites" : [ { "common-ref" : "Success" } ] },
1325                    { "name"          : "Boot version",
1326                      "id"            : "0x11",
1327                      "type"          : "TLV",
1328                      "since"         : "1.18",
1329                      "format"        : "string",
1330                      "prerequisites" : [ { "common-ref" : "Success" } ] },
1331                    { "name"          : "AMSS version",
1332                      "id"            : "0x12",
1333                      "type"          : "TLV",
1334                      "since"         : "1.18",
1335                      "format"        : "string",
1336                      "prerequisites" : [ { "common-ref" : "Success" } ] },
1337                    { "name"          : "SKU ID",
1338                      "id"            : "0x13",
1339                      "type"          : "TLV",
1340                      "since"         : "1.18",
1341                      "format"        : "string",
1342                      "prerequisites" : [ { "common-ref" : "Success" } ] },
1343                    { "name"          : "Package ID",
1344                      "id"            : "0x14",
1345                      "type"          : "TLV",
1346                      "since"         : "1.18",
1347                      "format"        : "string",
1348                      "prerequisites" : [ { "common-ref" : "Success" } ] },
1349                    { "name"          : "Carrier ID",
1350                      "id"            : "0x15",
1351                      "type"          : "TLV",
1352                      "since"         : "1.18",
1353                      "format"        : "string",
1354                      "prerequisites" : [ { "common-ref" : "Success" } ] },
1355                    { "name"          : "PRI version",
1356                      "id"            : "0x16",
1357                      "type"          : "TLV",
1358                      "since"         : "1.18",
1359                      "format"        : "string",
1360                      "prerequisites" : [ { "common-ref" : "Success" } ] },
1361                    { "name"          : "Carrier",
1362                      "id"            : "0x17",
1363                      "type"          : "TLV",
1364                      "since"         : "1.18",
1365                      "format"        : "string",
1366                      "prerequisites" : [ { "common-ref" : "Success" } ] },
1367                    { "name"          : "Config version",
1368                      "id"            : "0x18",
1369                      "type"          : "TLV",
1370                      "since"         : "1.18",
1371                      "format"        : "string",
1372                      "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
1373 
1374   // *********************************************************************************
1375   {  "name"    : "Swi Get USB Composition",
1376      "type"    : "Message",
1377      "service" : "DMS",
1378      "id"      : "0x555B",
1379      "vendor"  : "0x1199",
1380      "since"   : "1.20",
1381      "output"  : [ { "common-ref" : "Operation Result" },
1382                    { "name"          : "Current",
1383                      "id"            : "0x10",
1384                      "type"          : "TLV",
1385                      "since"         : "1.20",
1386                      "format"        : "guint8",
1387                      "public-format" : "QmiDmsSwiUsbComposition",
1388                      "prerequisites" : [ { "common-ref" : "Success" } ] },
1389                    { "name"               : "Supported",
1390                      "id"                 : "0x11",
1391                      "type"               : "TLV",
1392                      "since"              : "1.20",
1393                      "format"             : "array",
1394                      "size-prefix-format" : "guint8",
1395                      "array-element"      : { "format"        : "guint8",
1396                                               "public-format" : "QmiDmsSwiUsbComposition" },
1397                      "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
1398 
1399   // *********************************************************************************
1400   {  "name"    : "Swi Set USB Composition",
1401      "type"    : "Message",
1402      "service" : "DMS",
1403      "id"      : "0x555C",
1404      "vendor"  : "0x1199",
1405      "since"   : "1.20",
1406      "input"   : [ { "name"          : "Current",
1407                      "id"            : "0x01",
1408                      "type"          : "TLV",
1409                      "since"         : "1.20",
1410                      "format"        : "guint8",
1411                      "public-format" : "QmiDmsSwiUsbComposition"
1412                    } ],
1413      "output"  : [ { "common-ref" : "Operation Result" } ] },
1414 
1415 
1416   // *********************************************************************************
1417   {  "name"    : "Foxconn Get Firmware Version",
1418      "type"    : "Message",
1419      "service" : "DMS",
1420      "id"      : "0x555E",
1421      "vendor"  : "0x0489",
1422      "since"   : "1.26",
1423      "input"   : [ { "name"          : "Version Type",
1424                      "id"            : "0x01",
1425                      "type"          : "TLV",
1426                      "since"         : "1.26",
1427                      "format"        : "guint8",
1428                      "public-format" : "QmiDmsFoxconnFirmwareVersionType" } ],
1429      "output"  : [ { "common-ref" : "Operation Result" },
1430                    { "name"      : "Version",
1431                      "id"        : "0x01",
1432                      "type"      : "TLV",
1433                      "since"     : "1.26",
1434                      "format"    : "string",
1435                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },
1436 
1437   // *********************************************************************************
1438   {  "name"    : "Set FCC Authentication",
1439      "type"    : "Message",
1440      "service" : "DMS",
1441      "id"      : "0x555F",
1442      "since"   : "1.14",
1443      "output"  : [  { "common-ref" : "Operation Result" } ] },
1444 
1445   // *********************************************************************************
1446   {  "name"    : "Foxconn Change Device Mode",
1447      "type"    : "Message",
1448      "service" : "DMS",
1449      "id"      : "0x5562",
1450      "vendor"  : "0x0489",
1451      "since"   : "1.26",
1452      "input"   : [ { "name"          : "Mode",
1453                      "id"            : "0x01",
1454                      "type"          : "TLV",
1455                      "since"         : "1.26",
1456                      "format"        : "guint8",
1457                      "public-format" : "QmiDmsFoxconnDeviceMode" } ],
1458      "output"  : [ { "common-ref" : "Operation Result" } ] },
1459 
1460   // *********************************************************************************
1461   {  "name"    : "Foxconn Set FCC Authentication",
1462      "type"    : "Message",
1463      "service" : "DMS",
1464      "id"      : "0x5571",
1465      "vendor"  : "0x0489",
1466      "since"   : "1.28.6",
1467      "input"   : [ { "name"          : "Value",
1468                      "id"            : "0x01",
1469                      "type"          : "TLV",
1470                      "since"         : "1.28.6",
1471                      "format"        : "guint8" } ],
1472      "output"  : [ { "common-ref" : "Operation Result" } ] },
1473 
1474   // *********************************************************************************
1475   {  "name"    : "Foxconn Set FCC Authentication v2",
1476      "type"    : "Message",
1477      "service" : "DMS",
1478      "id"      : "0x5571",
1479      // this vendor id number just needs to be different to any other one
1480      // defined in other messages; in this case both are foxconn messages, so
1481      // we +1 the foxconn vid. A better solution would be to rename this field
1482      // to something like "unique-id" and forget about defining any vendor id
1483      // there.
1484      "vendor"  : "0x0490",
1485      "since"   : "1.32",
1486      "input"   : [ { "name"          : "Magic String",
1487                      "id"            : "0x01",
1488                      "type"          : "TLV",
1489                      "since"         : "1.32",
1490                      "format"        : "string" },
1491                    { "name"          : "Magic Number",
1492                      "id"            : "0x02",
1493                      "type"          : "TLV",
1494                      "since"         : "1.32",
1495                      "format"        : "guint8",
1496                      "prerequisites" : "0x01-first" } ],
1497      "output"  : [ { "common-ref" : "Operation Result" } ] }
1498 ]

This page was automatically generated by LXR 0.3.1.  •  OpenWrt