FreeCalypso > hg > fc-pcsc-tools
diff doc/Low-level-commands @ 194:a5fee308b699
doc/Low-level-commands: erase-file documented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 Mar 2021 23:13:28 +0000 |
parents | cc6a4b48dc2a |
children | fc82f0464480 |
line wrap: on
line diff
--- a/doc/Low-level-commands Sat Mar 06 22:55:21 2021 +0000 +++ b/doc/Low-level-commands Sat Mar 06 23:13:28 2021 +0000 @@ -136,6 +136,15 @@ on the SELECT response. Cyclic files are restored by writing every record in the reverse order from the last index to the first. +erase-file File_ID [fill-byte] + +This command erases the specified EF by overwriting its content with the +specified fill byte, which defaults to 0xFF if the second argument is omitted. +All 3 EF types (transparent, linear fixed and cyclic) are supported: for +transparent EFs fc-simtool issues as many UPDATE BINARY commands as needed to +overwrite the whole file, whereas for record-based EFs every record is +overwritten with UPDATE RECORD. + INVALIDATE and REHABILITATE ===========================