Releases
v2.8.0
Add Java property fazecast.jSerialComm.appid so multiple applications using jSerialComm simultaneously do not interfere
Fix RS485 RTS delay timing bugs
Update documentation to specify how to use a different tmp directory for native library extraction
Add option to disable acquiring exclusive lock of a serial port
Implement remaining RS485 configuration options (rs485EnableTermination and rs485RxDuringTx)
Overhaul build system to entirely use cross-compilers
Add support for Windows on ARM
Add FreeBSD support for x86, x86_64, and ARM64 architectures
Add method to return full OS-defined system path to the port (getSystemPortPath()
)
Various documentation updates and clarifications
Properly clear XON/XOFF flow control settings
Ensure XOFF is disabled at startup time when no XON/XOFF flow control settings desired
Ignore SIGIO POSIX signals
Update built-in MacOS baud rates and function deprecations
Reduce latency timer in Windows-connected FTDI devices
Completely overhaul JNI boundary, port settings and descriptors now stored entirely in C
Add methods to return native library error codes and source file locations (getLastErrorCode()
and getLastErrorLocation()
)
Stop auto-closing serial ports upon every native error (allow user to handle errors themselves)
Add open/close native code test case and Makefile
Mov compiler and build configuration files out of the source code repo
Ensure port handle exists before attempting to close it
Remove "final" keyword from SerialPortEvent class so that it can be mocked
Ensure that writeBytes() actually writes all passed-in bytes before returning
Verify that port is still open when writing through OutputStream
Synchronize open/close code on Java class as well as instance
Add new functionality to set custom XON/XOFF characters (setXonXoffCharacters(byte xonStartCharacter, byte xoffStopCharacter)
)
Fix event-based reading issues in Windows
Move event-based reading code to native C instead of Java on Posix
Add test case for closing a port from a separate thread than its reading thread
Force-switch port to be non-blocking before attempting to close it
Add new functionality to flush RX/TX buffers in the OS and driver-side (flushIOBuffers()
)
Attempt to load backup native library version if primary version fails
Print architecture of the native library trying to be loaded if it fails
Update README to explain how to use non-default system temporary (tmp) directory
Add new functionality to retrieve physical port location (getPortLocation()
) that stays the same across reboots
Add Java shutdown hook to force all open ports to close at end of JVM life
Fix Windows enumeration bug where wrong description will get returned for correct port
Add full range of event listener options (RI, DSR, CTS, BRK, FE, PE)
Add new "Port Disconnected" event listener (LISTENING_EVENT_PORT_DISCONNECTED)
Update documentation to specify OS limitations for getRead/WriteBufferSize() methods
Removed/updated all deprecated Windows-specific function calls
You can’t perform that action at this time.