[SmartcardServices-Changes] [120] trunk/SmartCardServices/src/PCSC/reader.h

source_changes at macosforge.org source_changes at macosforge.org
Fri Mar 26 12:36:15 PDT 2010


Revision: 120
          http://trac.macosforge.org/projects/smartcardservices/changeset/120
Author:   ludovic.rousseau at gmail.com
Date:     2010-03-26 12:36:14 -0700 (Fri, 26 Mar 2010)
Log Message:
-----------
update to PC/SC part 10 v2.02.07 (resync with pcsc-lite)

Modified Paths:
--------------
    trunk/SmartCardServices/src/PCSC/reader.h

Modified: trunk/SmartCardServices/src/PCSC/reader.h
===================================================================
--- trunk/SmartCardServices/src/PCSC/reader.h	2010-03-12 13:54:09 UTC (rev 119)
+++ trunk/SmartCardServices/src/PCSC/reader.h	2010-03-26 19:36:14 UTC (rev 120)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 1999-2005
  *  David Corcoran <corcoran at linuxnet.com>
- * Copyright (C) 1999-2009
+ * Copyright (C) 2005-2009
  *  Ludovic Rousseau <ludovic.rousseau at free.fr>
  *
  * $Id: reader.h.in 4210 2009-05-14 13:14:59Z rousseau $
@@ -97,7 +97,7 @@
 #define SCARD_CTL_CODE(code) (0x42000000 + (code))
 
 /**
- * PC/SC v2.02.05 part 10 reader tags
+ * PC/SC part 10 v2.02.07 March 2010 reader tags
  */
 #define CM_IOCTL_GET_FEATURE_REQUEST SCARD_CTL_CODE(3400)
 
@@ -108,7 +108,8 @@
 #define FEATURE_GET_KEY_PRESSED          0x05
 #define FEATURE_VERIFY_PIN_DIRECT        0x06 /**< Verify PIN */
 #define FEATURE_MODIFY_PIN_DIRECT        0x07 /**< Modify PIN */
-#define FEATURE_MCT_READERDIRECT         0x08
+#define FEATURE_MCT_READERDIRECT         0x08 /**< deprecated */
+#define FEATURE_MCT_READER_DIRECT        0x08
 #define FEATURE_MCT_UNIVERSAL            0x09
 #define FEATURE_IFD_PIN_PROPERTIES       0x0A /**< retrieve properties of the IFD regarding PIN handling */
 #define FEATURE_ABORT                    0x0B
@@ -118,8 +119,10 @@
 #define FEATURE_WRITE_DISPLAY            0x0F
 #define FEATURE_GET_KEY                  0x10
 #define FEATURE_IFD_DISPLAY_PROPERTIES   0x11
+#define FEATURE_GET_TLV_PROPERTIES       0x12
+#define FEATURE_CCID_ESC_COMMAND         0x13
 
-/* structures used (but not defined) in PC/SC Part 10 revision 2.02.05:
+/* structures used (but not defined) in PC/SC Part 10:
  * "IFDs with Secure Pin Entry Capabilities" */
 
 #include <inttypes.h>
@@ -211,8 +214,6 @@
 /** structure used with \ref FEATURE_IFD_PIN_PROPERTIES */
 typedef struct {
 	uint16_t wLcdLayout; /**< display characteristics */
-	uint16_t wLcdMaxCharacters;
-	uint16_t wLcdMaxLines;
 	uint8_t bEntryValidationCondition;
 	uint8_t bTimeOut2;
 } PIN_PROPERTIES_STRUCTURE;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/smartcardservices-changes/attachments/20100326/e12c8d22/attachment.html>


More information about the SmartcardServices-Changes mailing list