sync with libqmi-glib
[project/uqmi.git] / data / qmi-service-dms.json
index 39cde82..1e48455 100644 (file)
      "type"    : "Message",
      "service" : "DMS",
      "id"      : "0x002D",
-     "version" : "1.2",
+     "version" : "1.1",
      "output"  : [  { "common-ref" : "Operation Result" },
                     { "name"      : "Mode",
                       "id"        : "0x01",
      "type"    : "Message",
      "service" : "DMS",
      "id"      : "0x002E",
-     "version" : "1.2",
+     "version" : "1.1",
      "input"   : [  { "name"      : "Mode",
                       "id"        : "0x01",
                       "mandatory" : "yes",
      "service" : "DMS",
      "id"      : "0x0032",
      "version" : "1.3",
-     "input"   : [  { "name"      : "Activation Code",
-                      "id"        : "0x01",
-                      "mandatory" : "yes",
-                      "type"      : "TLV",
-                      "format"    : "string" } ],
+     "input"   : [  { "name"               : "Activation Code",
+                      "id"                 : "0x01",
+                      "mandatory"          : "yes",
+                      "type"               : "TLV",
+                      "format"             : "string",
+                      "size-prefix-format" : "guint8" } ],
      "output"  : [  { "common-ref" : "Operation Result" } ] },
 
   // *********************************************************************************
                       "contents"  : [ { "name"       : "Service Programming Code",
                                         "format"     : "string",
                                         "fixed-size" : "6" },
-                                      { "name"       : "System Identification Number",
-                                        "format"     : "string",
-                                        "fixed-size" : "2" },
+                                      { "name"   : "System Identification Number",
+                                        "format" : "guint16" },
                                       { "name"     : "Mobile Directory Number",
                                         "format"   : "string",
                                         "max-size" : "15" },
                                       { "name"     : "Mobile Identification Number",
                                         "format"   : "string",
                                         "max-size" : "15" } ] },
-                    { "name"      : "MN HA key",
-                      "id"        : "0x11",
-                      "mandatory" : "no",
-                      "type"      : "TLV",
-                      "format"    : "string",
-                      "max-size"  : "16" },
-                    { "name"      : "MN AAA key",
-                      "id"        : "0x12",
+                    { "name"               : "MN HA key",
+                      "id"                 : "0x11",
+                      "mandatory"          : "no",
+                      "type"               : "TLV",
+                      "format"             : "string",
+                      "max-size"           : "16",
+                      "size-prefix-format" : "guint8" },
+                    { "name"               : "MN AAA key",
+                      "id"                 : "0x12",
+                      "mandatory"          : "no",
+                      "type"               : "TLV",
+                      "format"             : "string",
+                      "max-size"           : "16",
+                      "size-prefix-format" : "guint8" },
+                    { "name"      : "PRL",
+                      "id"        : "0x13",
                       "mandatory" : "no",
                       "type"      : "TLV",
-                      "format"    : "string",
-                      "max-size"  : "16" } ],
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"   : "PRL total length",
+                                        "format" : "guint16" },
+                                      { "name"   : "PRL segment",
+                                        "format"                 : "array",
+                                        "size-prefix-format"     : "guint16",
+                                        "sequence-prefix-format" : "guint8",
+                                        "array-element"          : { "format" : "guint8" } } ] } ],
      "output"  : [  { "common-ref" : "Operation Result" } ] },
 
   // *********************************************************************************
      "service" : "DMS",
      "id"      : "0x0038",
      "version" : "1.6",
-     "input"   : [  { "name"               : "User Data",
-                      "id"                 : "0x01",
-                      "mandatory"          : "yes",
-                      "type"               : "TLV",
-                      "format"             : "array",
-                      "size-prefix-format" : "guint16",
-                      "array-element"      : { "format" : "guint8" },
-                      "prerequisites"      : [ { "common-ref" : "Success" } ] } ],
-     "output"  : [  { "common-ref" : "Operation Result" } ] },
+     "input"   : [ { "name"               : "User Data",
+                     "id"                 : "0x01",
+                     "mandatory"          : "yes",
+                     "type"               : "TLV",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint16",
+                     "array-element"      : { "format" : "guint8" } } ],
+     "output"  : [ { "common-ref" : "Operation Result" } ] },
 
   // *********************************************************************************
   {  "name"    : "Read ERI File",
                       "format"        : "guint64",
                       "public-format" : "QmiDmsBandCapability",
                       "prerequisites": [ { "common-ref" : "Success" } ] },
-                           { "name"          : "LTE Band Capability",
+                    { "name"          : "LTE Band Capability",
                       "id"            : "0x10",
                       "mandatory"     : "no",
                       "type"          : "TLV",