uqmi: sync data from libqmi project
[project/uqmi.git] / data / qmi-service-uim.json
index 1fa7baefdc9b0fd40b9be5f4aec7a090db2107b1..35edd8e16d568934341a1841b026a94d227b7634 100644 (file)
@@ -51,8 +51,9 @@
                                                                   { "name"               : "Applications",
                                                                     "format"             : "array",
                                                                     "size-prefix-format" : "guint8",
-                                                                    "array-element"      : { "name"   : "Element",
+                                                                    "array-element"      : { "name"   : "Element V2",
                                                                                              "format" : "struct",
+                                                                                             "since"  : "1.34",
                                                                                              "contents" : [ { "name"          : "Type",
                                                                                                               "format"        : "guint8",
                                                                                                               "public-format" : "QmiUimCardApplicationType" },
@@ -64,7 +65,7 @@
                                                                                                               "public-format" : "QmiUimCardApplicationPersonalizationState" },
                                                                                                             { "name"          : "Personalization Feature",
                                                                                                               "format"        : "guint8",
-                                                                                                              "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
+                                                                                                              "public-format" : "QmiUimCardApplicationPersonalizationFeatureStatus" },
                                                                                                             { "name"   : "Personalization Retries",
                                                                                                               "format" : "guint8" },
                                                                                                             { "name"   : "Personalization Unblock Retries",
                                             { "name"               : "ICCID",
                                               "format"             : "array",
                                               "size-prefix-format" : "guint8",
-                                              "array-element"      : { "format" : "guint8" } } ] } },
+                                              "array-element"      : { "format" : "guint8" },
+                                              "personal-info"      : "true" } ] } },
 
   // *********************************************************************************
   { "common-ref"         : "Physical Slot Information",
                                          "public-format" : "gboolean" } ] } },
 
   // *********************************************************************************
-  { "common-ref"         : "Slot EID Information",
-    "name"               : "Slot EID Information",
-    "fullname"           : "Qmi Slot EID Information",
+  { "common-ref"         : "Slot EID",
+    "name"               : "Slot EID",
+    "fullname"           : "Qmi Slot EID",
     "id"                 : "0x12",
     "type"               : "TLV",
     "format"             : "array",
     "size-prefix-format" : "guint8",
-    "array-element" : { "name"               : "EID",
-                        "format"             : "array",
-                        "size-prefix-format" : "guint8",
-                        "array-element"      : { "format" : "guint8" } } },
+    "array-element"      : { "name"     : "Element",
+                             "format"   : "struct",
+                             "contents" : [ { "name"               : "EID",
+                                              "format"             : "array",
+                                              "size-prefix-format" : "guint8",
+                                              "array-element"      : { "format" : "guint8" },
+                                              "personal-info"      : "true" } ] } },
 
   // *********************************************************************************
   {  "name"    : "Reset",
                      "contents"  : [ { "name"   : "File ID",
                                        "format" : "guint16" },
                                      { "name"   : "File Path",
-                                       "format" : "array",
-                                       "array-element" : { "format" : "guint8" } } ] },
+                                       "format"             : "array",
+                                       "size-prefix-format" : "guint8",
+                                       "array-element"      : { "format" : "guint8" } } ] },
                    { "name"      : "Read Information",
                      "id"        : "0x03",
                      "type"      : "TLV",
                      "format"             : "array",
                      "size-prefix-format" : "guint16",
                      "array-element"      : { "format" : "guint8" },
+                     "personal-info"      : "true",
                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
                    { "name"          : "Response In Indication Token",
                      "id"            : "0x12",
                      "contents"  : [ { "name"   : "File ID",
                                        "format" : "guint16" },
                                      { "name"   : "File Path",
-                                       "format" : "array",
-                                       "array-element" : { "format" : "guint8" } } ] },
+                                       "format"             : "array",
+                                       "size-prefix-format" : "guint8",
+                                       "array-element"      : { "format" : "guint8" } } ] },
                    { "name"      : "Record",
                      "id"        : "0x03",
                      "type"      : "TLV",
                      "format"             : "array",
                      "size-prefix-format" : "guint16",
                      "array-element"      : { "format" : "guint8" },
+                     "personal-info"      : "true",
                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
                    { "name"               : "Additional Read Result",
                      "id"                 : "0x12",
                      "format"             : "array",
                      "size-prefix-format" : "guint16",
                      "array-element"      : { "format" : "guint8" },
+                     "personal-info"      : "true",
                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
                    { "name"          : "Response In Indication Token",
                      "id"            : "0x13",
                      "contents"  : [ { "name"   : "File ID",
                                        "format" : "guint16" },
                                      { "name"   : "File Path",
-                                       "format" : "array",
-                                       "array-element" : { "format" : "guint8" } } ] },
+                                       "format"             : "array",
+                                       "size-prefix-format" : "guint8",
+                                       "array-element"      : { "format" : "guint8" } } ] },
                    { "name"      : "Response In Indication Token",
                      "id"        : "0x10",
                      "type"      : "TLV",
                                        "format"        : "guint8",
                                        "public-format" : "gboolean" },
                                      { "name"          : "PIN Value",
-                                       "format"        : "string" } ] },
+                                       "format"        : "string",
+                                       "personal-info" : "true" } ] },
                    { "name"      : "Response In Indication Token",
                      "id"        : "0x11",
                      "type"      : "TLV",
                                        "format"        : "guint8",
                                        "public-format" : "QmiUimPinId" },
                                      { "name"          : "PIN Value",
-                                       "format"        : "string" } ] },
+                                       "format"        : "string",
+                                       "personal-info" : "true" } ] },
                    { "name"      : "Response In Indication Token",
                      "id"        : "0x12",
                      "type"      : "TLV",
                                        "format"        : "guint8",
                                        "public-format" : "QmiUimPinId" },
                                      { "name"          : "PUK",
-                                       "format"        : "string" },
+                                       "format"        : "string",
+                                       "personal-info" : "true" },
                                      { "name"          : "New PIN",
-                                       "format"        : "string" } ] },
+                                       "format"        : "string",
+                                       "personal-info" : "true" } ] },
                    { "name"      : "Response In Indication Token",
                      "id"        : "0x11",
                      "type"      : "TLV",
                                        "format"        : "guint8",
                                        "public-format" : "QmiUimPinId" },
                                      { "name"          : "Old PIN",
-                                       "format"        : "string" },
+                                       "format"        : "string",
+                                       "personal-info" : "true" },
                                      { "name"          : "New PIN",
-                                       "format"        : "string" } ] },
+                                       "format"        : "string",
+                                       "personal-info" : "true" } ] },
                    { "name"      : "Response In Indication Token",
                      "id"        : "0x11",
                      "type"      : "TLV",
                                            "format"        : "guint8",
                                            "public-format" : "QmiUimDepersonalizationOperation" },
                                          { "name"          : "Control Key",
-                                           "format"        : "string" } ] },
+                                           "format"        : "string",
+                                           "personal-info" : "true" } ] },
                    { "name"          : "Slot",
                      "id"            : "0x10",
                      "type"          : "TLV",
                      "since"         : "1.30",
                      "format"        : "guint32",
                      "public-format" : "QmiUimConfiguration" } ],
