data: update qmi-service-uim.json from libqmi git
authorFelix Fietkau <nbd@nbd.name>
Fri, 4 Nov 2016 13:04:15 +0000 (14:04 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 4 Nov 2016 13:04:15 +0000 (14:04 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
data/qmi-service-uim.json

index 596ed3e..e3f88d4 100644 (file)
      "version" : "1.0",
      "output"  : [ { "common-ref" : "Operation Result" } ] },
 
+  // *********************************************************************************
+  {  "name"    : "Get Supported Messages",
+     "type"    : "Message",
+     "service" : "UIM",
+     "id"      : "0x001E",
+     "version" : "1.28",
+     "output"  : [ { "common-ref" : "Operation Result" },
+                   { "name"               : "List",
+                     "id"                 : "0x10",
+                     "mandatory"          : "no",
+                     "type"               : "TLV",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint16",
+                     "array-element"      : { "format" : "guint8" },
+                     "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
+
   // *********************************************************************************
   {  "name"    : "Read Transparent",
      "type"    : "Message",
                      "format"        : "guint32",
                      "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
 
+  // *********************************************************************************
+  {  "name"    : "Set PIN Protection",
+     "type"    : "Message",
+     "service" : "UIM",
+     "id"      : "0x0025",
+     "version" : "1.0",
+     "input"   : [ { "name"      : "Session Information",
+                     "id"        : "0x01",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"          : "Session Type",
+                                       "format"        : "guint8",
+                                       "public-format" : "QmiUimSessionType" },
+                                     { "name"   : "Application Identifier",
+                                       "format" : "string" } ] },
+                   { "name"      : "Info",
+                     "id"        : "0x02",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"          : "PIN ID",
+                                       "format"        : "guint8",
+                                       "public-format" : "QmiUimPinId" },
+                                     { "name"          : "PIN enabled",
+                                       "format"        : "guint8",
+                                       "public-format" : "gboolean" },
+                                     { "name"          : "PIN Value",
+                                       "format"        : "string" } ] },
+                   { "name"      : "Response In Indication Token",
+                     "id"        : "0x11",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "guint32" } ],
+     "output"  : [ { "common-ref" : "Operation Result" },
+                   { "name"      : "Retries Remaining",
+                     "id"        : "0x10",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"   : "Verify Retries Left",
+                                       "format" : "guint8" },
+                                     { "name"   : "Unblock Retries Left",
+                                       "format" : "guint8" } ],
+                     "prerequisites": [ { "common-ref" : "No Success" } ] },
+                   { "name"          : "Response In Indication Token",
+                     "id"            : "0x12",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Verify PIN",
+     "type"    : "Message",
+     "service" : "UIM",
+     "id"      : "0x0026",
+     "version" : "1.0",
+     "input"   : [ { "name"      : "Session Information",
+                     "id"        : "0x01",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"          : "Session Type",
+                                       "format"        : "guint8",
+                                       "public-format" : "QmiUimSessionType" },
+                                     { "name"   : "Application Identifier",
+                                       "format" : "string" } ] },
+                   { "name"      : "Info",
+                     "id"        : "0x02",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"          : "PIN ID",
+                                       "format"        : "guint8",
+                                       "public-format" : "QmiUimPinId" },
+                                     { "name"          : "PIN Value",
+                                       "format"        : "string" } ] },
+                   { "name"      : "Response In Indication Token",
+                     "id"        : "0x12",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "guint32" } ],
+     "output"  : [ { "common-ref" : "Operation Result" },
+                   { "name"      : "Retries Remaining",
+                     "id"        : "0x10",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"   : "Verify Retries Left",
+                                       "format" : "guint8" },
+                                     { "name"   : "Unblock Retries Left",
+                                       "format" : "guint8" } ],
+                     "prerequisites": [ { "common-ref" : "No Success" } ] },
+                   { "name"          : "Response In Indication Token",
+                     "id"            : "0x12",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"      : "Card Result",
+                     "id"        : "0x13",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"   : "SW1",
+                                       "format" : "guint8" },
+                                     { "name"   : "SW2",
+                                       "format" : "guint8" } ] } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Unblock PIN",
+     "type"    : "Message",
+     "service" : "UIM",
+     "id"      : "0x0027",
+     "version" : "1.0",
+     "input"   : [ { "name"      : "Session Information",
+                     "id"        : "0x01",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"          : "Session Type",
+                                       "format"        : "guint8",
+                                       "public-format" : "QmiUimSessionType" },
+                                     { "name"   : "Application Identifier",
+                                       "format" : "string" } ] },
+                   { "name"      : "Info",
+                     "id"        : "0x02",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"          : "PIN ID",
+                                       "format"        : "guint8",
+                                       "public-format" : "QmiUimPinId" },
+                                     { "name"          : "PUK",
+                                       "format"        : "string" },
+                                     { "name"          : "New PIN",
+                                       "format"        : "string" } ] },
+                   { "name"      : "Response In Indication Token",
+                     "id"        : "0x11",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "guint32" } ],
+     "output"  : [ { "common-ref" : "Operation Result" },
+                   { "name"      : "Retries Remaining",
+                     "id"        : "0x10",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"   : "Verify Retries Left",
+                                       "format" : "guint8" },
+                                     { "name"   : "Unblock Retries Left",
+                                       "format" : "guint8" } ],
+                     "prerequisites": [ { "common-ref" : "No Success" } ] },
+                   { "name"          : "Response In Indication Token",
+                     "id"            : "0x12",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"      : "Card Result",
+                     "id"        : "0x13",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"   : "SW1",
+                                       "format" : "guint8" },
+                                     { "name"   : "SW2",
+                                       "format" : "guint8" } ] } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Change PIN",
+     "type"    : "Message",
+     "service" : "UIM",
+     "id"      : "0x0028",
+     "version" : "1.0",
+     "input"   : [ { "name"      : "Session Information",
+                     "id"        : "0x01",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"          : "Session Type",
+                                       "format"        : "guint8",
+                                       "public-format" : "QmiUimSessionType" },
+                                     { "name"   : "Application Identifier",
+                                       "format" : "string" } ] },
+                   { "name"      : "Info",
+                     "id"        : "0x02",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"          : "PIN ID",
+                                       "format"        : "guint8",
+                                       "public-format" : "QmiUimPinId" },
+                                     { "name"          : "Old PIN",
+                                       "format"        : "string" },
+                                     { "name"          : "New PIN",
+                                       "format"        : "string" } ] },
+                   { "name"      : "Response In Indication Token",
+                     "id"        : "0x11",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "guint32" } ],
+     "output"  : [ { "common-ref" : "Operation Result" },
+                   { "name"      : "Retries Remaining",
+                     "id"        : "0x10",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"   : "Verify Retries Left",
+                                       "format" : "guint8" },
+                                     { "name"   : "Unblock Retries Left",
+                                       "format" : "guint8" } ],
+                     "prerequisites": [ { "common-ref" : "No Success" } ] },
+                   { "name"          : "Response In Indication Token",
+                     "id"            : "0x12",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"      : "Card Result",
+                     "id"        : "0x13",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"   : "SW1",
+                                       "format" : "guint8" },
+                                     { "name"   : "SW2",
+                                       "format" : "guint8" } ] } ] },
+
   // *********************************************************************************
   {  "name"    : "Get Card Status",
      "type"    : "Message",