=============獲取設(shè)備描述符
bRequestType:80
bRequest :06
wValue :0100
wIndex :0000
wLength :0040 期望長度64字節(jié)
usb bus Reset總線復(fù)位我的usb設(shè)備
=============發(fā)出為我的usb設(shè)備設(shè)置地址指令,我的usb地址被設(shè)置為0x04
bRequestType:00
bRequest :05
wValue :0004
wIndex :0000
wLength :0000
=============獲取配置描述符
bRequestType:80
bRequest :06
wValue :0200
wIndex :0000
wLength :0009 期望長度9字節(jié)
=============嘗試讀取配置描述符0xff長度
bRequestType:80
bRequest :06
wValue :0200
wIndex :0000
wLength :00ff
=============嘗試讀取配置描述符0x12長度,不會(huì)超時(shí)
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
=============設(shè)置配置,將配置生效,使能cpu上的endpoint端點(diǎn)
bRequestType:00
bRequest :09
wValue :0001 將配置數(shù)值設(shè)置為1
wIndex :0000
wLength :0000
=============
bRequestType:00
bRequest :09
wValue :0001
wIndex :0000
wLength :0000
=============
bRequestType:81 讀取接口
bRequest :06 讀取接口描述符
wValue :2200 讀取報(bào)告描述符
wIndex :0000
wLength :0072
=============
bRequestType:81
bRequest :06
wValue :2200
wIndex :0000
wLength :0072
============= 讀取配置描述符
bRequestType:80
bRequest :06
wValue :0200
wIndex :0000
wLength :0022