Modbus client and server command line tools based on libmodbus.
NOTE: Both apps are linked with libmodbus library. After repository is pulled do the following:
$ git clone https://github.com/Krzysztow/modbus-utils
$ cd modbus-utils
$ git submodule update --init
$ mkdir build
$ cd build
$ cmake ..
$ make
cd ./libmodbus ./configure ./make
cd .. gcc ./modbus_client/modbus_client.c -I./common -I./libmodbus/src/ -L./libmodbus/src/.libs/ -lmodbus -o mbClient gcc ./modbus_server/modbus_server.c -I./common -I./libmodbus/src/ -L./libmodbus/src/.libs/ -lmodbus -o mbServer
If modbus libraries are not in a default location (either it's needed to move libraries to app location or set appropriate environment variable):
Run apps with no arguments, descriptive help information will be provided.