+     "output-compat" : "yes",
      "output"  : [ { "common-ref"    : "Operation Result" },
                    { "name"          : "Automatic Selection",
                      "id"            : "0x10",
                      "format"        : "guint8",
                      "public-format" : "gboolean",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
-                   { "name"          : "Personalization Status Other Slots",
-                     "id"            : "0x13",
-                     "type"          : "TLV",
-                     "since"         : "1.30",
-                     "format"        : "array",
+                   { "name"               : "Personalization Status Other",
+                     "id"                 : "0x13",
+                     "type"               : "TLV",
+                     "since"              : "1.32",
+                     "format"             : "array",
                      "size-prefix-format" : "guint8",
-                     "array-element" : { "name"    : "Slots",
-                                         "format"  : "array",
-                                         "size-prefix-format" : "guint8",
-                                         "array-element" : { "name"     : "Element",
-                                                             "format"   : "struct",
-                                                             "contents" : [ { "name"          : "Feature",
-                                                                              "format"        : "guint8",
-                                                                              "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
-                                                                            { "name"          : "Verify Left",
-                                                                              "format"        : "guint8" },
-                                                                            { "name"          : "Unblock Left",
-                                                                              "format"        : "guint8" } ] } },
-                     "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+                     "array-element"      : { "name"     : "Element",
+                                              "format"   : "struct",
+                                              "contents" : [ { "name"               : "Slot",
+                                                               "format"             : "array",
+                                                               "size-prefix-format" : "guint8",
+                                                               "array-element"      : { "name"     : "Element",
+                                                                                        "format"   : "struct",
+                                                                                        "contents" : [ { "name"          : "Feature",
+                                                                                                         "format"        : "guint8",
+                                                                                                         "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
+                                                                                                       { "name"          : "Verify Left",
+                                                                                                         "format"        : "guint8" },
+                                                                                                       { "name"          : "Unblock Left",
+                                                                                                         "format"        : "guint8" } ] } } ] },
+                     "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
 
   // *********************************************************************************
   {  "name"    : "Refresh Register All",
      "service" : "UIM",
      "id"      : "0x0047",
      "since"   : "1.26",
+     "output-compat" : "yes",
      "output"  : [ { "common-ref" : "Operation Result" },
                    { "common-ref" : "Physical Slot Status",
                      "since"      : "1.26" },
                    { "common-ref" : "Physical Slot Information",
                      "since"      : "1.26" },
-                   { "common-ref" : "Slot EID Information",
-                     "since"      : "1.26" } ] },
+                   { "common-ref" : "Slot EID",
+                     "since"      : "1.32" } ] },
 
   // *********************************************************************************
   {  "name"    : "Slot Status",
      "service" : "UIM",
      "id"      : "0x0048",
      "since"   : "1.26",
+     "output-compat" : "yes",
      "output"  : [ { "common-ref" : "Physical Slot Status",
                      "since"      : "1.26" },
                    { "common-ref" : "Physical Slot Information",
                      "since"      : "1.26" },
-                   { "common-ref" : "Slot EID Information",
-                     "since"      : "1.26" } ] }
+                   { "common-ref" : "Slot EID",
+                     "since"      : "1.32" } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Remote Unlock",
+     "type"    : "Message",
+     "service" : "UIM",
+     "id"      : "0x005D",
+     "since"   : "1.32",
+     "input"   : [ { "name"               : "SimLock Data",
+                     "id"                 : "0x10",
+                     "type"               : "TLV",
+                     "since"              : "1.32",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint16",
+                     "array-element"      : { "format" : "guint8" },
+                     "personal-info"      : "true" },
+                   { "name"               : "SimLock Extended Data",
+                     "id"                 : "0x12",
+                     "type"               : "TLV",
+                     "since"              : "1.32",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint16",
+                     "array-element"      : { "format" : "guint8" },
+                     "personal-info"      : "true" } ],
+     "output"  : [ { "common-ref" : "Operation Result" } ] }
 
 ]