1PCSC_SCAN(1) General Commands Manual PCSC_SCAN(1)
2
3
4
6 pcsc_scan - regularly scans every PC/SC readers connected to the host
7
9 pcsc_scan [options]
10
12 This manual page documents briefly the pcsc_scan command.
13
14 pcsc_scan is a program that regularly scans every PC/SC readers con‐
15 nected to the host
16
17 When pcsc_scan is started it asks pcscd the list of available smart
18 card readers. The list is printed. A sequence number is printed before
19 each reader.
20
21 Example:
22 PC/SC device scanner
23 V 1.1.0 (c) 2001-2002, Ludovic Rousseau
24 PC/SC lite version: 1.1.1
25 0: GemPC410 0 0
26 1: GemPC430 0 0
27
28 When a card is inserted in any reader some information is printed:
29
30 date and time:
31 Thu Jun 13 18:56:14 2002
32
33 reader name:
34 Reader 0 (GemPC410 0 0)
35
36 card state and occured event:
37 Card state: State has changed, Card inserted,
38
39 ATR in case of card insertion:
40 ATR: 3B 82 00 86 1E
41
42 print an ATR analysis if the ATR_analysis command is available:
43 ATR: 3B 82 00 86 1E
44 + TS = 3B --> Direct Convention
45 + T0 = 82, Y(1): 1000, K: 2 (historical bytes)
46 TD(1) = 00 --> Y(i+1) = 0000, Protocol T = 0
47 -----
48 + Historical bytes: 86 1E
49
51 -h print help
52
53 -V print version number
54
55 -n do not print ATR analysis
56
58 pcscd(1), ATR_analysis(1)
59
61 Ludovic Rousseau <ludovic.rousseau@free.fr>
62
63
64
65 june 13, 2002 PCSC_SCAN(1)