Transferring data USB

I was trying to send data over the wrong baud rate. Here’s the code that works. Posting it for everyone who is using FTDI devices and needs help. private Runnable mLoop = new Runnable() { @Override public void run() { UsbDevice dev = sDevice; if (dev == null) return; UsbManager usbm = (UsbManager) getSystemService(USB_SERVICE); UsbDeviceConnection … Read more