mirror of original libmodbus repo with GfA extensions

Stéphane Raimbault e8ac540771 Reduce the number of params in functions to enhance the speed of %!s(int64=17) %!d(string=hai) anos
modbus e8ac540771 Reduce the number of params in functions to enhance the speed of %!s(int64=15) %!d(string=hai) anos
tests 5d78520833 Add documentation about the test programs. %!s(int64=15) %!d(string=hai) anos
.bzrignore 9b677f54a0 Add .waf-* to ignored files %!s(int64=15) %!d(string=hai) anos
AUTHORS 741022cef1 Changed author's email %!s(int64=15) %!d(string=hai) anos
COPYING a017c19f2a GNU licenses updated to the version 3. %!s(int64=15) %!d(string=hai) anos
COPYING.LESSER a017c19f2a GNU licenses updated to the version 3. %!s(int64=15) %!d(string=hai) anos
ChangeLog f7cb1f06ce initial import %!s(int64=20) %!d(string=hai) anos
Makefile.am 55bab3f54c New organisation of the source tree %!s(int64=15) %!d(string=hai) anos
NEWS cd93c23637 Fix #224496 reported by Todd Denniston. %!s(int64=15) %!d(string=hai) anos
README 5d78520833 Add documentation about the test programs. %!s(int64=15) %!d(string=hai) anos
TODO 5d78520833 Add documentation about the test programs. %!s(int64=15) %!d(string=hai) anos
autogen.sh 7811cc83a1 Partial revert of changeset 76 to avoid to use the INSTALL file. %!s(int64=15) %!d(string=hai) anos
configure.ac 8a96bcb6db Bump version to 2.0.0 in configure.ac and wscript. %!s(int64=15) %!d(string=hai) anos
libmodbus.spec cd93c23637 Fix #224496 reported by Todd Denniston. %!s(int64=15) %!d(string=hai) anos
modbus.pc.in 8f51424ed5 - Update README, INSTALL and NEWS files %!s(int64=15) %!d(string=hai) anos
waf 932d644298 Add binary of Waf 1.4.1 (strip). %!s(int64=15) %!d(string=hai) anos
wscript 8a96bcb6db Bump version to 2.0.0 in configure.ac and wscript. %!s(int64=15) %!d(string=hai) anos

README

==================
A groovy libmodbus
==================

Overview
========

libmodbus is a free software library to send/receive data with a
device which respect the Modbus protocol. This library can use a
serial port or an Ethernet connection.

The functions included in the library have been derived from the
Modicon Modbus Protocol Reference Guide which can be obtained from
Schneider at www.schneiderautomation.com.

The license of libmodbus is LGPL v3.
The licence of programs in the tests directory is GPL v3.

https://launchpad.net/libmodbus
http://copyleft.free.fr/wordpress/index.php/libmodbus/


Installation
============

WARNING, don't use the two build systems at the same time.

With autotools
--------------
The shell commands are './configure; make; make install'.

With Waf
--------
The build system is Waf (http://code.google.com/p/waf), the shell commandes are:
$ ./waf configure
$ ./waf build
$ sudo ./waf install

or 'waf' if you use a global Waf script.

The sources are built in the 'build' directory at the root of the
project source files.


Testing
=======

Some testing programs are provided in the tests directory, you can
freely edit the code source to fit your needs (it's Free Sofware :).

See tests/README for a description of each program.