Debian Codegraph @

examples/gsm.script

raw
1 # Select MF (3F00)
2 # expect 9Fxx
3 A0 A4 00 00 02 3F 00
4
5 # Select DF Telecom (7F10)
6 # expect 9Fxx
7 A0 A4 00 00 02 7F 10
8
9 # EF_ADN (6F3A) (Abbreviated Dialing Numbers)
10 # expect 9F0F
11 A0 A4 00 00 02 6F 3A
12
13 # Get Reponse
14 # expect 15 bytes of infos + 9000
15 # last info byte gives the record length
16 A0 C0 00 00 0F
17
18 # PIN auth (pin is 1234)
19 # ASCII 31 32 33 34
20 # + FF up to 8 bytes)
21 # expect 9000
22 A0 20 00 01 08 31 32 33 34 FF FF FF FF
23
24 # Read record 01
25 # length 1A is given by the last byte from
26 # get response (excluding the SW)
27 A0 B2 01 04 1A