Stéphane Raimbault c7a6ffb357 New slave able to manage many connections on uniprocessor architecture 16 tahun lalu
..
Makefile.am c7a6ffb357 New slave able to manage many connections on uniprocessor architecture 15 tahun lalu
README 5cddeabae2 Add a note about compilation 15 tahun lalu
bandwidth-master.c c7a6ffb357 New slave able to manage many connections on uniprocessor architecture 15 tahun lalu
bandwidth-slave-many-up.c c7a6ffb357 New slave able to manage many connections on uniprocessor architecture 15 tahun lalu
bandwidth-slave-one.c c7a6ffb357 New slave able to manage many connections on uniprocessor architecture 15 tahun lalu
random-test-master.c 1a9f88674e Better ouput in random-test-master.c 15 tahun lalu
random-test-slave.c c7a6ffb357 New slave able to manage many connections on uniprocessor architecture 15 tahun lalu
unit-test-master.c f09a7471b0 Enhance the output of the bad response test. 15 tahun lalu
unit-test-slave.c c7a6ffb357 New slave able to manage many connections on uniprocessor architecture 15 tahun lalu
unit-test.h a01bab2b69 Add a unit test for the bad response from the slave. 15 tahun lalu
wscript c7a6ffb357 New slave able to manage many connections on uniprocessor architecture 15 tahun lalu

README

Compilation
-----------

After installation, you can use pkg-config to compile these tests.
For example, to compile random-test-slave run:

gcc random-test-slave.c -o random-test-slave `pkg-config --libs --cflags modbus`

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

random-test-master
------------------
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
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
bench-bandwidth-master
----------------------
It returns some very useful informations about the performance of
transfert rate between the slave and the master.