ByteBuffer byteBuffer = ByteBuffer.allocate(9);; UsbRequest request = new UsbRequest(); request.initialize(mConnection,mEndpointIntr); boolean b = request.queue(byte
On my own USB HID device with two endpoints (IN and OUT) connected to MK802, I encountered the same problem (queuing a request returned false). I had claimInterface called with false. Setting the following helped, I receive data alright.
c.claimInterface(device.getInterface(0), true);