On Thu, Jun 24, 2010 at 12:25 PM, Diego Jacobi <jacobidi...@gmail.com> wrote: > Can somebody give a better example on how to call ctrl_transfer with a > data payload ?
It all depends on the device. A C example here (sorry right now I have no pyusb example). http://www.microchip.com/forums/fb.ashx?m=475777 To use libusb/pyusb, you have to know the protocol of the device. Since you do not have access to the device internals, then the way to do it is using reverse-engineering: eg: to use usb sniffer under Windows. -- Xiaofan http://mcuee.blogspot.com ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users