FreeCalypso > hg > fc-pcsc-tools
comparison doc/Low-level-commands @ 95:7412cdd505b3
doc/Low-level-commands: restore-file documented
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Wed, 17 Feb 2021 20:41:30 +0000 |
| parents | 285fb9555530 |
| children | 3bce899bcf78 |
comparison
equal
deleted
inserted
replaced
| 94:285fb9555530 | 95:7412cdd505b3 |
|---|---|
| 123 | 123 |
| 124 This fc-simtool command is like update-rec, but the UPDATE RECORD command sent | 124 This fc-simtool command is like update-rec, but the UPDATE RECORD command sent |
| 125 to the SIM uses the PREVIOUS addressing mode, and there is no record number. | 125 to the SIM uses the PREVIOUS addressing mode, and there is no record number. |
| 126 This form is needed in order to write to cyclic EFs. | 126 This form is needed in order to write to cyclic EFs. |
| 127 | 127 |
| 128 restore-file | 128 restore-file File_ID host-bin-file |
| 129 | |
| 130 This command restores a binary backup previously made with savebin back to the | |
| 131 SIM, or writes new bits into the EF if you can construct the necessary binary | |
| 132 image with tools like xxd. The arguments are the same as for the savebin | |
| 133 command. This command supports all 3 types of EF (transparent, linear fixed | |
| 134 and cyclic) and uses the correct UPDATE BINARY or UPDATE RECORD commands based | |
| 135 on the SELECT response. Cyclic files are restored by writing every record in | |
| 136 the reverse order from the last index to the first. | |
| 129 | 137 |
| 130 GSM authentication testing | 138 GSM authentication testing |
| 131 ========================== | 139 ========================== |
| 132 | 140 |
| 133 a38 | 141 a38 |
