hedgecrw85
68de6c05a7
Ensure the InputStream read() function does not return 0-length data
2018-01-03 12:00:37 -06:00
hedgecrw85
263c3b9b43
Updated version numbers and added comments.
2018-01-03 11:59:15 -06:00
Will Hedgecock
97a2996c5a
Merge pull request #86 from frhun/aarch64-linux
...
add aarch64 recognition for Linux
2018-01-03 11:24:17 -06:00
Will Hedgecock
dd6f2bd81c
Merge pull request #84 from feclare/armv8_64
...
Add armv8_64 .so
2018-01-03 11:23:52 -06:00
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
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
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
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
bde6b6ce7c
Updated to version 1.3.9.
2015-10-28 14:56:16 -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
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
hedgecrw85
5741a2f827
Allow use of pseudo-terminals on Linux.
2015-05-18 21:39:31 -05:00
hedgecrw85
cb3b50196f
Fixed bug whereby Event-Based Reading hangs forever on Windows if there is no input from the serial port.
2015-05-13 10:32:07 -05:00
hedgecrw85
de600d05c8
Forced enumeration of ttyAMA* on RPi-B.
2015-05-12 10:21:04 -05:00
hedgecrw85
83e70bf4b9
Allow Mac to enumerate tty AND cu ports. Simply system port name returned on Linux systems.
2015-05-07 10:49:39 -05:00
hedgecrw85
3bcda2e64e
Removed all dependencies on libstdc++ (pure C now), fixed bug with dropping MSB on Linux when set to 8N1.
2015-05-04 18:48:48 -05:00
hedgecrw85
f49e8803a4
Updated to Version 1.2.2
2015-04-30 18:16:39 -05:00
hedgecrw85
ec08bff500
Added ability to use this library with a user-defined serial port desriptor.
2015-04-28 10:43:01 -05:00
hedgecrw85
2ac7b35390
Updated Android code to allow changing of baud rates.
2015-04-21 13:32:23 -05:00
hedgecrw85
8561097d18
Fixed a problem whereby serial baud rates were not updated correctly on some Linux distros.
2015-04-21 12:18:20 -05:00
hedgecrw85
c41af75283
Updated Android implementation from C++ to C.
2015-04-20 18:01:08 -05:00
hedgecrw85
ecc78366d1
Changed all Linux implementations from C++ to C to remove dependencies on libstdc++.
2015-04-20 17:30:57 -05:00
hedgecrw85
ef1ebd4ee7
Full support for Raspberry Pi.
2015-04-20 12:46:38 -05:00
hedgecrw85
3a2caaf248
Updated friendly port names.
2015-03-17 16:26:00 -05:00
hedgecrw85
e3c078284a
Fixed Mac OS X friendly port names.
2015-03-17 16:19:57 -05:00
hedgecrw85
2960f9425e
Updated to Version 1.0.1.
2015-03-17 12:43:23 -05:00
hedgecrw85
bc7ae187f6
Fixed Mac OS bug of death.
2015-03-17 12:18:08 -05:00
hedgecrw85
e3525ab5b5
Initial commit for Android support.
2015-03-16 17:28:48 -05:00
hedgecrw85
2a8147c54a
Upgraded to version 1.0.0.
2015-03-16 10:42:52 -05:00
hedgecrw85
4175077f5b
Upgraded to version 1.0.0.
2015-03-16 10:28:32 -05:00
hedgecrw85
45c19716c0
Updated to version 1.0.0.
2015-03-16 10:21:33 -05:00
hedgecrw85
7993eeb7a0
Fixed JNI crash when calling native functions after port has already closed.
2015-03-16 10:11:06 -05:00
hedgecrw85
56586964d4
Updating Mac Makefile and installation documentation.
2015-03-13 13:36:53 -05:00
hedgecrw85
51c4cae9d9
Updating all Javadoc documentation.
2015-03-12 18:09:39 -05:00
hedgecrw85
42bfd6e1df
Added Mac OS X binaries.
2015-03-12 11:51:08 -05:00
hedgecrw85
9bbf2ea26e
Added support for Mac OS X.
2015-03-12 11:24:22 -05:00
hedgecrw85
d1f8f34eef
Working commit for both Linux and Windows.
2015-03-10 18:15:28 -05:00
hedgecrw85
24488d2a91
Lots of updates/fixes. Finished updating Windows.
2015-03-09 15:51:09 -05:00
hedgecrw85
93f7d9202f
Created test cases and finished testing Windows functionality.
2015-02-27 15:39:45 -06:00
Will Hedgecock
9550f0e411
Moved project from Google Code hosting.
2015-02-27 01:30:18 -06:00