enum libusb_class_code

Overview

Device and/or Interface Class codes. Moreā€¦

#include <libusb.h>

enum libusb_class_code {
    LIBUSB_CLASS_PER_INTERFACE       = 0,
    LIBUSB_CLASS_AUDIO               = 1,
    LIBUSB_CLASS_COMM                = 2,
    LIBUSB_CLASS_HID                 = 3,
    LIBUSB_CLASS_PHYSICAL            = 5,
    LIBUSB_CLASS_PRINTER             = 7,
    LIBUSB_CLASS_PTP                 = 6,
    LIBUSB_CLASS_IMAGE               = 6,
    LIBUSB_CLASS_MASS_STORAGE        = 8,
    LIBUSB_CLASS_HUB                 = 9,
    LIBUSB_CLASS_DATA                = 10,
    LIBUSB_CLASS_SMART_CARD          = 0x0b,
    LIBUSB_CLASS_CONTENT_SECURITY    = 0x0d,
    LIBUSB_CLASS_VIDEO               = 0x0e,
    LIBUSB_CLASS_PERSONAL_HEALTHCARE = 0x0f,
    LIBUSB_CLASS_DIAGNOSTIC_DEVICE   = 0xdc,
    LIBUSB_CLASS_WIRELESS            = 0xe0,
    LIBUSB_CLASS_APPLICATION         = 0xfe,
    LIBUSB_CLASS_VENDOR_SPEC         = 0xff,
};

Detailed Documentation

Device and/or Interface Class codes.

Enum Values

LIBUSB_CLASS_PER_INTERFACE

In the context of a device descriptor, this bDeviceClass value indicates that each interface specifies its own class information and all interfaces operate independently.

LIBUSB_CLASS_AUDIO

Audio class.

LIBUSB_CLASS_COMM

Communications class.

LIBUSB_CLASS_HID

Human Interface Device class.

LIBUSB_CLASS_PHYSICAL

Physical.

LIBUSB_CLASS_PRINTER

Printer class.

LIBUSB_CLASS_PTP

Image class.

LIBUSB_CLASS_MASS_STORAGE

Mass storage class.

LIBUSB_CLASS_HUB

Hub class.

LIBUSB_CLASS_DATA

Data class.

LIBUSB_CLASS_SMART_CARD

Smart Card.

LIBUSB_CLASS_CONTENT_SECURITY

Content Security.

LIBUSB_CLASS_VIDEO

Video.

LIBUSB_CLASS_PERSONAL_HEALTHCARE

Personal Healthcare.

LIBUSB_CLASS_DIAGNOSTIC_DEVICE

Diagnostic Device.

LIBUSB_CLASS_WIRELESS

Wireless class.

LIBUSB_CLASS_APPLICATION

Application class.

LIBUSB_CLASS_VENDOR_SPEC

Class is vendor-specific.