mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +08:00
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 ...
This commit is contained in:
parent
4bf0f73d76
commit
0fcfad0ee6
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue