aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-02-15 15:56:48 +0100
committerHarald Welte <laforge@osmocom.org>2022-02-15 15:56:48 +0100
commitd01bd3632c4747b8c624cc0eba7da4959357c285 (patch)
tree4997d6d446085a3c71fb946894b75f8387100ca3
parent799c3548274c50cae0106610b3ffd169da878946 (diff)
docs: Document missing 'status' command in 7816 section
-rw-r--r--docs/shell.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/shell.rst b/docs/shell.rst
index fcc171b..0f3139f 100644
--- a/docs/shell.rst
+++ b/docs/shell.rst
@@ -98,6 +98,41 @@ This will
pySIM-shell (MF/ADF.USIM)>
+status
+~~~~~~
+
+The ``status`` command [re-]obtains the File Control Template of the
+currently-selected file and print its decoded output.
+
+Example:
+
+::
+
+ pySIM-shell (MF/ADF.ISIM)> status
+ {
+ "file_descriptor": {
+ "file_descriptor_byte": {
+ "shareable": true,
+ "file_type": "df",
+ "structure": "no_info_given"
+ },
+ "record_len": null,
+ "num_of_rec": null
+ },
+ "file_identifier": "ff01",
+ "df_name": "a0000000871004ffffffff8907090000",
+ "proprietary_information": {
+ "uicc_characteristics": "71",
+ "available_memory": 101640
+ },
+ "life_cycle_status_integer": "operational_activated",
+ "security_attrib_compact": "00",
+ "pin_status_template_do": {
+ "ps_do": "70",
+ "key_reference": 11
+ }
+ }
+
change_chv
~~~~~~~~~~