I read hardware manual carefully and I found max packet size
description.
Max packet size for in-bulk (endpoint 1) is 16 bytes.
I'm trying to read 32 bytes at once.
But I'm wondering if why I didn't get "kIOReturnOverrun" so far Today.
Old code still works fine. (Of course this code read 32 bytes at once
but works!)
I changed to read 16+16 bytes, but my new code get "kIOReturnOverrun"
again.
The difference between new and old is wait time before ReadPipe call.
new one is 200 msec, old one is 1 sec.
I changed new one to 1 sec, new one works.
On Oct 14, 2005, at 12:09 AM, Fernando Urbina wrote:
We need to know what your maxPacketSize is and what your buf size
is. Also, a log at level 6 might give you an idea on what's going on.
--
Fernando Urbina
USB Technology Team
Apple Computer, Inc.
On Oct 13, 2005, at 9:04 AM, Osamu Shigematsu wrote:
Today I encountered "kIOReturnOverrun" when reading pipe.
I cannot find out why this error occurred, because I use almost
same source for UNIX tool, and it works for same USB device. I'm
now Converting Objective-C class. The code follows:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden