Modified version of FreeMODBUS library