=============获取设备描述符
bRequestType:80
bRequest :06
wValue :0100
wIndex :0000
wLength :0040 期望长度64字节
usb bus Reset总线复位我的usb设备
=============发出为我的usb设备设置地址指令,我的usb地址被设置为0x04
bRequestType:00
bRequest :05
wValue :0004
wIndex :0000
wLength :0000
=============获取配置描述符
bRequestType:80
bRequest :06
wValue :0200
wIndex :0000
wLength :0009 期望长度9字节
=============尝试读取配置描述符0xff长度
bRequestType:80
bRequest :06
wValue :0200
wIndex :0000
wLength :00ff
=============尝试读取配置描述符0x12长度,不会超时
bRequestType:80
bRequest :06
wValue :0200
wIndex :0000
wLength :0012
=============尝试读取配置描述符0x09长度,正好
bRequestType:80
bRequest :06
wValue :0200
wIndex :0000
wLength :0009
=============读取配置描述符总长度0x22
bRequestType:80
bRequest :06
wValue :0200
wIndex :0000
wLength :0022
=============设置配置,将配置生效,使能cpu上的endpoint端点
bRequestType:00
bRequest :09
wValue :0001 将配置数值设置为1
wIndex :0000
wLength :0000
=============
bRequestType:00
bRequest :09
wValue :0001
wIndex :0000
wLength :0000
=============
bRequestType:81 读取接口
bRequest :06 读取接口描述符
wValue :2200 读取报告描述符
wIndex :0000
wLength :0072
=============
bRequestType:81
bRequest :06
wValue :2200
wIndex :0000
wLength :0072
============= 读取配置描述符
bRequestType:80
bRequest :06
wValue :0200
wIndex :0000
wLength :0022
阅读(1515) | 评论(0) | 转发(0) |