1
0
mirror of https://github.com/mik3y/usb-serial-for-android synced 2025-06-07 16:06:10 +00:00

20 Commits

Author SHA1 Message Date
kai-morich
a664082f23 throw UnsupportedOperationException instead of returning false 2020-08-01 10:06:51 +02:00
kai-morich
8eaf3f5c5f tests UsbDeviceConnection close behavior
and extract test utilities
2020-07-18 20:48:27 +02:00
kai-morich
a1e58b9843 implement CP21xx input control lines
open() CP21xx without RTS, DTR set
2020-07-04 15:31:58 +02:00
kai-morich
7423fd9d79 new getControlLines() and getSupportedControLines() methods
getControlLines() requires less USB calls than calling getRTS() + ... + getRI() individually.
getSupportedControlLines() tells you, which control lines are supported by a driver. Previously you had to check the driver implementation.
2020-06-30 18:10:02 +02:00
kai-morich
06d1041738 added CH341A support 2020-06-27 08:46:23 +02:00
kai-morich
735fa3d70f make all SerialPort classes public
and test FtdiSerialPort methods
2020-06-10 19:09:34 +02:00
kai-morich
fd2055791a added proguard rules
now they are part of the .aar library, before you had to add them to each release app
2019-11-13 18:49:27 +01:00
Kai Morich
fac8c9f340 test nonstandard baud rates 2019-10-26 15:40:40 +02:00
Kai Morich
54a3db115f show code coverage 2019-10-20 22:41:55 +02:00
Kai Morich
2bee5b930b build with jitpack 2019-10-06 17:52:17 +02:00
Kai Morich
0d48ed04e7 Always use async read, as bulkTransfer can cause data loss. Increase API version to 17 because async read only works reliably since Android 4.2 (http://b.android.com/28023) 2019-10-05 10:35:15 +02:00
Kai Morich
e527afdf35 compile+target sdk 28, gradle 4.6 2019-10-05 10:35:15 +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
SJ
9d48757285 - Updating Gradle project to > 1.0.0
- Updated .gitignore with Github ignore settings
- Updated build tools and SDK versions to 22
- Migrated .gradle files from pre-1.0.0 to post-1.0.0
2015-06-23 00:24:43 -04:00
mike wakerly
dbdf95525e maven: Update group name and artifact id. 2014-09-08 11:22:17 -07:00
mike wakerly
06582e68ad Add Maven Central uploadArchives target.
Issue #70.
2014-09-08 11:02:45 -07:00
mike wakerly
a9c42b96e1 Update build tools. 2014-06-24 13:45:45 -07:00
mike wakerly
95592f984a Convert to gradle. 2014-06-14 12:55:24 -07:00