UsbDeviceConnection requestWait() native crash
I'm using the 2 interrupted endpoints (IN and OUT) of the device that I want to communicate from 2 threads: a WriteThread that queues packets through a UsbRequest initialized of the OUT endpoint (this is the communication from my app to the device) and a ReadThread that queues reads from the device through a UsbRequest initialized of the IN endpoint (this is the communication from the device to my app) I'm doing this because UsbDeviceConnection.requestWait() blocks ReadThread thread and I need to be able to write and read at the same time. The problem is that when I try to write and read at