[Pcsclite-git-commit] [CCID] 02/02: Info.plist: use hex values in the documentation

Ludovic Rousseau rousseau at moszumanska.debian.org
Tue Oct 20 16:09:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository CCID.

commit f5eebab921f1eb7e93d8c206c72e30c5c0f09e80
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Tue Oct 20 18:08:32 2015 +0200

    Info.plist: use hex values in the documentation
    
    The value of ifdDriverOptions is an hex value. So the documentation
    should also use hex values.
    
    Thanks to Thomas Capricelli for the bug report
    https://lists.alioth.debian.org/pipermail/pcsclite-muscle/Week-of-Mon-20151019/000471.html
---
 src/Info.plist.src | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/Info.plist.src b/src/Info.plist.src
index 8d33a8e..80dbeeb 100644
--- a/src/Info.plist.src
+++ b/src/Info.plist.src
@@ -54,18 +54,18 @@
 	<string>0x0000</string>
 
 	<!-- Possible values for ifdDriverOptions
-	1: DRIVER_OPTION_CCID_EXCHANGE_AUTHORIZED
+	0x01: DRIVER_OPTION_CCID_EXCHANGE_AUTHORIZED
 		the CCID Exchange command is allowed. You can use it through
 		SCardControl(hCard, IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE, ...)
 
-	2: DRIVER_OPTION_GEMPC_TWIN_KEY_APDU
+	0x02: DRIVER_OPTION_GEMPC_TWIN_KEY_APDU
 		If set the GemPC Twin and GemPC Key readers with be configured
 		so that the T=1 TPDU protocol is done by the firmware instead of
 		the driver.
 		This switches the reader in APDU mode and also in EMV mode so
 		may not work with non EMV cards.
 
-	4: DRIVER_OPTION_USE_BOGUS_FIRMWARE
+	0x04: DRIVER_OPTION_USE_BOGUS_FIRMWARE
 		Some reader firmwares have bugs. By default the driver refuses
 		to work with such firmware versions. If your reader is rejected
 		because of the firmware (log message: "Firmware (x.y) is
@@ -77,17 +77,17 @@
 		- activate this option but you will have problems depending on
 		  the bug
 
-	8: DRIVER_OPTION_RESET_ON_CLOSE
+	0x08: DRIVER_OPTION_RESET_ON_CLOSE
 		This option may be required on Linux 2.4 so that the
 		device reset if sequencial (bSeq) counter and can be
 		reused if pcscd restart. Otherwise the reader needs to
 		be unplugged/replugged.
 
-	bits 4 & 5: (values 0, 16, 32, 48)
-	  0: power on the card at 5V (default value)
-	 16: power on the card at 3V and then, if 3V fails use 5V
-	 32: power on the card at 1.8V, then 3V and then 5V
-	 48: let the reader decide
+	bits 4 & 5: (values 0x00, 0x10, 0x20, 0x30)
+	 0x00: power on the card at 5V (default value)
+	 0x10: power on the card at 3V and then, if 3V fails use 5V
+	 0x20: power on the card at 1.8V, then 3V and then 5V
+	 0x30: let the reader decide
 
 	0x40: DRIVER_OPTION_DISABLE_PIN_RETRIES
 		The Gemalto pinpad reader sends a VERIFY command with no PIN

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/CCID.git



More information about the Pcsclite-cvs-commit mailing list