阅读:1368回复:4
能不能将AN2131QC配置成HID类的USB设备?
如何在描述符中写入HID descriptor和report descriptor?
我以前只写过Device descriptor、configuration descriptor、interface descriptor、endpoint descriptor和user descriptor,并且我不知道AN2131QC的firmware中能不能写上HID descriptor和report descriptor。请赐教,谢谢! [编辑 - 5/15/02 by liuxf66] |
|
|
沙发#
发布于:2002-05-15 13:12
you can send the description substitute 21h (hid class) for the 01h(device class).
|
|
板凳#
发布于:2002-05-15 17:24
根据我对协议的理解,你应该不是写入新的HID descriptor或report descriptor,而是通过修改你的接口描述符中的bInterfaceClass项为0x21,表示这是一个HID设备类。
|
|
|
地板#
发布于:2002-05-15 17:29
liuxf66:请问什么情况下需要使用多个接口描述符,也就是什么情况下设备需要多个接口?
|
|
|
地下室#
发布于:2002-05-16 10:10
是在抱歉,我没有试过将设备配置成多个接口,因此不知道如何回答,我帮你咨询一下。
|
|
|