a1ien / libusb1-sys

MIT License
13 stars 10 forks source link

`EndpointDescriptor` missing `bRefresh` and `bSynchAddress` fields #30

Closed matallui closed 3 years ago

matallui commented 3 years ago

Hi! Is there a way around the lack of bRefresh and bSynchAddress for the EndpointDescriptor?

I know libusb1-sys does provide all the fields but this crate doesn't provide an API to access those fields or even to know the length of the EndpointDescriptor, since it can be either 7 or 9 bytes long.

Any help would be appreciated. Thanks!

matallui commented 3 years ago

Oops, wanted to submit this issue into rusb, not here. Appologies.