diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2022-08-23 12:50:42 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2022-09-07 20:21:42 +0000 |
commit | d22bf20236dca5f93c21e9fc0b6d8d4b5092ac56 (patch) | |
tree | 809617665956a951776bf786196568b9541f314a /data | |
parent | b2a976bd47009a3c417949b3de245aeae616e4bc (diff) | |
download | libmbim-d22bf20236dca5f93c21e9fc0b6d8d4b5092ac56.tar.gz |
ms-uicc-low-level-access: add support for 'File Status' operation
$ sudo mbimcli -p -d /dev/wwan0mbim0 --ms-query-uicc-file-status="application-id=A0000000871002FF34FF0789312E30FF,file-path=7FFF6F3E"
[/dev/wwan0mbim0] UICC file status retrieved:
Status word 1: 144
Status word 2: 0
Accessibility: unknown
Type: unknown
Structure: transparent
Item count: 1
Item size: 1
Access conditions:
Read: pin1
Update: adm
Activate: adm
Deactivate: adm
$ sudo mbimcli -p -d /dev/wwan0mbim0 --ms-query-uicc-file-status="application-id=A0000000871002FF34FF0789312E30FF,file-path=3F002FE2"
[/dev/wwan0mbim0] UICC file status retrieved:
Status word 1: 144
Status word 2: 0
Accessibility: unknown
Type: unknown
Structure: transparent
Item count: 1
Item size: 10
Access conditions:
Read: unknown
Update: unknown
Activate: adm
Deactivate: adm
Diffstat (limited to 'data')
-rw-r--r-- | data/mbim-service-ms-uicc-low-level-access.json | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/data/mbim-service-ms-uicc-low-level-access.json b/data/mbim-service-ms-uicc-low-level-access.json index 43a5760..e249040 100644 --- a/data/mbim-service-ms-uicc-low-level-access.json +++ b/data/mbim-service-ms-uicc-low-level-access.json @@ -128,6 +128,48 @@ { "name" : "Applications", "format" : "ref-struct-array" , "struct-type" : "MbimUiccApplication", - "array-size-field" : "ApplicationCount" } ] } + "array-size-field" : "ApplicationCount" } ] }, + // ********************************************************************************* + + { "name" : "File Status", + "type" : "Command", + "since" : "1.28", + "query" : [ { "name" : "Version", + "format" : "guint32" }, + { "name" : "ApplicationId", + "format" : "ref-byte-array" }, + { "name" : "FilePath", + "format" : "ref-byte-array" } ], + "response" : [ { "name" : "Version", + "format" : "guint32" }, + { "name" : "StatusWord1", + "format" : "guint32" }, + { "name" : "StatusWord2", + "format" : "guint32" }, + { "name" : "FileAccessibility", + "format" : "guint32", + "public-format" : "MbimUiccFileAccessibility" }, + { "name" : "FileType", + "format" : "guint32", + "public-format" : "MbimUiccFileType" }, + { "name" : "FileStructure", + "format" : "guint32", + "public-format" : "MbimUiccFileStructure" }, + { "name" : "FileItemCount", + "format" : "guint32" }, + { "name" : "FileItemSize", + "format" : "guint32" }, + { "name" : "AccessConditionRead", + "format" : "guint32", + "public-format" : "MbimPinType" }, + { "name" : "AccessConditionUpdate", + "format" : "guint32", + "public-format" : "MbimPinType" }, + { "name" : "AccessConditionActivate", + "format" : "guint32", + "public-format" : "MbimPinType" }, + { "name" : "AccessConditionDeactivate", + "format" : "guint32", + "public-format" : "MbimPinType" } ] } ] |