Serial Port I/O
A simple library for interacting with serial peripherals. I looked at rxtx and various forks but decided they were all too complicated and that I could do better so I wrote a simple version of the library.
My library is called simplerxtx and uses the package
names gnu.io.simplerxtx
. It is certainly limited but
provides a great example for writing a JNI library on Linux and
Windows.
Examples
What is the use of writing a library without a nice, and practical, example.
Download
The project is hosted on github, I like git and have spent quite some time convincing my employers to use it.
- GitHub Project: SimpleRXTX.
- Compiled GNU/Linux and Windows 64bit and 32bit binaries.
Detail Behind Project
The project is managed with Maven.
Troubleshooting
References
- Serial Programming Howto
- Information on select() (it is also useful for file handles that are not sockets)