Felipe Herranz
90396ab436
ftdi adapted for syncRead with offset method
2019-07-07 22:36:22 +02:00
Felipe Herranz
fdfb9f1053
added syncRead with offset except in FTDI
2019-07-07 15:41:19 +02:00
Felipe Herranz
9f32a3b7e9
back to previous ftdi syncRead method
2019-07-03 23:36:44 +02:00
Felipe Herranz
1e672fcb96
Merge pull request #243 from felHR85/ftdi_custom_baudrates
...
Ftdi custom baudrates
2019-05-01 19:47:00 +02:00
xiongyi
33fed5e09c
add a setBreak interface to set the break feature, now tested on FTDI chip.
2019-04-26 10:03:48 +08:00
Felipe Herranz
8a0d9c8850
setBaudRated refactored
2019-04-05 23:40:08 +02:00
Felipe Herranz
4108a6905e
first version with custom baudrates
2019-03-31 22:10:21 +02:00
Felipe Herranz
ac88abca1a
added encoded baudrates in ftdi driver
2019-03-31 21:57:15 +02:00
Felipe Herranz
1d7d0d9625
Deleted unused import
2019-03-09 02:05:12 +01:00
Raul Bache
b5f7699a52
Runka
2019-03-04 14:26:35 +01:00
Raul Bache
b0f2fd2543
Removed "always-null" parameter
2019-02-20 10:04:23 +01:00
Arneball
aeb1227fa2
Reuse same instance of byte array when the destination array is empty
...
Also using System.arrayCopy in loop instead of manual copying
2019-02-19 14:16:44 +01:00
Raul Bache
f4a4bd95d0
Refactored so that all common thread methods are handled in a base class
...
After this commit, common functionality for threads are gathered in a base class.
Less code, removed AtomicBoolean since it can be replaced with a volatile boolean, eliminating an allocation
Some members are made final
2019-01-15 19:53:02 +01:00
Felipe Herranz
3d9861bbc8
Merge branch 'master' into bug_40
2018-12-25 20:14:05 +01:00
Felipe Herranz
5e95168192
added check open port
2018-11-03 19:49:59 +01:00
Felipe Herranz
5ac494fb8d
added InputStreams and OutputStreams inside UsbSerialDevice
2018-10-28 18:45:33 +01:00
Felipe Herranz
f63a29f0b4
solved a bug in syncRead for FTDI devices
2016-09-18 21:42:19 +02:00
Felipe Herranz
d74716eac1
Added parity,frame,overrun and break error callbacks for FTDI
2016-04-17 19:17:45 +02:00
Felipe Herranz
2a00a249b1
requestIN implemented as SafeUsbRequest
2016-04-17 12:51:43 +02:00
Felipe Herranz
6da1eed12e
style adapted
2016-02-28 19:44:54 +01:00
Dmitry
c67ba4b08b
FTDI sync read timeout
2016-02-28 21:05:55 +03:00
Felipe Herranz
c8cda2f6b2
Added safeguards to not synchronously write or read when using asynchronous api and viceversa
2016-02-21 17:52:31 +01:00
Felipe Herranz
d80a89ba3f
FTDI sync operations added
2016-02-21 13:24:16 +01:00
Felipe Herranz
7b7537c9d9
Added abstract methods for synchronous mode
2016-02-21 12:34:30 +01:00
Felipe Herranz
9d2562d8da
DSR and CTS callbacks are executed on the beginning to know the status of the line
2016-02-13 18:24:56 +01:00
Felipe Herranz
2c0ea553b1
CTS and DSR signals will be read the first time a modem info packet is received
2016-02-13 13:04:55 +01:00
Felipe Herranz
bdf60c2bc5
rtsCts and dtrDsr flags put into some places where they are needed
2016-02-12 18:36:32 +01:00
Felipe Herranz
b47e5311a6
RTS and DTR signals can be raised in the FTDI device now
2016-01-31 22:02:10 +01:00
Felipe Herranz
adfcea8bbb
flags enabled when flow control selected
2016-01-31 19:51:19 +01:00
Felipe Herranz
d31789c94d
CTS and DSR callbacks for FTDI devices added
2016-01-31 19:47:28 +01:00
Felipe Herranz
d671a91518
Interfaces for new signals
2016-01-24 16:47:34 +01:00
Felipe Herranz
7ad3d3795f
Added callbacks for CTS and DSR
2016-01-16 12:33:35 +01:00
Felipe Herranz
173b5bb294
setRTS implemented in every driver
2016-01-16 12:00:45 +01:00
Felipe Herranz
96f76e1625
Indentation changed
2016-01-15 19:57:03 +01:00
Felipe Herranz
bbfd863828
Adapting style, cleaning some stuff and implementing setRTS in every device driver
2016-01-15 19:03:37 +01:00
StephaneBg
e988f66673
Update project to gradle build system.
2015-12-10 10:05:54 +01:00