Interface ConfigDescriptor

A structure representing the standard USB configuration descriptor

interface ConfigDescriptor {
    bConfigurationValue: number;
    bDescriptorType: number;
    bLength: number;
    bmAttributes: number;
    bMaxPower: number;
    bNumInterfaces: number;
    extra: Buffer;
    iConfiguration: number;
    interfaces: InterfaceDescriptor[][];
    wTotalLength: number;
}

Properties

bConfigurationValue: number

Identifier value for this configuration.

bDescriptorType: number

Descriptor type.

bLength: number

Size of this descriptor (in bytes)

bmAttributes: number

Configuration characteristics.

bMaxPower: number

Maximum power consumption of the USB device from this bus in this configuration when the device is fully operation.

bNumInterfaces: number

Number of interfaces supported by this configuration.

extra: Buffer

Extra descriptors.

iConfiguration: number

Index of string descriptor describing this configuration.

interfaces: InterfaceDescriptor[][]

Array of interfaces supported by this configuration.

wTotalLength: number

Total length of data returned for this configuration.