先解释一个名词,class-specific descriptor,是某一个特定的USB类专有的描述符,class-specific descriptor只会出现在接口层面。那么CDC类的 class-specific descriptor 就是功能描述符(functional descriptor)和类特殊接口描述符(class-specific interface descriptor)
BYTE bLength:0x08//描述符大小BYTE bDescriptorType:0x0B//IAD描述符类型BYTE bFirstInterface:0x00//起始接口BYTE bInterfaceCount:0x02//接口数BYTE bFunctionClass:0x0E//类型代码BYTE bFunctionSubClass:0x03//子类型代码BYTE bFunctionProtocol:0x00//协议代码BYTE iFunction:0x04//描述字符串索引} The b...
USB Interface Association Descriptor (IAD) IAD是Interface Association Descriptor,功能是把多个接口定义为一个类设备。 Windows下,IAD和Composite设备在设备管理器中没有什么区别,甚至使用的驱动也都是Composite驱动 USB interface association descriptorallows the device to group interfaces that belong to a function. ...
USB interface association descriptor (IAD) allows the device to group interfaces that belong to a function. This article describes how a client driver can determine whether the device contains an IAD for a function.The Universal Serial Bus Specification, revision 2.0, doesn't support grouping more...
usb_interface_descriptor 结构体 端点描述符: usb_host_endpoint 结构体 usb_endpoint_descriptor结构体 字符串描述符 举一个例子 usb_device 结构体 关于设备的通用信息,如供应商 ID、产品 ID 和修订 ID,支持的设备类、子类和适用的协议以及默认端点的最大包大小等。 在 Linux 内核中, USB 设备用 usb_device...
IOUSBInterfaceAssociationDescriptor Type Alias The descriptor that associates multiple interfaces to the same function. macOS 10.3+ typedefstructIOUSBInterfaceAssociationDescriptorIOUSBInterfaceAssociationDescriptor; Discussion See USB 3.2, 9.6.4 for more information. ...
typedef struct _USB_INTERFACE_ASSOCIATION_DESCRIPTOR { UCHAR bLength; UCHAR bDescriptorType; UCHAR bFirstInterface; UCHAR bInterfaceCount; UCHAR bFunctionClass; UCHAR bFunctionSubClass; UCHAR bFunctionProtocol; UCHAR iFunction; } USB_INTERFACE_ASSOCIATION_DESCRIPTOR, *PUSB_INTERFACE_ASSOCIATION_DESCRIPTOR...
The type for an interface power descriptor. kIOUSBDescriptorTypeOTG The type for an on-the-go descriptor. kIOUSBDescriptorTypeDebug The type for a debug descriptor. kIOUSBDescriptorTypeInterfaceAssociation The type for an interface association descriptor. ...
Interface Association Descriptor size */ \ 0x0B, /* bDescriptorType: Interface Association */ \ desc.CmdInterface, /* bFirstInterface: First Interface of Association, 第一个接口的序号 */ \ 0x02, /* bInterfaceCount: quantity of interfaces in association, 本IDA的接口数量 *...
本文转自公众号,欢迎关注 基于DWC2的USB驱动开发-IAD描述符详解 (qq.com) 一. 前言 IAD描述符用于一个设备功能关联多个接口,可以用于实现组合设备。 二.参考文档 参考《iadclasscode_r10.pdf》 USB Interface Association Descriptor Device Class Code and use Model Revi