I want to send the following control transfer:

    r = libusb_control_transfer(handle,
        LIBUSB_REQUEST_TYPE_CLASS | LIBUSB_RECIPIENT_INTERFACE | 
LIBUSB_ENDPOINT_OUT,
        0, 0, 3, packet, size, 2000);

However, the USB sniffer always shows the field wIndex as 0 instead of 3.
The other field of struct libusb_control_setup are correct.
Only wIndex always shows 0.

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/161
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to