From: David Bauer Date: Wed, 3 Jan 2024 14:16:19 +0000 (+0200) Subject: data: add support for ICC channel X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=d381f80de6aceb9858415521a241cbb25006c81c;p=project%2Fuqmi.git data: add support for ICC channel Link: https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/merge_requests/376 Signed-off-by: David Bauer --- diff --git a/data/qmi-service-uim.json b/data/qmi-service-uim.json index 35edd8e..afebbad 100644 --- a/data/qmi-service-uim.json +++ b/data/qmi-service-uim.json @@ -920,6 +920,151 @@ "format" : "guint8" } ] } } ] }, "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, +// ********************************************************************************* + { "name" : "Send APDU", + "type" : "Message", + "service" : "UIM", + "id" : "0x003B", + "since" : "1.36", + "input" : [ { "name" : "Slot", + "id" : "0x01", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8" }, + { "name" : "APDU", + "id" : "0x02", + "type" : "TLV", + "since" : "1.36", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "format" : "guint8" } }, + { "name" : "Channel ID", + "id" : "0x10", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8" }, + { "name" : "Procedure bytes", + "id" : "0x11", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "APDU Response", + "id" : "0x10", + "type" : "TLV", + "since" : "1.36", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "format" : "guint8" } } ] }, + + // ********************************************************************************* + { "name" : "Logical Channel", + "type" : "Message", + "service" : "UIM", + "id" : "0x003F", + "since" : "1.36", + "input" : [ { "name" : "Slot", + "id" : "0x01", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8" }, + { "name" : "AID", + "id" : "0x10", + "type" : "TLV", + "since" : "1.36", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } }, + { "name" : "Channel ID", + "id" : "0x11", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8" }, + { "name" : "File Control Information", + "id" : "0x12", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8", + "public-format" : "QmiUimFileControlInformation" }, + { "name" : "Terminate Application", + "id" : "0x13", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Channel ID", + "id" : "0x10", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Card result", + "id" : "0x11", + "type" : "TLV", + "since" : "1.36", + "format" : "sequence", + "contents" : [ { "name" : "SW1", + "format" : "guint8" }, + { "name" : "SW2", + "format" : "guint8" } ] }, + { "name" : "Select Response", + "id" : "0x12", + "type" : "TLV", + "since" : "1.36", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Open Logical Channel", + "type" : "Message", + "service" : "UIM", + "id" : "0x0042", + "since" : "1.36", + "input" : [ { "name" : "Slot", + "id" : "0x01", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8" }, + { "name" : "AID", + "id" : "0x10", + "type" : "TLV", + "since" : "1.36", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } }, + { "name" : "File Control Information", + "id" : "0x11", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8", + "public-format" : "QmiUimFileControlInformation" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Channel ID", + "id" : "0x10", + "type" : "TLV", + "since" : "1.36", + "format" : "guint8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Card result", + "id" : "0x11", + "type" : "TLV", + "since" : "1.36", + "format" : "sequence", + "contents" : [ { "name" : "SW1", + "format" : "guint8" }, + { "name" : "SW2", + "format" : "guint8" } ] }, + { "name" : "Select Response", + "id" : "0x12", + "type" : "TLV", + "since" : "1.36", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* { "name" : "Refresh Register All", "type" : "Message",