Closed jfro closed 2 years ago
Looks like the only thing changed between 1.3.0 is updating the hidapi C library. I`ll try to reproduce the problem with some other usb device, hopefull I can find something that can do SW resets.
Ok seems like a bug in the hidapi C library, already fixed: https://github.com/libusb/hidapi/pull/373
Will update the dependency.
Ok I released hidapi v1.3.3, if you can, please test, and tell me if I can close this issue. Thanks for the report!
yup, 1.3.3 no longer crashes with our SW reset, thanks!
This was working in 1.3.0 & 1.2.7, only able to reproduce in 1.3.2. Our USB device we're talking to has a software reset command, where we issue it, close the device & attempt to reopen with a timeout until it responds, or timeout is hit. So basic code flow:
In 1.3.2, the reopen attempts yield in a crash: