[Pcsclite-cvs-commit] CVS Drivers/ccid/src
CVS User rousseau
ludovic.rousseau@free.fr
Tue, 26 Apr 2005 12:29:46 +0000
Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory haydn:/tmp/cvs-serv18231/src
Modified Files:
ifdhandler.c
Log Message:
extra_egt(): rewrite the function comment
--- /cvsroot/pcsclite/Drivers/ccid/src/ifdhandler.c 2005/04/26 12:16:26 1.65
+++ /cvsroot/pcsclite/Drivers/ccid/src/ifdhandler.c 2005/04/26 12:29:45 1.66
@@ -17,7 +17,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: ifdhandler.c,v 1.65 2005/04/26 12:16:26 rousseau Exp $ */
+/* $Id: ifdhandler.c,v 1.66 2005/04/26 12:29:45 rousseau Exp $ */
#include <stdio.h>
#include <string.h>
@@ -1016,13 +1016,16 @@
void extra_egt(ATR_t *atr, _ccid_descriptor *ccid_desc, DWORD Protocol)
{
- /*
- * This function apply an extra EGT value for card who comply
- * with followings criterias.
- * If the extra EGT are not apply to the reader, the communication
- * with the smart card will be impossible.
- * It is a smart card bug wich are not compatible with ISO 7816-3
- * standard.
+ /* This function use an EGT value for cards who comply with followings
+ * criterias:
+ * - TA1 > 11
+ * - current EGT = 0x00 or 0xFF
+ * - T=0 or (T=1 and CWI >= 2)
+ *
+ * Without this larger EGT some non ISO 7816-3 smart cards may not
+ * communicate with the reader.
+ *
+ * This modification is harmless, the reader will just be less restrictive
*/
unsigned int card_baudrate;