Stéphane Raimbault 17994074d2 modbus_mapping_new returns 0 on success 16 年之前
..
Makefile.am e80dc40503 Rename modbus/ to src/ 15 年之前
README 5cddeabae2 Add a note about compilation 15 年之前
bandwidth-master.c cdc536c9ad The slave only listen when concerned (slave ID or broadcast) 15 年之前
bandwidth-slave-many-up.c 17994074d2 modbus_mapping_new returns 0 on success 15 年之前
bandwidth-slave-one.c 17994074d2 modbus_mapping_new returns 0 on success 15 年之前
random-test-master.c cdc536c9ad The slave only listen when concerned (slave ID or broadcast) 15 年之前
random-test-slave.c 17994074d2 modbus_mapping_new returns 0 on success 15 年之前
unit-test-master.c 629dc1d729 Minor - White spaces cleanup 15 年之前
unit-test-slave.c 17994074d2 modbus_mapping_new returns 0 on success 15 年之前
unit-test.h cdc536c9ad The slave only listen when concerned (slave ID or broadcast) 15 年之前
wscript e80dc40503 Rename modbus/ to src/ 15 年之前

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.