[Pcsclite-cvs-commit] r4998 - /trunk/Drivers/ccid/SCARDGETATTRIB.txt

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Wed Jun 16 09:43:25 UTC 2010


Author: rousseau
Date: Wed Jun 16 09:43:24 2010
New Revision: 4998

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4998
Log:
add SCARD_ATTR_ICC_INTERFACE_STATUS, SCARD_ATTR_ICC_PRESENCE and
SCARD_ATTR_VENDOR_IFD_SERIAL_NO

Modified:
    trunk/Drivers/ccid/SCARDGETATTRIB.txt

Modified: trunk/Drivers/ccid/SCARDGETATTRIB.txt
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/SCARDGETATTRIB.txt?rev=4998&op=diff
==============================================================================
--- trunk/Drivers/ccid/SCARDGETATTRIB.txt (original)
+++ trunk/Drivers/ccid/SCARDGETATTRIB.txt Wed Jun 16 09:43:24 2010
@@ -31,6 +31,18 @@
 SCARD_ATTR_ATR_STRING
     ATR of the card
 
+SCARD_ATTR_ICC_INTERFACE_STATUS
+	Single byte. Zero if smart card electrical contact is not active;
+	nonzero if contact is active.
+
+SCARD_ATTR_ICC_PRESENCE
+	Single byte indicating smart card presence:
+	0 = not present
+	1 = card present but not swallowed (applies only if reader supports
+	smart card swallowing)
+	2 = card present (and swallowed if reader supports smart card swallowing)
+	4 = card confiscated.
+	
 SCARD_ATTR_VENDOR_IFD_VERSION
     Vendor-supplied interface device version
     DWORD in the form 0xMMmmbbbb where
@@ -48,6 +60,9 @@
    Lc + 255 bytes of data) but some readers support less (253 bytes only
    for example). It is a problem for T=1 cards when the reader works in
    APDU mode instead of TPDU and for T=0 cards.
+
+SCARD_ATTR_VENDOR_IFD_SERIAL_NO
+	reader serial number (if available).
 
 
 Sample code




More information about the Pcsclite-cvs-commit mailing list