Stéphane Raimbault 5d78520833 Add documentation about the test programs. 17 年之前
..
Makefile.am 2b83af9e87 New programs to benchmark the transfert rate. 15 年之前
README 5d78520833 Add documentation about the test programs. 15 年之前
bench-bandwidth-master.c 2b83af9e87 New programs to benchmark the transfert rate. 15 年之前
bench-bandwidth-slave.c 2b83af9e87 New programs to benchmark the transfert rate. 15 年之前
test-master-random.c a017c19f2a GNU licenses updated to the version 3. 15 年之前
unit-test-master.c 688ec1f599 Better use \n in printf in unit-test-master.c 15 年之前
unit-test-slave.c a017c19f2a GNU licenses updated to the version 3. 15 年之前
unit-test.h a017c19f2a GNU licenses updated to the version 3. 15 年之前
wscript 2b83af9e87 New programs to benchmark the transfert rate. 15 年之前

README

test-master-random
------------------
This programm sends many different queries to a large range of
addresses and values to test the communication between the master and
the slave.

unit-test-slave
---------------
It's necessary to launch this server before run unit-test-master. By
default, it receives and responses to Modbus query on the localhost
and port 1502.

unit-test-master
----------------
By default, this program sends some queries with the values defined in
unit-test.h and checks the responses. These programs are useful to
test the protocol implementation.

bench-bandwidth-slave
---------------------
It's a program very similar to unit-test-slave and works with
bench-bandwidth-master.

bench-bandwidth-master
----------------------
It returns some very useful informations about the performance of
transfert rate between the slave and the master.