Commit Graph

285 Commits

Author SHA1 Message Date
Will Hedgecock c41f3f640c
Merge pull request #71 from FrozenOne/master
Fix reads that do not use packets getting stuck in infinite loop.
2018-01-03 11:16:33 -06:00
Will Hedgecock 6bd2a9995f
Merge pull request #69 from kevinherron/iostream
Improvements to SerialInputStream and SerialOutputStream
2018-01-03 10:56:40 -06:00
Will Hedgecock 03c2f40ba8
Merge pull request #64 from swilson/master
Fix for issue #61
2018-01-03 10:50:36 -06:00
Will Hedgecock b55107047a
Merge pull request #62 from Awarepoint/break
Add support for set/clear BREAK/RTS/DTR signals in Windows.
2018-01-03 10:49:10 -06:00
frhun 29db419317 added aarch64 recognition for Linux 2017-10-09 20:36:08 +02:00
Federico Claramonte 75cf9a6057 Add armv8_64 .so
Signed-off-by: Federico Claramonte <fede.claramonte@caviumnetworks.com>
2017-09-26 10:45:27 +02:00
FrozenOne 5eb7ee925e Fix reads that do not use packets getting stuck in infinite loop. 2017-06-12 14:23:59 +02:00
Kevin Herron df4a8b7cb8 Block/loop until all bytes are written SerialOutputStream
Ensures that the write methods of SerialOutputStream fulfill their
contract by acknowledging the possibility that not all bytes could be
written in the first call to native writeBytes() and looping until all
bytes have been written.
2017-04-30 06:48:46 -07:00
Kevin Herron 6edf6f9396 Reduce byte[] allocations in SerialInputStream and SerialOutputStream
* use a shared, re-usable buffer for single byte reads and writes
* implement read(byte[]) directly instead of delegating to
read(byte[], int, int), which makes an unnecessary copy.
* implement write(byte[]) directly instead of delegating to
write(byte[], int, int), which makes an unnecessary copy.
* avoid a corner case unnecessary copy in write(byte[], int, int)
2017-04-30 06:47:38 -07:00
Sean Wilson fb9dc81592 New OS X libraries 2017-02-13 21:21:19 -05:00
Sean Wilson e61a54267f Use the IOSSIOSPEED ioctl to set non-standard port speeds on OS X. 2017-02-13 21:20:02 -05:00
Josh Lubawy 6953a70fe8 Add support for set/clear BREAK/RTS/DTR signals in Windows. 2017-01-27 15:32:21 -08:00
hedgecrw85 46790676e6 Allow the safety sleep timer to be user-configurable when opening a port. 2016-12-05 15:24:49 -06:00
hedgecrw85 c943df001f Ensure that port reads do not block indefinitely if a user enters an incorrect timeout value (<100) on Linux or Mac. 2016-12-05 14:51:06 -06:00
hedgecrw85 5d9b261ee4 Documentation. 2016-12-05 14:29:04 -06:00
hedgecrw85 73b0d5918c Added bytesAwaitingWrite() method and allow enumeration of rfcomm Bluetooth ports. 2016-12-05 14:25:23 -06:00
Will Hedgecock d9aba7118e Merge pull request #43 from amitjoy/master
Added OSGi Support
2016-12-05 13:51:08 -06:00
Amit Kumar Mondal 24f424ed98 Added OSGi Support
Signed-off-by: Amit Kumar Mondal <admin@amitinside.com>
2016-05-18 11:17:16 +02:00
hedgecrw85 b30504e5b2 Added "bytes awaiting write" functionality 2016-03-25 11:19:29 -05:00
hedgecrw85 3957c116fb Removed separate function for setting flow control parameters. 2016-03-24 11:58:21 -05:00
hedgecrw85 44882a4cef Fixed bug where calling configuration options after setting timeouts negated the timeout settings. 2016-03-23 17:11:37 -05:00
hedgecrw85 5adf6ea556 Updated to version 1.3.12. 2016-03-23 16:52:53 -05:00
hedgecrw85 6a3cc212db Fix bug where reconfiguring ports after setting timeouts negates the timeout settings. 2016-03-23 16:51:07 -05:00
hedgecrw85 cbc7f952b4 Added ability to resolve symbolic links. 2016-02-18 11:09:27 -06:00
hedgecrw85 f55a1af7e7 Updated to version 1.3.11. 2016-01-04 10:43:42 -06:00
hedgecrw85 ff5617118d Allow users to specify a port in a non-standard directory 2016-01-04 09:27:11 -06:00
hedgecrw85 9ae2f07f2a Fixed some closing while executing a blocking call bugs. 2015-11-20 11:14:45 -06:00
hedgecrw85 51d7e2fb01 Allow for closing of port during blocking call on Windows. 2015-11-20 10:52:50 -06:00
hedgecrw85 7edec93c87 Updated to Version 1.3.10. 2015-11-19 13:36:02 -06:00
hedgecrw85 4939a18b2d Allow Windows serial port to return after several failed attempts at closing. 2015-11-19 13:32:16 -06:00
hedgecrw85 b9170ed848 Merge branch 'master' of https://github.com/Fazecast/jSerialComm 2015-10-28 14:58:19 -05:00
hedgecrw85 bde6b6ce7c Updated to version 1.3.9. 2015-10-28 14:56:16 -05:00
Rueben Banalagay 0ad9735624 Updated to Version 1.3.9 2015-10-28 14:52:01 -05:00
hedgecrw85 8ae6c186e2 Updated to version 1.3.9. 2015-10-28 10:21:07 -05:00
hedgecrw85 2f3861391b Updated to version 1.3.9. 2015-10-28 09:49:08 -05:00
hedgecrw85 15b33245d5 Updated to version 1.3.9. 2015-10-28 09:05:42 -05:00
hedgecrw85 d2e19f658a Updated to version 1.3.9. 2015-10-28 09:01:22 -05:00
hedgecrw85 7821161dcc Forced flush before close, monitors return value of close(), and releases exclusive lock of port before close. 2015-10-09 11:42:15 -05:00
hedgecrw85 ec0acd7ac4 Retry POSIX calls if EINTR value is returned and try a last-ditch brute force enumeration of any ports that aren't properly listed in sysfs on Linux. 2015-08-13 16:45:05 -05:00
hedgecrw85 7e7ac77796 Fixed some Android permission issues and made direct calls to native read/write methods instead of multiple Java-based calls. 2015-08-12 09:50:20 -05:00
rbanalagay 2499fd3245 Fixed Mac bug whereby some drivers could not set baud rates appropriately due to lack of IOSSIOSPEED support 2015-07-02 11:32:59 -05:00
hedgecrw85 45f7d6cccf Fixed #include problems on Mac. 2015-07-02 11:30:47 -05:00
hedgecrw85 f0c717c1a3 Mac OS Makefile updates. 2015-07-02 11:28:28 -05:00
hedgecrw85 422304c2d0 Fixed problem with IOSSIOSPEED not working on some drivers under Mac. 2015-07-02 11:23:16 -05:00
hedgecrw85 6ae1b1e98c Updated Maven installation codes. 2015-06-23 10:38:23 -05:00
hedgecrw85 8a45680e70 Fixed default number of stop bits to 1 in Javadoc. 2015-06-16 11:02:22 -05:00
hedgecrw85 6f5f2c4e8b Added documentation for OS-specific differences. 2015-06-15 12:42:25 -05:00
hedgecrw85 85e219a285 Added an isOpen() function call. 2015-06-14 16:56:00 -05:00
Rueben Banalagay 33df74c31f Allowed opening multiple ports at the same time. 2015-05-20 13:10:43 -05:00
hedgecrw85 af99aee913 Allow user to open multiple ports at the same time. 2015-05-20 13:01:28 -05:00