FreeCalypso > hg > fc-pcsc-tools
comparison doc/Low-level-commands @ 91:5f3b16fd4321
doc/Low-level-commands: readbin and readrec documented
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Wed, 17 Feb 2021 19:04:00 +0000 |
| parents | f661ad7eb126 |
| children | 9c3155221b0e |
comparison
equal
deleted
inserted
replaced
| 90:8a714fe98aa9 | 91:5f3b16fd4321 |
|---|---|
| 50 the READ BINARY or READ RECORD commands, whether they are invoked directly as | 50 the READ BINARY or READ RECORD commands, whether they are invoked directly as |
| 51 low-level commands (select, readbin, readrec or a38) or internally as part of | 51 low-level commands (select, readbin, readrec or a38) or internally as part of |
| 52 higher-level fc-simtool commands. | 52 higher-level fc-simtool commands. |
| 53 | 53 |
| 54 readbin offset len | 54 readbin offset len |
| 55 | |
| 56 This fc-simtool command sends a READ BINARY command to the SIM and displays the | |
| 57 SIM response in raw hex, internally invoking the same function as sim-resp. | |
| 58 The two arguments are exactly as in the READ BINARY protocol command; each | |
| 59 number is interpreted as decimal by default or as hex if preceded by 0x. | |
| 60 | |
| 55 readrec record-index [len] | 61 readrec record-index [len] |
| 62 | |
| 63 This fc-simtool command sends a READ RECORD command to the SIM (absolute | |
| 64 addressing mode) and displays the SIM response in raw hex, internally invoking | |
| 65 the same function as sim-resp. The arguments are decimal or hex as in the | |
| 66 readbin command. | |
| 67 | |
| 68 If no explicit length argument is given, readrec uses the internal variable set | |
| 69 by the last select operation. This one-argument form is almost always used in | |
| 70 practice, as the SIM will normally reject any requested length that does not | |
| 71 match the current EF record length. | |
| 56 | 72 |
| 57 readef | 73 readef |
| 58 savebin | 74 savebin |
| 59 | 75 |
| 60 Writing commands | 76 Writing commands |
