mirror of original libmodbus repo with GfA extensions

Stéphane Raimbault 5def87b313 Fix typo EROOR -> ERROR il y a 16 ans
debian 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. il y a 15 ans
src 5def87b313 Fix typo EROOR -> ERROR il y a 15 ans
tests 14f42c1896 Error handling improvements il y a 15 ans
.bzrignore 29fc0682d1 Updated .bzrignore 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 cdc536c9ad The slave only listen when concerned (slave ID or broadcast) il y a 15 ans
Makefile.am e80dc40503 Rename modbus/ to src/ il y a 15 ans
NEWS cdc536c9ad The slave only listen when concerned (slave ID or broadcast) il y a 15 ans
README f42f082761 Fix typo in README il y a 15 ans
autogen.sh 2a4c5bec68 Changes in autotools files il y a 15 ans
configure.ac f88ca1aba3 Added some checks to configure.ac 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 e80dc40503 Rename modbus/ to src/ il y a 15 ans
wscript e80dc40503 Rename modbus/ to src/ 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.