[Pcsclite-cvs-commit] r4315 - /website/matrix.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Jul 16 11:46:00 UTC 2009


Author: rousseau
Date: Thu Jul 16 11:45:58 2009
New Revision: 4315

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4315
Log:
add ICCD to the features field for ICCD devices

Modified:
    website/matrix.py

Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=4315&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Thu Jul 16 11:45:58 2009
@@ -95,6 +95,8 @@
             readers[r]['features'].append("PIN Verification")
         if bPINSupport & 2:
             readers[r]['features'].append("PIN Modification")
+        if int(readers[r]['dwFeatures'], 16) & 0x0800:
+            readers[r].setdefault('features', ["ICCD"])
 
     #pp.pprint(readers["GemPCPinpad.txt"])
     return readers




More information about the Pcsclite-cvs-commit mailing list