Standard

Structures describing standard USB descriptors. Versions that support parsing incomplete binary data are available as DescriptorType.Partial, e.g. DeviceDescriptor.Partial, and are collectively available in the usb_construct.types.descriptors.partial.standard module (which, like the structs in this module, can also be imported without .standard).

class usb_construct.types.descriptors.standard.StandardDescriptorNumbers(value)

Numbers of our standard descriptors.

class usb_construct.types.descriptors.standard.DeviceCapabilityTypes(value)

Numbers for the SuperSpeed standard Device Capabilities.

class usb_construct.types.descriptors.standard.DeviceClassCodes(value)

An enumeration.

class usb_construct.types.descriptors.standard.InterfaceClassCodes(value)

An enumeration.

class usb_construct.types.descriptors.standard.MassStorageSubclassCodes(value)

An enumeration.

class usb_construct.types.descriptors.standard.MassStorageProtocolCodes(value)

An enumeration.

class usb_construct.types.descriptors.standard.MiscellaneousSubclassCodes(value)

An enumeration.

class usb_construct.types.descriptors.standard.MultifunctionProtocolCodes(value)

An enumeration.

class usb_construct.types.descriptors.standard.ApplicationSubclassCodes(value)

An enumeration.

class usb_construct.types.descriptors.standard.DFUProtocolCodes(value)

An enumeration.