Detach interfaces before trying to change the config, as libusb doesn't handle that automatically.
Fixes issue #5
Allow the same endpoint number to be reused for IN and OUT endpoints separately
separately, effectively allowing two endpoints with the same number - numbers are no unique, only endpoint addresses are.
allow returning raw config descriptor without opening the device.
functions. Descriptor format is defined explicitly by the USB spec.
Rename Default to DefaultInterface.
Add a Default() helper that simplifies setup for uncomplicated USB devices.
Rename OpenWithVidPid to OpenWithVIDPID.
particular endpoint number.
(unlike interface or alt setting numbers, which are 0-based array indices). This makes it easier to access a particular config without having to iterate over the descriptors.
Update endpoint_test - if buffer length is 0, no transfer is submitted.
Clear separation between descriptor stringers and value stringers for the device and interface.
on this assumption in the config.
Update rawread to use the new endpoint interface.
claimed.