设置UsbDeviceConnection的波特率

use*_*184 5 usb android baud-rate

我想让Android USB主机模式正常工作; 但是我需要将波特率设置为56000.我只找到了这段代码:

UsbDeviceConnection myConnection;
myConnection.controlTransfer(0x40, 0x03, 0x4138, 0, null, 0, 0);//baudrate 9600
Run Code Online (Sandbox Code Playgroud)

在参考文献中我没有找到任何关于此的内容.

非常感谢!

小智 1

显示的命令包含波特率除数。波特率计算的一个很好的解释是(这里)[ http://www.mev.co.uk/pages/Support/USB-Baud-Spoof.html ]