IOUSBDevRequest 中的
UInt8 bmRequestType;
UInt8 bRequest;
UInt16 wValue;
UInt16 wIndex;
UInt16 wLength;
void * pData;
UInt32 wLenDone;
中的wValue和wIndex 是什么意思?应该怎么传?
UInt8 bmRequestType;
UInt8 bRequest;
UInt16 wValue;
UInt16 wIndex;
UInt16 wLength;
void * pData;
UInt32 wLenDone;
中的wValue和wIndex 是什么意思?应该怎么传?
解决方案
20
https://books.google.com.hk/books?id=KjX57QfgwZkC&pg=PA167&lpg=PA167&dq=IOUSBDevRequest+wValue&source=bl&ots=f–61jNHR6&sig=kRS6bV4foIKI7sURs2uGYqcSUCM&hl=en&sa=X&ved=0ahUKEwjc57_0l-bMAhVn0YMKHUiFBbsQ6AEINjAE#v=onepage&q=IOUSBDevRequest%20wValue&f=false