-
Notifications
You must be signed in to change notification settings - Fork 110
How to use j2mod
j2mod is available from Maven Central and can be installed using the following POM xml
<dependency>
<groupId>com.ghgande</groupId>
<artifactId>j2mod</artifactId>
<version>2.0-rc1</version>
</dependency>
The RxTxComm library dependency has been removed and replaced with jSerialComm. This means that there is no longer any separate native installation procedures or hokey command line mucking to be done. The jSerialComm library comes with a lot of native implementations packaged in the jar and will install the correct one for your platform on first usage.
The v2.0 library also has a dependency on log4j.
For the most part, this should be a drop-in replacement for j2mod 1.06 and the same constructs will be evident of jamod with the obvious change in packaging.
However, one casualty is the Serial BIN transport. This is a proprietary protocol that I couldn't find used out in the wild so it is retired.