Wykres commitów

66 Commity (master)

Autor SHA1 Wiadomość Data
kai-morich 735fa3d70f make all SerialPort classes public
and test FtdiSerialPort methods
2020-06-10 19:09:34 +02:00
kai-morich cffe54e15c test control lines 2020-03-21 18:01:05 +01:00
kai-morich bbed92eafb support multi-port CDC devices 2020-01-10 08:02:56 +01:00
kai-morich ce97a3408b reuse UsbRequest
less LogCat output
2019-12-13 21:13:48 +01:00
kai-morich e2e9df8463 reimplement read timeout 2019-11-15 21:45:22 +01:00
kai-morich e1b62cf675 write + purge tests, remove unused read buffer code 2019-11-03 19:34:14 +01:00
kai-morich 5c6748e1b8 improve setParameter() error handling
harmonize exception messages, more UI friendly messages
distinguish IllegalArgumentException and UnsupportedOperationException
2019-11-02 13:49:08 +01:00
kai-morich 18b5b6e648 unify open() error handling, more tests, minor cleanup 2019-11-02 13:09:15 +01:00
kai-morich 9ea936b14a improve close handling
Use releaseInterface to interrupt read() and terminate SerialInputOutputManager. Previously some drivers used usbRequest.cancel() but this does not interrupt read() on older Android.

Added connection check to read(). Before Android 8.0 request.initialize() did not check usbConnection, which can lead to native crash if NULL
2019-10-27 21:32:38 +01:00
Kai Morich b3631dff58 README with SerialInputOutputManager for read() and port for write()
test the usually not used read/write variants
2019-10-26 21:32:28 +02:00
Kai Morich fac8c9f340 test nonstandard baud rates 2019-10-26 15:40:40 +02:00
Kai Morich f7399c2aad more coverage tests
purgeHwBuffers: adjust parameter names to match read/write methods and actual behavior
2019-10-25 22:23:00 +02:00
Kai Morich 54a3db115f show code coverage 2019-10-20 22:41:55 +02:00
Kai Morich 61b272b8b6 support ft_232h, cp210_ multiport devices
harmonize claimInterface() error handling
cancel read() on close()
2019-10-05 10:27:11 +02:00
Kai Morich 0ea5b282b7 implement async read for all devices 2019-10-05 10:27:11 +02:00
Kai Morich adb22f718e build tools update; instrumented device test 2019-10-05 10:27:11 +02:00