> From: wander.lair...@gmail.com
> Date: Mon, 14 Jan 2013 19:59:59 -0200
> To: pyusb-users@lists.sourceforge.net
> Subject: Re: [pyusb-users] Overflow in bulkRead
>
> 2013/1/14 Alan Jhonn Aguiar Schwyn <alan...@hotmail.com>:
>
> [snip]
>
> >> >
> >>
> >> Doesn't the device have any data? Or is the data packet larger than 5
> >> bytes? AFAIK, the error shouldn't cause communication breakage..
> >>
> >
> > I think that the device not have data..
> >
> > After the overflow, the send command seems work. (I send one packet of 4
> > bytes and returns 4)
> > But the read continues returning "overflow" :-(
> >
>
> Are you sure the device should return any data? Maybe you are issuing
> an wrong command...
I found the problem: I try to read 2 bytes, and the device was sending 3..
And I test that: if you request 3 (and the device gives 2) no generates
anyproblem.. the size of returned package is 2..
Why in the other case yes?
> --
> Best Regards,
> Wander Lairson Costa
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 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_122412
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 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_122412
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users