Closed 313ctric closed 1 year ago
Please make a PR - github.dev exists!
Thanks
I was referring to https://www.beyondlogic.org/usbnutshell/usb6.shtml#StandardDeviceRequests, so it seems that the website is wrong as well.
I have informed the author of usb in a nutshell!
In consts.rs the codes for
SetInterface
andSynthFrame
(should beSynchFrame
) are incorrect. They are currently0x11
and0x12
respectively, but should be decimal 11 and 12 (0x0B
and0x0C
).They are specified in Table 9-4 of the USB 2.0 specification. https://www.usb.org/document-library/usb-20-specification (
usb_20.pdf
, page 251).I would be happy to create a pull request, but it's such a small fix it would probably be quicker for someone else to just do it.
Thanks