Skip to content

Conversation

alexredko
Copy link

We can use max buffer size obtained from descriptor.bMaxPacketSize0() instead of 256 in these methods because internally they call controlTransfer on interface #0.
This fixes #3 without manipulations with dirvers. Some devices require to use a buffer of size bMaxPacketSize0 only for control transfer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overflow while getting descriptors
1 participant