My USB device has both IN and OUT UsbEndpoints, but communicates only on the OUT endpoint. I send a message to it and device responds on the same endpoint.
I need to communicate synchronously, so that means using bulkTransfer(), right? bulkTransfer() determines direction by UsbEndpoint.getDirection() which cannot be changed. How should I use bulkTransfer() to read from the endpoint with OUT direction?