enum libusb_transfer_status

Overview

Transfer status codes. Moreā€¦

#include <libusb.h>

enum libusb_transfer_status {
    LIBUSB_TRANSFER_COMPLETED,
    LIBUSB_TRANSFER_ERROR,
    LIBUSB_TRANSFER_TIMED_OUT,
    LIBUSB_TRANSFER_CANCELLED,
    LIBUSB_TRANSFER_STALL,
    LIBUSB_TRANSFER_NO_DEVICE,
    LIBUSB_TRANSFER_OVERFLOW,
};

Detailed Documentation

Transfer status codes.

Enum Values

LIBUSB_TRANSFER_COMPLETED

Transfer completed without error.

Note that this does not indicate that the entire amount of requested data was transferred.

LIBUSB_TRANSFER_ERROR

Transfer failed.

LIBUSB_TRANSFER_TIMED_OUT

Transfer timed out.

LIBUSB_TRANSFER_CANCELLED

Transfer was cancelled.

LIBUSB_TRANSFER_STALL

For bulk/interrupt endpoints: halt condition detected (endpoint stalled).

For control endpoints: control request not supported.

LIBUSB_TRANSFER_NO_DEVICE

Device was disconnected.

LIBUSB_TRANSFER_OVERFLOW

Device sent more data than requested.