Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bulk Transaction timeouts



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

This email sent to email@hidden
References: 
 >Bulk Transaction timeouts (From: Mike Smith <email@hidden>)
 >Re: Bulk Transaction timeouts (From: David Ferguson <email@hidden>)
 >Re: Bulk Transaction timeouts (From: Florent Pillet <email@hidden>)
 >Re: Bulk Transaction timeouts (From: Florent Pillet <email@hidden>)
 >Re: Bulk Transaction timeouts (From: Fernando Urbina <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.