Xiaofan Chen wrote:
> Ref thread: 
> http://developer.intra2net.com/mailarchive/html/libftdi/2013/msg00157.html
>
> libftdi1 git repo source:
> http://developer.intra2net.com/git/?p=libftdi;a=blob;f=src/ftdi.c
> Just need to read the following functions:
>      ftdi_write_data_submit(), ftdi_read_data_submit() and
> ftdi_transfer_data_done().
>
> I need a sanity check whether the assesment that current libftdi1 codes
> will limit to only have one outstanding async read request. Is this
> correct? I admit I have not a good understanding of libusbx's
> async API and event handling.

I don't see anything in that code that serializes read requests.
 
> If not, then what could be the problem?

That FTDI code does set the default read buffer size to 4096.  That's
settable, using ftdi_read_data_set_chunksize.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to