enum libusb_descriptor_type

Overview

Descriptor types as defined by the USB specification. Moreā€¦

#include <libusb.h>

enum libusb_descriptor_type {
    LIBUSB_DT_DEVICE                = 0x01,
    LIBUSB_DT_CONFIG                = 0x02,
    LIBUSB_DT_STRING                = 0x03,
    LIBUSB_DT_INTERFACE             = 0x04,
    LIBUSB_DT_ENDPOINT              = 0x05,
    LIBUSB_DT_BOS                   = 0x0f,
    LIBUSB_DT_DEVICE_CAPABILITY     = 0x10,
    LIBUSB_DT_HID                   = 0x21,
    LIBUSB_DT_REPORT                = 0x22,
    LIBUSB_DT_PHYSICAL              = 0x23,
    LIBUSB_DT_HUB                   = 0x29,
    LIBUSB_DT_SUPERSPEED_HUB        = 0x2a,
    LIBUSB_DT_SS_ENDPOINT_COMPANION = 0x30,
};

Detailed Documentation

Descriptor types as defined by the USB specification.

Enum Values

LIBUSB_DT_DEVICE

Device descriptor.

See libusb_device_descriptor.

LIBUSB_DT_CONFIG

Configuration descriptor.

See libusb_config_descriptor.

LIBUSB_DT_STRING

String descriptor.

LIBUSB_DT_INTERFACE

Interface descriptor.

See libusb_interface_descriptor.

LIBUSB_DT_ENDPOINT

Endpoint descriptor.

See libusb_endpoint_descriptor.

LIBUSB_DT_BOS

BOS descriptor.

LIBUSB_DT_DEVICE_CAPABILITY

Device Capability descriptor.

LIBUSB_DT_HID

HID descriptor.

LIBUSB_DT_REPORT

HID report descriptor.

LIBUSB_DT_PHYSICAL

Physical descriptor.

LIBUSB_DT_HUB

Hub descriptor.

LIBUSB_DT_SUPERSPEED_HUB

SuperSpeed Hub descriptor.

LIBUSB_DT_SS_ENDPOINT_COMPANION

SuperSpeed Endpoint Companion descriptor.