File: test.script

package info (click to toggle)
pcsc-tools 1.4.23-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 532 kB
  • ctags: 74
  • sloc: perl: 2,010; ansic: 315; makefile: 31
file content (25 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Script to read a GSM SIM card
# (c) 2001, Ludovic Rousseau

# reset the card
reset

# Select MF 3F00
A0 A4 00 00 02 3F 00

# Get Reponse
# 17 is the value of second SW from the previous command
A0 C0 00 00 17

# Select DF Telecom (7F10)
A0 A4 00 00 02 7F 10

# Get Response
A0 C0 00 00 17

# Select EF_ADN (6F3A) (Abbreviated Dialing Numbers)
A0 A4 00 00 02 6F 3A

# Get Reponse
A0 C0 00 00 0F