ByteBuffer byteBuffer = ByteBuffer.allocate(9);;
UsbRequest request = new UsbRequest();
request.initialize(mConnection,mEndpointIntr);
boolean b = request.queue(byteBuffer, 9);
Log.d(TAG, "start the request wait");
UsbRequest ur = mConnection.requestWait();
我想使用 Android USB 中断。上面的代码是从我自己的 USB 板接收数据的线程。但是当我尝试调用UsbRequest ur = mConnection.requestWait();
该函数不返回时,它总是会遇到requestWait()
. 为什么会这样?