0
任何人都可以请解释清楚我在USB主机模式下的controlTransfer。这些参数究竟意味着什么。使用controlTransfer将数据传输到USB设备
我想了解requestType,requestID,value和index。
controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout)
Parameters:
requestType request type for this transaction
request request ID for this transaction
value value field for this transaction
index index field for this transaction
感谢
实际上,这些参数取决于USB端点类型,因此请查看您尝试连接的任何USB设备类型的规格。 – user149408 2017-05-21 21:29:13