kai-morich
8e694372de
gradle + library update
3.11.0
2026-07-12 14:18:32 +02:00
kai-morich
667eb404a1
retain input control line error until connection closed
2026-07-11 15:25:52 +02:00
kai-morich
04f6f4d928
support CDC input control lines
2026-07-10 22:09:55 +02:00
kai-morich
76d6a3ad57
CDC device test with CH343
2026-07-10 16:47:21 +02:00
kai-morich
fa87b7dc4f
Prolific driver with less hardcoded baud rates
...
Some older devices do not support all values. Use always supported mantissa+exponent based formula instead
2026-06-12 19:32:39 +02:00
kai-morich
92bea4c01a
update version in README
2026-05-23 10:47:14 +02:00
Kai Morich
32c2905e44
example app: compensate target sdk 35 edge-to-edge enforcement
2026-04-13 20:09:10 +02:00
Kai Morich
1fa516372f
fix typos
2026-04-13 20:04:43 +02:00
Kai Morich
a8b9ecc7d3
setReadQueue(...)
...
for applications doing permanent read() with timeout=0, multiple buffers can be used to copy next data from Linux kernel, while the current data is processed.
v3.10.0
3.10.0
2025-12-04 18:45:22 +01:00
Kai Morich
c608aadc59
target sdk 35
2025-04-18 08:37:24 +02:00
Kai Morich
06faad5622
CDC device tests with MCP2221
2025-04-18 08:18:33 +02:00
Kai Morich
52042f8c3e
fix off-by-one error in example app ( #623 )
2025-04-13 07:33:46 +02:00
kai-morich
068fe80c07
Update README.md
2025-03-10 18:30:37 +01:00
Kai Morich
e1018ab31c
gradle update
3.9.0
v3.9.0
2025-03-09 09:32:14 +01:00
Kai Morich
026355f61e
terminate SerialInputOutputManager write thread if read thread terminates (e.g. port closed)
2025-02-15 18:02:15 +01:00
Kai Morich
150174573c
gradle + library update
2025-01-29 08:39:26 +01:00
Dmitry Kaukov
9911e141a7
01. Refactored SerialInputOutputManager ( #615 )
...
Used separate threads for reading and writing, enhancing concurrency and performance.
Note: before was possible to start `SerialInputOutputManager` with `Executors.newSingleThreadExecutor().submit(ioManager)`. Now you have to use `ioManager.start()`
2025-01-28 21:26:09 +01:00
Holden
2673407f1d
UsbSerialPort Documentation Fixes ( #608 )
2024-11-09 10:42:55 +01:00
Holden
8584fe4cb8
Allow Unlimited Read Size for Android 9+ ( #609 )
2024-11-09 09:56:13 +01:00
kai-morich
0b5950c991
catch all Throwables from SerialInputOutputManager.Listener methods ( #601 ) ( #606 )
...
to avoid breaking Interface changes, Error from onNewData() is wrapped into Exception when calling onRunError()
v3.8.1
2024-10-28 21:12:22 +01:00
kai-morich
9f93e192ca
v3.8.1
2024-10-18 10:25:35 +02:00
Kai Morich
f5380975ce
values supported by default setFlowControl() consistent with getSupportedFlowControl()
2024-07-12 09:29:08 +02:00
kai-morich
0a32c3f9e3
v3.8.0
v3.8.0
2024-07-05 22:07:44 +02:00
Kai Morich
88ca3f57c4
flowcontrol for ftdi, pl2303, cp210x
2024-07-05 21:18:37 +02:00
Kai Morich
843792001f
replace catch+throw with finally !ok, to get rid of UnhandledException shown as error
...
method declared as throwing only IOException, but unchecked exceptions can always happen
2024-07-05 18:59:54 +02:00
kai-morich
275590027b
Update README.md
v3.7.3
2024-06-02 15:09:07 +02:00
Kai Morich
b6e1833270
test coverage
2024-06-02 14:52:39 +02:00
Kai Morich
b794092c81
improved error handling for read() with concurrent close() ( #569 )
...
reworked previous solution from change 8b9ad7ef / v3.7.1 because closeInt() was not working any more
2024-06-02 10:16:56 +02:00
Kai Morich
b1362416f0
gradle + library update
2024-06-01 14:46:38 +02:00
Kai Morich
0c0275675f
SerialInputOutputManager.writeAsync(): handle SerialTimeoutException
2024-06-01 14:46:38 +02:00
Kai Morich
cab862599d
write(): throw SerialTimeoutException if connection still valid
2024-06-01 14:46:38 +02:00
Holden
2fbceb6cc7
Fix ControlLine enum spacing ( #577 )
2024-06-01 10:07:38 +02:00
kai-morich
a4ee5c2158
Update README.md
v3.7.2
2024-05-13 22:19:37 +02:00
Kai Morich
9bc3834eff
handle uncaught NPE causing App termination in prolific driver controlline background thread
2024-05-13 22:07:27 +02:00
Kai Morich
28506a9bf9
assert warning cleanup
2024-05-03 08:47:22 +02:00
Kai Morich
8b9ad7efdf
improved error handling for read() with concurrent close() ( #569 )
...
- isOpen() returns false during concurrent close()
- less tracing in SerialInputOutputManager
v3.7.1
2024-04-25 18:24:28 +02:00
Kai Morich
1245293888
harmonize controlTransfer() result comparison
2024-02-18 13:34:08 +01:00
Kai Morich
26a2f9363e
target sdk 34
...
Pending intent and broadcast receiver changed according to sdk 34 release notes.
Permisssion dialog now shown while fragment is paused.
2024-02-18 13:30:50 +01:00
Kai Morich
83646d6955
gradle 8.2
2024-02-18 12:19:46 +01:00
Self Not Found
573c7e41ca
Add read() and write() with length argument ( #544 )
...
To reduce array copy
2023-11-08 21:12:30 +01:00
kai-morich
880c0070cb
3.7.0 in README
v3.7.0
2023-10-15 17:07:10 +02:00
kai-morich
a1709c3911
mention gradle kotlin DSL ( #537 )
2023-10-15 17:06:14 +02:00
kai-morich
9c30dc5ffa
update build workflow versions
2023-10-02 19:12:33 +02:00
kai-morich
b06118b156
consolidate get[Supported]ControlLines
2023-10-02 19:05:55 +02:00
kai-morich
de6d5aa384
replace tab with spaces
2023-10-02 15:52:25 +02:00
kai-morich
11ccb5b949
add missing ChromeCcd setParameters
2023-10-02 08:36:50 +02:00
kai-morich
d585ca8be7
add ChromeCcd to readme
2023-10-02 08:29:22 +02:00
Vladimir Serbinenko
2a2463cd12
Add support for Cr50 (Chromebook CCD) ( #540 )
2023-10-02 08:19:57 +02:00
kai-morich
80a555a189
v3.6.0 in readme
v3.6.0
2023-09-06 07:54:30 +02:00
kai-morich
34e6d989fd
fix codacy badge in README.md
2023-08-25 08:51:25 +02:00