Classic Electronics Smart 4F Spezifikationen Seite 11

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 59
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 10
Smart Cards Lab COMPGA12 University College London
8 How to Identify a Smart Card
Here there is no command. The command is to physically RESET the card
(for example switch the power off and on, or connect RESET contact C2
to VCC for a short while). Then the card responds with a string of bytes.
This is called ATR = Answer To Reset.
Quiz ATR is a nested structure defined in
ISO 7816-1 ISO 7816-3.
ATR is a sort of unique ID of a smart card product. For example ATR is
equal to 3B8F8001804F0CA000000306030001000000006A for MiFare Classic
used in the London Oyster card. A tool to identify the type of the smart card
from its ATR can be found at http://smartcard-atr.appspot.com/.
8.1 How to get ATR
Most smart card programs are able of displaying the ATR.
1. For example we can run SCardDemo.exe which will display ATR if
we press the button RESET.
it is included in our software distribution folder under is provided in
the folder \APDUtools\SCardDemo.exe. This program does not
require any installation and can be run directly.
2. A nice tool is PCSC diagnostic that comes with the free SpringCard
tools suite that comes with our lab installation. It will automatically
detect if a card was inserted and display the ATR.
3. Another method is to use cardselect.py or isotype.py that come with
rfidiot library. The second program gives some extra explanations
about the structure and the encoding of the ATR, as shown below.
4. And many other... including most APDU tools we have listed in Sec-
tion 4.4.
8.2 Getting ATR With Rfidiot
Open a console box (cmd.exe, can for example be opened by clicking here:
file:///C:/windows/system32/cmd.exe) and type the following:
cd C:\Program Files\rfidiot
isotype.py
c
Nicolas T. Courtois 2009-10
Seitenansicht 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 58 59

Kommentare zu diesen Handbüchern

Keine Kommentare