mirror of original libmodbus repo with GfA extensions

Stéphane Raimbault c7a6ffb357 New slave able to manage many connections on uniprocessor architecture il y a 16 ans
debian 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. il y a 15 ans
modbus c7a6ffb357 New slave able to manage many connections on uniprocessor architecture il y a 15 ans
tests c7a6ffb357 New slave able to manage many connections on uniprocessor architecture il y a 15 ans
.bzrignore 1570649fce Update the .bzrignore file. il y a 15 ans
AUTHORS 741022cef1 Changed author's email il y a 15 ans
COPYING a017c19f2a GNU licenses updated to the version 3. il y a 15 ans
COPYING.LESSER a017c19f2a GNU licenses updated to the version 3. il y a 15 ans
ChangeLog f7cb1f06ce initial import il y a 20 ans
INSTALL 3d3e0a05f0 Add the boring INSTALL file from autotools il y a 15 ans
MIGRATION c7a6ffb357 New slave able to manage many connections on uniprocessor architecture il y a 15 ans
Makefile.am 4c87251435 Add the spec file to EXTRA_DIST. il y a 15 ans
NEWS 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. il y a 15 ans
README f42f082761 Fix typo in README il y a 15 ans
TODO 6683bd4797 Check the number of points requested il y a 15 ans
autogen.sh 2a4c5bec68 Changes in autotools files il y a 15 ans
configure.ac 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. il y a 15 ans
libmodbus.spec 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. il y a 15 ans
modbus.pc.in 8f51424ed5 - Update README, INSTALL and NEWS files il y a 15 ans
waf 932d644298 Add binary of Waf 1.4.1 (strip). il y a 15 ans
wscript 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. il y a 15 ans

README

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

Overview
========

libmodbus is a free software library to send/receive data with a
device which respects 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 source code to fit your needs (it's Free Sofware :).

See tests/README for a description of each program.