FreeCalypso > hg > fc-pcsc-tools
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 193:bc127ba44488 | 194:a5fee308b699 |
|---|---|
| 134 command. This command supports all 3 types of EF (transparent, linear fixed | 134 command. This command supports all 3 types of EF (transparent, linear fixed |
| 135 and cyclic) and uses the correct UPDATE BINARY or UPDATE RECORD commands based | 135 and cyclic) and uses the correct UPDATE BINARY or UPDATE RECORD commands based |
| 136 on the SELECT response. Cyclic files are restored by writing every record in | 136 on the SELECT response. Cyclic files are restored by writing every record in |
| 137 the reverse order from the last index to the first. | 137 the reverse order from the last index to the first. |
| 138 | 138 |
| 139 erase-file File_ID [fill-byte] | |
| 140 | |
| 141 This command erases the specified EF by overwriting its content with the | |
| 142 specified fill byte, which defaults to 0xFF if the second argument is omitted. | |
| 143 All 3 EF types (transparent, linear fixed and cyclic) are supported: for | |
| 144 transparent EFs fc-simtool issues as many UPDATE BINARY commands as needed to | |
| 145 overwrite the whole file, whereas for record-based EFs every record is | |
| 146 overwritten with UPDATE RECORD. | |
| 147 | |
| 139 INVALIDATE and REHABILITATE | 148 INVALIDATE and REHABILITATE |
| 140 =========================== | 149 =========================== |
| 141 | 150 |
| 142 cur-ef-inval will send an INVALIDATE command to the SIM; cur-ef-rehab will send | 151 cur-ef-inval will send an INVALIDATE command to the SIM; cur-ef-rehab will send |
| 143 a REHABILITATE command. The naming of these low-level fc-simtool commands | 152 a REHABILITATE command. The naming of these low-level fc-simtool commands |
