mirror of original libmodbus repo with GfA extensions

Stéphane Raimbault c41dc0fe94 New file which contains the migration notes. %!s(int64=17) %!d(string=hai) anos
debian 0ef574f66a The Debian package become a Ubuntu one (minor change). %!s(int64=15) %!d(string=hai) anos
modbus 202231daa2 Rename manage_query() to modbus_manage_query() and comment cleanups. %!s(int64=15) %!d(string=hai) anos
tests 202231daa2 Rename manage_query() to modbus_manage_query() and comment cleanups. %!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
INSTALL 3d3e0a05f0 Add the boring INSTALL file from autotools %!s(int64=15) %!d(string=hai) anos
MIGRATION c41dc0fe94 New file which contains the migration notes. %!s(int64=15) %!d(string=hai) anos
Makefile.am 55bab3f54c New organisation of the source tree %!s(int64=15) %!d(string=hai) anos
NEWS d2bba0ba29 Add an entry about Debian and RPM packages. %!s(int64=15) %!d(string=hai) anos
README 5d78520833 Add documentation about the test programs. %!s(int64=15) %!d(string=hai) anos
TODO 6683bd4797 Check the number of points requested %!s(int64=15) %!d(string=hai) anos
autogen.sh 2a4c5bec68 Changes in autotools files %!s(int64=15) %!d(string=hai) anos
configure.ac 2a4c5bec68 Changes in autotools files %!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.