I notice if the device sends back BULK data about 32 bytes per
transaction, for the total of about 256 bytes continuously, I see
dropped data when I try calling the read() function. How do I know if
the libusb 0.1/pyusb received all those bytes? It seems like the read()
function only returns some of these bytes, as if some bytes got ignored.
The problem could be the device sending out without waiting for
acknowledgement from the PC or I'm just not reading fast enough. I'll
have to take a look into details sniffing the usb data going to the PC.
Qui
Statement Of Confidentiality:
This electronic message transmission, and all attachments, contains
information from Extron Electronics which is confidential and privileged. The
information is for the exclusive viewing or use of the intended recipient. If
you are not the intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information is prohibited. If you
have received this electronic transmission in error, please notify the sender
immediately by a "reply to sender only" message and destroy all electronic and
hard copies of the communication, including attachments.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users