Re: URB Incorrect Device Address
Xiaofan Chen <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CAGjSPUBxjh4FSF5RHmTKEutMzJNeMO+6VYgbQJHK-RXTnzPiYw@mail.gmail.com> |
On Fri, Aug 1, 2014 at 10:55 PM, Wilhelmsen, Nils_christian <[email protected]> wrote: > This is the code. It is written in Python using ctypes: I can not see anything related to your statement in the first email "In the URBs, the device address is set to 0xFF, whereas from USB view I found the device address to be 0x05, which implies the URB is supplying the incorrect device address." It seems to me you interpret the capture wrongly. Anyway, since you are using Python, it is better to use the more mature pyusb. http://walac.github.io/pyusb/ And you need to understand the communication protocol in order to use libsub/pyusb. -- Xiaofan ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds