xidobi is a platform independent library for serial communication in Java 1.5+. It's released under the Apache 2.0 License, so it can be used and modified in open source and commercial projects.
Goals
- clean - no featuritis, no surprises, pure and simple API
- proper resource management - don't worry when a virtual port got uninstalled during an operation
- stability in long running scenarios and multi threaded environments
- reliability - no missing javadoc's, easy samples and tutorials to build xidobi yourself
- simple thread model - don't worry about dead locks, race conditions and other synchonisation pitfalls
- and of course fully tested
We want to provide xidobi as a production ready solution for all aspects of serial communication.
Motivation
Some may wonder why we created just an other serial communication library. There are many other open source/free solutions like available. During several projects we tried them all and in the end non of them worked properly for us. Especially when we have to deal with virtual ports, we run into serious trouble like dead locks, resource leaks or vm-crashes. So we were looking into the sources to fix some bugs we encountered. To our surprise quite a lot stuff is done on the native part, outside the safe JVM world. We came to the conclusion that this is the root-cause of our troubles we had. So we decided to kick off xidobi and implement the native part with one-to-one mappings, inspired by Eclipse-SWT.
Status
We have finished and testet our Windows (32bit) implementation on WinXP, Win2000 and Win7. Currently we are working on a RFC2217 / Serial over IP implementation, which is currently testet and working with VSCOM devices, as next we want to test xidobi against Lantronix devices (we currently waiting for a firmware update).