[Pcsclite-cvs-commit] CVS Drivers/ccid/src

CVS User rousseau ludovic.rousseau@free.fr
Wed, 06 Oct 2004 05:52:45 -0600


Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory haydn:/tmp/cvs-serv1832

Modified Files:
	parse.c 
Log Message:
display USB bcdDevice field. Is it the device firmware release?


--- /cvsroot/pcsclite/Drivers/ccid/src/parse.c	2004/10/06 11:42:41	1.19
+++ /cvsroot/pcsclite/Drivers/ccid/src/parse.c	2004/10/06 11:52:45	1.20
@@ -18,7 +18,7 @@
 */
 
 /*
- * $Id: parse.c,v 1.19 2004/10/06 11:42:41 rousseau Exp $
+ * $Id: parse.c,v 1.20 2004/10/06 11:52:45 rousseau Exp $
  */
 
 #include <stdio.h>
@@ -113,6 +113,9 @@
 	else
 		printf(" iProduct: %s\n", buffer);
 
+	printf(" bcdDevice: %X.%02X (firmware release?)\n",
+		dev->descriptor.bcdDevice >> 8, dev->descriptor.bcdDevice & 0xFF);
+
 	usb_interface = get_ccid_usb_interface(dev)->altsetting;
 	
 	printf(" bLength: %d\n", usb_interface->bLength);