From: iceman1001 Date: Mon, 21 Mar 2016 21:05:59 +0000 (+0100) Subject: CHG: testing for windows clients to get a higher baudrate. Was 9600, testing 115200... X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/0fcfad0ee6d4510c8cbfb22e757e68a442b94b0b?hp=4bf0f73d766d8c461d55a418e241b5bab432a6ab CHG: testing for windows clients to get a higher baudrate. Was 9600, testing 115200 as for non_win. CHG: testing to set USB 2.0 standard, instead of USB1.1 ... --- diff --git a/client/uart.c b/client/uart.c index e3a6a57b..71cea110 100644 --- a/client/uart.c +++ b/client/uart.c @@ -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; } diff --git a/common/usb_cdc.c b/common/usb_cdc.c index 79f34979..9bdaed29 100644 --- a/common/usb_cdc.c +++ b/common/usb_cdc.c @@ -46,7 +46,8 @@ const char devDescriptor[] = { /* Device descriptor */ 0x12, // bLength 0x01, // bDescriptorType - 0x10,0x01, // Complies with USB Spec. Release (0110h = release 1.10) + //0x10,0x01, // Complies with USB Spec. Release (0110h = release 1.10) + 0x00,0x02, // Complies with USB Spec. Release (0110h = release 2.00) 0x02, // bDeviceClass: CDC class code 0x00, // bDeviceSubclass: CDC class sub code 0x00, // bDeviceProtocol: CDC Device protocol