Henry Addo
0a4d47f409
Return empty buffer when there's no read
2018-01-04 01:58:53 +01:00
Henry Addo
3fcccaad6f
Fix intermittent crashes with buffer reads
...
It seems there are some cases that the `from` value for
Arrays#copyOfRange is `-1` or less. This causes it to throw
`IllegalArgumentException`. To naively solve this issue,
make sure the `to` argument is `0` or more.
2018-01-03 10:34:45 +01:00
Henry Addo
7787601e90
Merge pull request #127 from aromajoin/master
...
Fix null exception crash in read() API by checking nullability first.
2018-01-03 09:18:12 +01:00
Quang Nguyen
de152a0684
Fix null exception in read() API by checking nullability first.
2017-11-21 17:31:24 +09:00
Jaromor
b32cbb57ff
implemented initial baud rate for CDCSerialDevice
2017-05-08 17:12:51 +02:00
Jaromor
8c6969b6ac
subclasses can now implement support for initial baud rate (see issue #91 )
2017-05-08 17:01:39 +02:00
Felipe Herranz
fee3d86f5c
changed compile line to 4.5.1
2016-11-02 23:13:58 +01:00
Felipe Herranz
3895d03581
added UC-232A Serial Port from ATEN manufacturer
2016-11-02 23:06:16 +01:00
Felipe Herranz
fb3e96a43d
added jar version of usbserial for the sake of retrocompatibility
2016-09-23 19:05:35 +02:00
Felipe Herranz
fc1078d0db
UsbSerial dependency updated
2016-09-18 21:56:08 +02:00
Felipe Herranz
0bdfd9adce
Merge pull request #75 from felHR85/sync_example
...
Synchronous example and bug solved
2016-09-18 21:46:31 +02:00
Felipe Herranz
65bcb0ed66
deleted unused imports
2016-09-18 21:45:18 +02:00
Felipe Herranz
f63a29f0b4
solved a bug in syncRead for FTDI devices
2016-09-18 21:42:19 +02:00
Felipe Herranz
ee68de6f3a
changed synchronous read in synchronous example
2016-09-18 18:38:47 +02:00
Felipe Herranz
5321490a3d
added MainActivity to synchronous example
2016-09-17 19:16:39 +02:00
Felipe Herranz
d15adc3252
added layout for synchronous example
2016-09-17 17:10:02 +02:00
Felipe Herranz
c2c853d6d6
added UsbService to sync example
2016-09-17 16:09:04 +02:00
Felipe Herranz
c20adbeec3
synchronous example added
2016-09-17 13:52:58 +02:00
Felipe Herranz
6da6212692
added some comments in UsbSerial example
2016-09-02 10:54:11 +02:00
Felipe Herranz
c65b6276cc
gitter badge moved
2016-08-30 00:15:49 +02:00
Felipe Herranz
e87992aad8
Merge pull request #69 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2016-08-30 00:14:59 +02:00
The Gitter Badger
4d436c4209
Add Gitter badge
2016-08-29 22:12:01 +00:00
Felipe Herranz
a025fc8332
Added Android Arsenal badge
2016-08-16 22:14:51 +02:00
Felipe Herranz
a8cc320792
updated readme to 4.4
2016-07-23 16:53:43 +02:00
Felipe Herranz
59add313e9
added isSupported method
2016-07-23 13:41:35 +02:00
Felipe Herranz
19f7773dff
added safeguards in stopFlowControlThread methods
2016-07-23 13:21:30 +02:00
Felipe Herranz
16966f1bd8
gradle version updated
2016-07-18 23:59:48 +02:00
Felipe Herranz
d2d05a781c
change run call for start
2016-07-18 23:55:03 +02:00
Felipe Herranz
8bd88ea83b
fix usb hub excluding logic
2016-07-03 16:50:29 +02:00
Felipe Herranz
4a5efb2c39
Merge pull request #53 from josejuansanchez/master
...
This fixes issue #52
2016-06-30 17:45:09 +02:00
José Juan Sánchez
a7fe800bbf
This fixes issue #52
2016-06-19 22:16:23 +02:00
Felipe Herranz
5de9ca422b
Merge pull request #51 from josejuansanchez/master
...
Added scroll vertically automatically in TextView
2016-06-19 11:17:35 +02:00
José Juan Sánchez
bb214e85d7
Added scroll vertically automatically in TextView
2016-06-19 03:12:01 +02:00
Felipe Herranz
796f59fd0c
Updated with jitpack badge
2016-05-01 18:11:27 +02:00
Felipe Herranz
db95d38396
Update UsbSerial version
2016-05-01 16:15:15 +02:00
Felipe Herranz
128dd8d68c
write and read functions perform asynchronously
2016-05-01 13:55:09 +02:00
Felipe Herranz
94f7a93ea7
SPI interface added in README
2016-05-01 11:46:59 +02:00
Felipe Herranz
0b256f0f2c
Merge pull request #46 from felHR85/spi
...
SPI support
2016-05-01 11:03:50 +02:00
Felipe Herranz
eb3671f7d3
CP2130 writeRead method added
2016-04-30 22:28:06 +02:00
Felipe Herranz
a1480886cd
CP2130 ids and closeSPI method added
2016-04-28 23:32:57 +02:00
Felipe Herranz
c437f77816
readMISO method added
2016-04-28 23:14:52 +02:00
Felipe Herranz
101c2ec017
writeMOSI method added
2016-04-28 23:02:03 +02:00
Felipe Herranz
7b9041706d
Added getClockDividerMethod
2016-04-25 23:10:22 +02:00
Felipe Herranz
8bf3a754ca
Added setGpioChipSelect method
2016-04-25 22:17:14 +02:00
Felipe Herranz
ab03620e45
Added CP2130SpiDevice class
2016-04-24 13:36:59 +02:00
Felipe Herranz
277c8dc4a4
UsbSpiDevice class added
2016-04-23 17:14:05 +02:00
Felipe Herranz
7cd6434ad1
Added SPI interface
2016-04-23 13:45:51 +02:00
Felipe Herranz
5c16f67c6d
Merge pull request #44 from felHR85/parity_ftdi_cp2102
...
Parity ftdi cp2102
2016-04-22 23:08:00 +02:00
Felipe Herranz
e96be3761b
Flow control thread started when getParity method is called
2016-04-22 22:58:14 +02:00
Felipe Herranz
d74716eac1
Added parity,frame,overrun and break error callbacks for FTDI
2016-04-17 19:17:45 +02:00