steveohara / j2mod

Enhanced Modbus library implemented in the Java programming language
Apache License 2.0
267 stars 111 forks source link

Xm/rtutransport #21

Closed axuan25 closed 8 years ago

axuan25 commented 8 years ago

Created a proper transport for RTU over TCP. Using J2mod's ModbusTCPTransport with setHeadless() does not result in successful transactions because the CRC is omitted in writeMessage();

Other changes:

-Disable doclint. Java 8 users get an exception when generating javadoc due to Java 8's stricter rules. -Very basic exception handling changes. Actually, I removed most of my changes to avoid adding confusion here, but will make exception handling PRs later.

steveohara commented 8 years ago

Code has been merged into development and available in latest snapshot