changeset 174:cc6a4b48dc2a

doc/Low-level-commands: readef extended
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 02 Mar 2021 04:34:05 +0000
parents e70964adcbba
children eb660497f888
files doc/Low-level-commands
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/doc/Low-level-commands	Tue Mar 02 03:33:41 2021 +0000
+++ b/doc/Low-level-commands	Tue Mar 02 04:34:05 2021 +0000
@@ -73,12 +73,13 @@
 readef File_ID
 
 This fc-simtool command provides a slightly higher-level facility for examining
-the content of transparent EFs, combining select and readbin operations.  The
-sole File_ID argument is the same as for the low-level select command; if the
-SIM response to this SELECT indicates a transparent EF (it is an error
-otherwise), readef follows up with a READ BINARY command to read the entire file
-(or the first 256 bytes if the file is longer) and displays the read content in
-raw hex.
+the content of EFs, combining select and readbin or readrec operations.  The
+sole File_ID argument is the same as for the low-level select command; the SIM
+response to SELECT is then parsed to decide what to do next.  Transparent EFs
+are read using as many READ BINARY commands as necessary (up to 256 bytes can
+be read in one APDU exchange) and displayed as a continuous hex dump.  For
+record-based EFs (linear fixed and cyclic), readef reads and separately
+hex-dumps every record.
 
 Just like with the low-level select command, there is no built-in MF/DF
 selection.