2013/1/14 Alan Jhonn Aguiar Schwyn <alan...@hotmail.com>:
>> > Ever read 3 bytes? And check if there are 3 or only 2?
>> >
>>
>> Every endpoint has a bMaxPacketSize field, which is the size of one
>> packet. Try to read bMaxPacketSize bytes.
>
> device.maxPacketSize is 8
>
> Try to read more bytes no increaces the time of the read function?
> I'm trying to get "good times".. but send one command and read the
> result takes: 0.0027 seconds.
>

Trying to read 8 bytes or 3 bytes are the same, because the traffic
will be the same (assuming your device has 3 bytes to send), AFAIK.

-- 
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to