I am trying to send a control transfer using
int err = libusb_control_transfer(_handle, 0x40, 42, 0x1234, 0, data, length, 1000);
I keep getting LIBUSB_TRANSFER_TIMED_OUT, I am not sure why I have looked all over but no luck. Does anyone know how to fix this error or have a link to a solution or even an example of a working control transfer?