Interface CapabilityDescriptor

A generic representation of a BOS Device Capability descriptor

interface CapabilityDescriptor {
    bDescriptorType: number;
    bDevCapabilityType: number;
    bLength: number;
    dev_capability_data: Buffer;
}

Properties

bDescriptorType: number

Descriptor type.

bDevCapabilityType: number

Device Capability type.

bLength: number

Size of this descriptor (in bytes)

dev_capability_data: Buffer

Device Capability data (bLength - 3 bytes)