
© 2007, QNX Software Systems GmbH & Co. KG. usbd
_
urb
_
status()
USBD_STATUS_BITSTUFFING
The last packet from the endpoint contained a bit-stuffing violation.
USBD_STATUS_TOGGLE_MISMATCH
The last packet from the endpoint had the wrong data-toggle PID.
USBD_STATUS_STALL
The endpoint returned a STALL PID.
USBD_STATUS_DEV_NOANSWER
Device didn’t respond to token (IN) or didn’t provide a handshake (OUT).
USBD_STATUS_PID_FAILURE
Check bits on PID from endpoint failed on data PID (IN) or handshake (OUT).
USBD_STATUS_BAD_PID
Receive PID was invalid or undefined.
USBD_STATUS_DATA_OVERRUN
The endpoint returned more data than the allowable maximum.
USBD_STATUS_DATA_UNDERRUN
The endpoint didn’t return enough data to fill the specified buffer.
USBD_STATUS_BUFFER_OVERRUN
During an IN, the host controller received data from the endpoint faster than it
could be written to system memory.
USBD_STATUS_BUFFER_UNDERRUN
During an OUT, the host controller couldn’t retrieve data fast enough.
USBD_STATUS_NOT_ACCESSED
Controller didn’t execute request.
Returns:
EOK Success.
EBUSY URB I/O still active.
ETIMEDOUT Timeout occurred.
EINTR Operation aborted/interrupted.
ENODEV Device removed.
EIO I/O error.
September 10, 2007 Chapter 4 • USB Library Reference 87
Komentarze do niniejszej Instrukcji