Skip to content

Instantly share code, notes, and snippets.

@hightemp
Last active January 10, 2017 14:03
Show Gist options
  • Save hightemp/a362fac14725bd96c22e26893bc68bbc to your computer and use it in GitHub Desktop.
Save hightemp/a362fac14725bd96c22e26893bc68bbc to your computer and use it in GitHub Desktop.
Java libraries to access standard serial ports (Arduino)

RXTX

RXTX is a native lib providing serial and parallel communication for the Java Development Toolkit (JDK). All deliverables are under the gnu LGPL license.

Arduino RXTX

This fork of RXTX patches the upstream sources to introduce the following fixes:

  1. support to linux ttyACM devices
  2. reduced latency (thanks @neophob)
  3. faster ports listing on Windows boxes with some particular hardware (Bluetooth) configurations (thanks eried from the forum)

jSerialComm

jSerialComm is a Java library designed to provide a platform-independent way to access standard serial ports without requiring external libraries, native code, or any other tools. It is meant as an alternative to RxTx and the (deprecated) Java Communications API, with increased ease-of-use, an enhanced support for timeouts, and the ability to open multiple ports simultaneously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment