Re: Win7 speed issue
Xiaofan Chen <[email protected]> Fri, 23 Oct 2015 19:53:13 +0800
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CAGjSPUCXMut3rZjRurzy2OGujJAMh6Vt0P_KC_x+LbcMZTmq2A@mail.gmail.com> |
On Thu, Oct 22, 2015 at 8:18 PM, mabdallah <[email protected]> wrote: > I'm trying to use libUSb-Win32 with USB-to-TTl serial converter to send raw > data just to test making usb driver on windows. > > bus/device idVendor/idProduct > bus-0/\\.\libusb0-0001--0x067b-0x2303 067B/2303 > - Manufacturer : Prolific Technology Inc. > - Product : USB-Serial Controller This is not really a good device for learning. It is a USB to serial converter and Prolific provides the driver so that you can use serial API to talk to the device. Anyway, you may want to take a look at the example of using the async API. http://sourceforge.net/p/libusb-win32/code/HEAD/tree/trunk/libusb/examples/bulk.c If you want to use the sync API, it is also possible, just write more data in one go and the speed should be faster. -- Xiaofan ------------------------------------------------------------------------------