Skip to content

Releases: Fazecast/jSerialComm

jSerialComm v2.2.2

25 Sep 16:21

Choose a tag to compare

  • Add default value to os.full_arch Java property to fix null-pointer exception
  • Ensure that semi-blocking read timeout mode on Windows works as expected

jSerialComm v2.2.1

24 Sep 15:38

Choose a tag to compare

  • Ensure that the absolute file path of library is loaded instead of its string representation
  • Use correct external Javadoc linkage so that Java classes can be auto-linked into the Javadoc
  • Create new SerialPortIOException and SerialPortTimeoutException classes to be used for InputStream/OutputStream error throwing (both inherit from IOException to maintain compatibility with existing code)
  • Fix some Javadoc inconsistencies
  • Remove newer GLIBC features from Linux version of the native libraries to ensure usability even by very old/out-of-date systems
  • Add Java system property "os.arch_full" which can be used to directly specify the Linux library version to load (armv5, armv6, armv6-hf, armv7, armv7-hf, armv8_32, armv8_64, x86, x86_64) instead of letting the system auto-detect it

jSerialComm v2.1.1

02 Aug 16:33

Choose a tag to compare

  • Do not print stack trace if a Thread.sleep() call is interrupted
  • Manually override fortification functions in Linux so that newer GLIBC library versions are not required to use the library

jSerialComm v2.1.0

01 Aug 15:57

Choose a tag to compare

  • Ensure that closePort() calls return regardless of blocking status of the port
  • Read directly into user-defined array instead of making a copy
  • Write directly from user-defined array instead of making a copy
  • Add buffer length error-checking for array reading/writing
  • Re-initialize all timeout struct fields upon re-use for cross-platform portability
  • Parse "getprop" response on Android instead of directly opening properties file which may be blocked by permissions
  • Only raise "Data Written" events if these events were requested by the user

jSerialComm v2.0.3

27 Jul 16:13

Choose a tag to compare

  • Ensures that only Java 6 or higher is required for library usage
  • Added additional checks for hard vs. soft-floating point hardware on ARM devices
  • Implemented the toString() method of the SerialPort class for easier use in component modules

jSerialComm v2.0.2

04 Apr 21:07

Choose a tag to compare

  • Library InputStream and OutputStream implementations now more closely follow the Java InputStream/OutputStream specifications
  • Control line signaling (RTS/CTS, DTR/DSR, Break) implemented on all OS's
  • Updates to custom baud rates
  • Ensure that timeouts do not get reset during other port configuration changes
  • License updated to dual LGPLv3 and Apache v2
  • Aarch32 and Aarch64 now supported
  • Self-reported device descriptions (FTDI chips, etc) now supported in all OS's via new function call getPortDescription()
  • Library is now fully Unicode-compliant
  • Updated library JAR to allow it to be included as a Java 9 Module
  • General bug fixes