Embedded Freaks..

Java Serial Port (RxTx) Trail

This page contains links to posts about RXTX/Java Comm that I’ve made in this blog. It seems like easier for me (and you, the readers) to have one big table of contents with small explanation of what’s inside, rather than walk through the search page/google/wordpress tags to find specific issue.

So, here we go.

  1. Enumerating serial port (using RxTX)
    Detecting the serial ports that is available in the system, including how to force the library to detect special serial port
  2. Using Rxtx without installing it to JAVA_HOME
    The RxTx installation instruction asks us to install the library into the system. This caveat enables you to install it into the local directory, avoiding conflicts and headache when multiple RxTx/Java Comm libraries are deployed in the same system.
  3. How to open serial port (using rxtx)
  4. How to close serial port in rxtx
  5. Managing Serial Port Ownership (in rxtx)
    Manages the port ownership, and its functional test. Special issue for multiple processes that want to access single serial port
  6. Writing to serial port (using Rxtx)
  7. Serial port event in rxtx
    Serial port events in rxtx: its types, usage, and functionality test
  8. Reading from serial port (using rxtx)
    Read serial port data, using DATA_AVAILABLE interrupt/event or continuous polling over special thread
  9. RXTX Loopback Test Program(1)
    Test the rxtx read/write functionality using loopback device and single thread.
  10. RXTX Loopback Test Program(2)
    Test the rxtx read/write functionality using loopback device, multiple threads and serial event
  11. RXTX Serial Port Helper
    My helper class to manage the serial port over the application. It contains the code from the previous posts.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.