You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, apologies if this is not the appropriate forum for implementation questions. I'm trying to use the library to create a ruby translation of the following C++ library:
I understand that I need to initiate a control_transfer to set up the transfer, and then use interrupt_transfer for the passing of data from my device. My current implementation looks something like this:
This yields a TRANSFER_STALL in the control_transfer block and raises error TRANSFER_TIMED_OUT (LIBUSB::ERROR_TIMEOUT).
I'm hoping someone might be able to shed some light on how to correctly use the control_transfer and interrupt_transfer methods of LIBUSB::DevHandle in tandem?
Really appreciate the help!
The text was updated successfully, but these errors were encountered:
Hello there,
Firstly, apologies if this is not the appropriate forum for implementation questions. I'm trying to use the library to create a ruby translation of the following C++ library:
I understand that I need to initiate a
control_transfer
to set up the transfer, and then useinterrupt_transfer
for the passing of data from my device. My current implementation looks something like this:This yields a
TRANSFER_STALL
in thecontrol_transfer
block and raiseserror TRANSFER_TIMED_OUT (LIBUSB::ERROR_TIMEOUT)
.I'm hoping someone might be able to shed some light on how to correctly use the
control_transfer
andinterrupt_transfer
methods ofLIBUSB::DevHandle
in tandem?Really appreciate the help!
The text was updated successfully, but these errors were encountered: