[Pcsclite-cvs-commit] r6076 - /trunk/PCSC/src/spy/pcsc-spy.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Mon Oct 24 12:34:32 UTC 2011


Author: rousseau
Date: Mon Oct 24 12:34:32 2011
New Revision: 6076

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6076
Log:
Parse FEATURE_IFD_PIN_PROPERTIES

Modified:
    trunk/PCSC/src/spy/pcsc-spy.py

Modified: trunk/PCSC/src/spy/pcsc-spy.py
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/spy/pcsc-spy.py?rev=6076&op=diff
==============================================================================
--- trunk/PCSC/src/spy/pcsc-spy.py (original)
+++ trunk/PCSC/src/spy/pcsc-spy.py Mon Oct 24 12:34:32 2011
@@ -538,6 +538,14 @@
 
                 bRecvBuffer = bRecvBuffer[2 + length:]
 
+        elif dwControlCode == self.FEATURE_IFD_PIN_PROPERTIES:
+            print "  parsing FEATURE_IFD_PIN_PROPERTIES results:"
+            bRecvBuffer = hex2int(bRecvBuffer, int(bRecvLength, 16))
+
+            print "  wLcdLayout:", bRecvBuffer[0], bRecvBuffer[1]
+            print "  bEntryValidationCondition:", bRecvBuffer[2]
+            print "  bTimeOut2:", bRecvBuffer[3]
+
         self._log_rv()
 
     def _SCardGetAttrib(self):




More information about the Pcsclite-cvs-commit mailing list