/[pcsclite]/trunk/pcsc-tools/ATR_analysis.1p
ViewVC logotype

Contents of /trunk/pcsc-tools/ATR_analysis.1p

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4192 - (show annotations) (download)
Sun May 10 15:48:14 2009 UTC (4 years ago) by rousseau
File size: 1168 byte(s)
cleanup
1 .TH ATR_ANALYSIS "1p" "October 2005" "Version: 1.3" "User Commands"
2 .SH NAME
3 ATR_analysis \- analyse a smart card ATR
4 .SH SYNOPSIS
5 .B ATR_analysis
6 .RI [ ATRstring ]
7 .SH DESCRIPTION
8 .B ATR_analysis
9 is used to parse the ATR (Answer To Reset) sent by a smart card.
10 .P
11 The command also tries to find the card model using an ATR database
12 stored in a text file
13 .IR smartcard_list.txt .
14
15 The
16 .I smartcard_list.txt
17 file is searched in
18 .IR ./ ,
19 .I /usr/local/pcsc/
20 and
21 .I /usr/share/pcsc/
22 directories.
23 .P
24 Exemple:
25 $ ATR_analysis '3B A7 00 40 18 80 65 A2 08 01 01 52'
26 ATR: 3B A7 00 40 18 80 65 A2 08 01 01 52
27 + TS = 3B --> Direct Convention
28 + T0 = A7, Y(1): 1010, K: 7 (historical bytes)
29 TB(1) = 00 --> Programming Param P: 0, I: 0
30 TD(1) = 40 --> Y(i+1) = 0100, Protocol T = 0
31 -----
32 TC(2) = 18 --> Work waiting time: 960 x 24 x (Fi/F)
33 + Historical bytes: 80 65 A2 08 01 01 52
34
35 Possibly identified card:
36 3B A7 00 40 18 80 65 A2 08 01 01 52
37 Gemplus GPK8000
38 .P
39 .SH BUGS
40 Maybe many bugs since I am not a ISO 7816 expert.
41 .SH FILES
42 .I smartcard_list.txt
43 .SH "SEE ALSO"
44 .BR pcscd "(8), " pcsc_scan (1)
45 .SH AUTHOR
46 Ludovic Rousseau <ludovic.rousseau@free.fr>

  ViewVC Help
Powered by ViewVC 1.1.5