David,
Why reset the card twice? ISO doesn't say that the card must always give the
same ATR from a warm reset as from a cold reset, and EMV in particular take
advantage of this to insist that the card must send a 'basic ATR' (i.e. one
which says 'I will run with the startup parameters, but here is the protocol
(T=0 or T=1) that you need to use') after a warm reset. The rule in schemes
that I have worked with is always to go with the cold reset ATR if you can
use it, and thus get the transaction over as fast as possible.
Generally, a card will complete the sending of the ATR within a few hundred
milliseconds. Many cards complete sending the ATR within 100 msec of lifting
the reset line. ISO allows a lot longer than this before timeout in the
terminal, but EMV decided (quite sensibly) to shorten that time (to 1 or is
it 2 sec to complete the ATR? - can't remember exactly).
Peter T
Bristol UK
- Original Message -
From: "David Corcoran" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 27, 2001 3:02 PM
Subject: Re: MUSCLE Transaction times
Hi Michael,
The Reflex 60 driver reset's the card twice most likely (cold/warm) On
removal there is no reset but on insertion these reset's occur - the
driver
goes into a sleep waiting for this to happen - I am sure you can shorten
this amount of time and I would be glad to help you if you send me a mail
directly [EMAIL PROTECTED]
Dave
David Corcoran Purdue University
1008 Cherry Lane
West Lafayette, IN 47906
[EMAIL PROTECTED]
765 - 532 - 6006 http://www.linuxnet.com
***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***
***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***