Re: libusbK: interrupt transfer
Magnus Therning <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CAAExw5vCZqDobNhf5x=jcDkE137or7xjGGBMugNNM8ygqck2+w@mail.gmail.com> |
On Tue, Aug 19, 2014 at 1:13 PM, Magnus Therning <[email protected]> wrote: > I'm feeling a little stupid here, but hopefully this is so simple to > answer that you'll forgive me. > > I've been experimenting with LibUsbDotNet, but ran into an issue that > I couldn't figure out so I switched to experimenting with the second > lib on my list: libusbK. > > I need to first do a bunch of control transfers, which is easily > handled using UsbK_ControlTransfer. Then I need to do an interrupt > transfer (a read). But I can't for the life of me figure out the API > for getting an interrupt endpoint to read from. What is it that I'm > missing? I'll reply to this myself :) Apparently creating a read stream, starting it and then closing it triggers the HID (ROM Recovery) on the other end to process the uploaded data. In libusb an interrupt transfer (read) was required. Now on to the next issue ;) /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: [email protected] jabber: [email protected] twitter: magthe http://therning.org/magnus ------------------------------------------------------------------------------