tIOUSBDescriptorType
Constants describing the types of descriptors available for a USB device.
Declaration
enum tIOUSBDescriptorType : unsigned int;Overview
When you fetch descriptors from a USB device, the data includes a one-byte value that indicates the type of the descriptor. Use these constants to determine the type.
For detailed information about the descriptor types, see Table 9-5 of the USB 2.0 specification and Table 9-6 of the USB 3.0 specification at https://www.usb.org/.
Topics
Getting the Descriptor Type
kIOUSBDescriptorTypeDevicekIOUSBDescriptorTypeConfigurationkIOUSBDescriptorTypeStringkIOUSBDescriptorTypeInterfacekIOUSBDescriptorTypeEndpointkIOUSBDescriptorTypeDeviceQualifierkIOUSBDescriptorTypeOtherSpeedConfigurationkIOUSBDescriptorTypeInterfacePowerkIOUSBDescriptorTypeOTGkIOUSBDescriptorTypeDebugkIOUSBDescriptorTypeInterfaceAssociationkIOUSBDescriptorTypeBOSkIOUSBDescriptorTypeDeviceCapabilitykIOUSBDecriptorTypeHIDkIOUSBDecriptorTypeReportkIOUSBDescriptorTypePhysicalkIOUSBDescriptorTypeHubkIOUSBDescriptorTypeSuperSpeedHubkIOUSBDescriptorTypeSuperSpeedUSBEndpointCompanionkIOUSBDescriptorTypeSuperSpeedPlusIsochronousEndpointCompanion