UsbSerial
UsbSerial copied to clipboard
Usb serial controller for Android
When connecting FT232R (tried cloned analogs and original ones), it receives garbage on read buffer: ``` 2020-06-30 13:32:42.077 30128-30177/? I/UsbSerialDebugger: Raw data from Read buffer: 0x01 0x60 2020-06-30 13:32:42.077 30128-30177/?...
PL2303GC
Will the library work with: usb-device vendor-id="1659" product-id="9123" />
Hi, I upgrade to Artic Fox 2020.3.1 Patch2 (built Aug 26, 2021) the error resolving UsbSerial appears: Failed to resolve: com.github.felHR85:UsbSerial:6.1.0 Project Gradle: buildscript { repositories { google() mavenCentral() maven...
`Fatal Exception: java.lang.NullPointerException Attempt to read from null array com.felhr.usbserial.FTDISerialDevice.getBcdDevice (FTDISerialDevice.java:789) com.felhr.usbserial.FTDISerialDevice.encodedBaudRate (FTDISerialDevice.java:828) com.felhr.usbserial.FTDISerialDevice.setBaudRate (FTDISerialDevice.java:197)` It seems like an NPE check can be added to **descriptors** object to fix the...
If connected device is restarted or disconnected via cable, application not able to send/receive data. to fix this, user need to re-plug-in USB cable to work app properly.
i am seeing a lot of unanswered issues and even some PR's is this library still maintained ? Or should we consider creating a community fork ? regards
It looks like newer FTDI devices use 512 byte packets rather than 64. The FTDI Class currently assumes packets that have repeats of 2 bytes of status and 62 bytes...
Currently UsbSerial supports FT232, PL2303, CP210x, CH34x and CDC serial devices. If you know any Usb to Serial converter which is not supported please, list them here. Felipe