]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: testing for windows clients to get a higher baudrate. Was 9600, testing 115200...
authoriceman1001 <iceman@iuse.se>
Mon, 21 Mar 2016 21:05:59 +0000 (22:05 +0100)
committericeman1001 <iceman@iuse.se>
Mon, 21 Mar 2016 21:05:59 +0000 (22:05 +0100)
CHG: testing to set USB 2.0 standard,  instead of USB1.1  ...

client/uart.c
common/usb_cdc.c

index e3a6a57b7b68f16e77fb095ee3a79d2ee64fec5b..71cea1109d1e27ef191d871d8cde07f802eed36f 100644 (file)
@@ -369,7 +369,7 @@ serial_port uart_open(const char* pcPortName) {
   // Prepare the device control
   memset(&sp->dcb, 0, sizeof(DCB));
   sp->dcb.DCBlength = sizeof(DCB);
-  if(!BuildCommDCBA("baud=9600 data=8 parity=N stop=1",&sp->dcb)) {
+  if(!BuildCommDCBA("baud=115200 parity=N data=8 stop=1",&sp->dcb)) {
                uart_close(sp);
                return INVALID_SERIAL_PORT;
        }
index 79f349792eca52e5f57ffa677ac1f90b3da3b574..9bdaed29c6f8bdbfd9ac704928c7892b91fd7f7f 100644 (file)
@@ -46,7 +46,8 @@ const char devDescriptor[] = {
        /* Device descriptor */\r
        0x12,      // bLength\r
        0x01,      // bDescriptorType\r
-       0x10,0x01, // Complies with USB Spec. Release (0110h = release 1.10)\r
+       //0x10,0x01, // Complies with USB Spec. Release (0110h = release 1.10)\r
+       0x00,0x02, // Complies with USB Spec. Release (0110h = release 2.00)\r
        0x02,      // bDeviceClass:    CDC class code\r
        0x00,      // bDeviceSubclass: CDC class sub code\r
        0x00,      // bDeviceProtocol: CDC Device protocol\r
Impressum, Datenschutz