Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

usbd_reset_pipe()

Clear a stall condition on an endpoint identified by the pipe handle

Synopsis:

#include <sys/usbdi.h>

int usbd_reset_pipe( struct usbd_pipe *pipe ); 

Arguments:

pipe
An opaque handle returned by usbd_open_pipe().

Library:

libusbdi

Description:

You use the usbd_reset_pipe() function to clear a stall condition on an endpoint identified by the pipe handle.

Returns:

EOK
Success.
ENOMEM
No memory for URB.
ENODEV
Device was removed.

Classification:

QNX Neutrino, QNX 4

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes

See also:

usbd_abort_pipe() usbd_open_pipe(), usbd_close_pipe(), usbd_pipe_endpoint(),