# HG changeset patch
# User Mychaela Falconia <falcon@freecalypso.org>
# Date 1614659645 0
# Node ID cc6a4b48dc2addebc773cf4108d58e1cf00ca22e
# Parent  e70964adcbba9b420571d1faf15c682c674f17c7
doc/Low-level-commands: readef extended

diff -r e70964adcbba -r cc6a4b48dc2a doc/Low-level-commands
--- 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.