Releases: mik3y/usb-serial-for-android
Releases · mik3y/usb-serial-for-android
v3.9.0
features:
read()
with timeout now allows unlimited read size for Android 9+SerialInputOutputManager
now executes read and write in separate threads, sowriteAsync
is executed now immediately and not delayed any more until a read succeeded or timed out.
changes:
- before was possible to start
SerialInputOutputManager
withExecutors.newSingleThreadExecutor().submit(ioManager)
. Now you have to useioManager.start()
as already used in the example.
v3.8.1
v3.8.0
features:
- flowcontrol for ftdi, pl2303, cp210x
v3.7.3
fixes:
- improved error handling for
read()
with concurrentclose()
(#569).
(reworked previous solution from change 8b9ad7e / v3.7.1 because closeInt() was not working any more) write()
throwsSerialTimeoutException
if connection still valid, instead ofIOException
which is typically handled as connection lostSerialInputOutputManager.writeAsync()
handlesSerialTimeoutException
internally
v3.7.2
fixes:
- handle uncaught NPE causing App termination in prolific driver controlline background thread (issue was introduced in v3.7.1)
v3.7.1
v3.7.0
features:
- new Chrome OS CCD (Closed Case Debugging)
ChromeCcdSerialDriver
(#540)
changes:
- consolidate control line method results, if no control lines supported (GsmModemSerialDriver, ChromeCcdSerialDriver):
getSupportedControlLines
returnsEnumSet.noneOf(ControlLine.class)
getControlLines()
throwsUnsupportedOperationException
, similar toget/set<SingleControlLine>()
v3.6.0
fixes:
- return Connection closed IOException from
read
on concurrentclose
instead of NPE
features:
- improved composite CDC devices support:
- skip non ACM control interfaces
- get correct ACM data interface from IAD
- new
GsmModem
device driver, e.g. for Unisoc based Fibocom GSM modems (#521) - moved
util/HexDump.java
from example to library
v3.5.1
fixes:
- support composite CDC devices with non-consecutive interface IDs
v3.5.0
fixes:
- skip RNDIS related data interfaces in composite CDC devices
features:
- probe CDC devices by USB interface types instead of fixed VID+PID
- no more custom prober required for standard CDC devices
- legacy (singleInterface) CDC devices still have to be added by VID+PID
- for autostart VID+PID still have to be added to device_filter.xml