That is correct, and I wasn't complaining about a lack of
documentation. My code originally used ReadPipeAsnyc (not
ReadPipeAsyncTO) and I was clearing the stall only when receiving a
kIOUSBPipeStalled error code. When I changed to ReadPipeAsyncTO, I
didn't re-read the documentation closely and missed this bit about
timeouts.
Florent
On 21 juil. 05, at 14:22, Fernando Urbina wrote:
I would like to point out that this is specified in the
documentation for ReadPipeTO:
If a timeout is specified and the request times out, the driver may
need to resynchronize the data toggle. See ClearPipeStall or
ClearPipeStallBothEnds .
Timeouts do not apply to interrupt pipes, so you should use the
ReadPipe call to perform a read from an interrupt pipe.
--
Florent Pillet http://www.florentpillet.com
Freelance software developer/consultant - Palm OS & Mac OS X
Skype callto://florent.pillet
_______________________________________________
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