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
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
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
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
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
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
Vladimir Serbinenko
2a2463cd12
Add support for Cr50 (Chromebook CCD) ( #540 )
2023-10-02 08:19:57 +02:00
kai-morich
35fdeb1e13
improved exception type also for read with timeout
2023-08-24 19:51:47 +02:00
ExPl0siF
399d3c9c2f
Added error management inside read function to get more appropriate exception ( #529 )
2023-08-24 18:49:29 +02:00
kai-morich
54ff9bfa44
composite CDC devices: get correct ACM data interface from IAD ( #499 )
2023-08-23 07:55:31 +02:00
kai-morich
7aecce7943
util/HexDump with space separated hex strings
2023-07-31 08:23:35 +02:00
kai-morich
d15f4d52bb
move util/HexDump class from example to library
2023-07-31 08:23:35 +02:00
elicec
88b74d716c
add GSM Modem usb device driver
2023-07-31 08:57:34 +08:00
kai-morich
e9a38ca891
skip non ACM subclasses for CDC composite devices
2023-07-24 19:12:18 +02:00
kai-morich
083b9ae7fe
use correct control index for composite CDC devices with non-consecutive interface IDs ( #477 )
2023-03-15 07:47:27 +01:00
kai-morich
fd551970be
no code changes, just use normal line breaks
2023-03-15 07:47:08 +01:00
kai-morich
5db45548ba
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
2023-03-11 19:12:42 +01:00
kai-morich
85f64aff96
skip RNDIS related data interfaces in composite CDC devices ( #469 )
2023-03-11 17:42:13 +01:00
kai-morich
6c648e9f56
have to use MUTABLE to get GRANTED flag at intent extras
2023-03-11 17:42:12 +01:00
kai-morich
7ea76f8899
cdcacm unit test
2023-03-11 17:42:12 +01:00
kai-morich
fbe64fe4be
gradle update, coverage working again
2023-03-11 17:42:12 +01:00
kai-morich
8d3326ed66
remove redundant parameter
2023-03-11 17:42:12 +01:00
kai-morich
ab27c19dc3
sdk 31 fixes: pending intent mutability
2022-07-21 21:59:36 +02:00
kai-morich
1091b4d88b
improve PL2303 device type detection ( #439 )
2022-07-21 12:56:59 +02:00
Peter Lawrence
82aeccbf1c
added VID/PID for Qinheng CH9102F
2022-07-20 17:21:00 -05:00
kai-morich
1d4e0128c0
added VID/PID for Raspberry Pi Pico SDK
2022-07-05 07:29:25 +02:00
kai-morich
f997a8b68a
log prolific device type
2022-05-18 08:27:27 +02:00
kai-morich
cf9bada887
use optimal write buffer size by default + revert gradle update
...
write buffer: SerialTimeoutException from write() has valid ex.bytesTransferred
gradle 7.1.x creates empty coverage results
2022-04-26 21:40:49 +02:00
kai-morich
b853ac773c
test concurrent access on multi-port devices
2022-04-19 22:17:23 +02:00
Doug MacEwen
a2fa5f010a
Specify Support is only for Micropython
2022-02-11 11:32:51 -08:00
Doug MacEwen
49ee2d3c8e
Add support for Raspberry Pi Pico
2022-02-08 16:08:49 -08:00
kai-morich
bdfb7d5f6c
reordered public members
2021-09-26 08:09:39 +02:00
kai-morich
76f9198c02
more configurable debug log, disabled by default ( #389 )
2021-09-26 08:02:20 +02:00
kai-morich
12095f6b94
coverage for PL2303 variants
2021-08-17 22:51:26 +02:00
kai-morich
21cf775281
fix PL2303G product IDs ( #383 )
2021-08-17 17:29:49 +02:00
kai-morich
18e300efa3
add dedicated handling for Ch34x baud rate 921600
2021-07-28 17:49:35 +02:00
kai-morich
7ffbc73919
restore FT2232C support
2021-07-01 07:45:24 +02:00
kai-morich
c82cd284ae
support PL2303GC/GB/GT/GL/GE/GS
...
see https://lore.kernel.org/linux-usb/20190213123000.4656-1-charlesyeh522@gmail.com/
2021-05-13 20:55:15 +02:00
kai-morich
2f23bdfb6d
custom baud rates for PL2303TA/TB
...
see https://lore.kernel.org/r/3aee5708-7961-f464-8c5f-6685d96920d6@IEEE.org
2021-05-11 17:30:09 +02:00
kai-morich
38527730cd
Merge pull request #289 from rusefi/st_cdc
...
ST CDC
2021-05-08 19:22:38 +02:00
kai-morich
5f94a47b63
read w/o timeout now only throws exception on connection lost
...
partly revert f4166f34
, as there might be unkown reasons for empty response
2021-04-20 22:53:53 +02:00
kai-morich
128d1a00b1
new SerialInputOutputManager.start() method
...
Previously recommended start action `Executors.newSingleThreadExecutor().submit(ioManager)` did not shutdown the Executor, which caused a thread leak. It's still possible to use old style start, as SerialInputOutputManager continues to implement Runnable interface.
2021-04-16 21:55:22 +02:00