[Pcsclite-cvs-commit] r3005 - /trunk/Drivers/ccid/src/defs.h

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Jun 17 12:29:13 UTC 2008


Author: rousseau
Date: Tue Jun 17 12:29:12 2008
New Revision: 3005

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3005
Log:
Kobil readers does not support APDU chaining for T=1 so you can't send
an extended APDU. The readers supports a command of up to 512 or 420
bytes.

Modified:
    trunk/Drivers/ccid/src/defs.h

Modified: trunk/Drivers/ccid/src/defs.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/defs.h?rev=3005&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/defs.h (original)
+++ trunk/Drivers/ccid/src/defs.h Tue Jun 17 12:29:12 2008
@@ -62,6 +62,14 @@
 /* Flag set when a power down is requested */
 #define MASK_POWERFLAGS_PDWN 0x02
 
+/* Kobil readers does not support APDU chaining for T=1 so you can't send an
+ * extended APDU. The readers supports a command of up to 512 or 420 bytes.
+ * For a Kobil KAAN Base/advanced reader you should use
+ *  #define CMD_BUF_SIZE 420
+ * For the other models you should us
+ *  #define CMD_BUF_SIZE 512
+ * Kobil is aware of the problem and do not plan to solve it
+ */
 /* Communication buffer size (max=adpu+Lc+data+Le) */
 #define CMD_BUF_SIZE (4+1+256+1)
 /* Larger communication buffer size (max=reader status+data+sw) */




More information about the Pcsclite-cvs-commit mailing list