luizcantoni / mudbus

Automatically exported from code.google.com/p/mudbus
16 stars 17 forks source link

Fixes #11

Closed vhu474 closed 1 month ago

vhu474 commented 1 year ago

Changed the message length to ALWAYS match the length in the Modbus TCP/IP header, In this line:

MessageLength = 6 + ByteArray[5];

This fixes FC5.

Fixed the connection leaking issue Aswell.

Tested to work on my Weintek screen with CONTROLLINO , which it was NOT working before.

Issue #1 Issue #2 Issue #3 Issue #5