mirror of original libmodbus repo with GfA extensions

Stéphane Raimbault 170b042c37 Add .gitignore %!s(int64=15) %!d(string=hai) anos
debian 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. %!s(int64=15) %!d(string=hai) anos
src 0a6ea1ac03 Remove one argument to receive_msg and modbus_slave_receive %!s(int64=15) %!d(string=hai) anos
tests 0a6ea1ac03 Remove one argument to receive_msg and modbus_slave_receive %!s(int64=15) %!d(string=hai) anos
.bzrignore e4b94e7889 Add config.h and config.h.in to .bzrignore %!s(int64=15) %!d(string=hai) anos
.dir-locals.el 02f33709b8 Coding conventions rules for Emacs %!s(int64=15) %!d(string=hai) anos
.gitignore 170b042c37 Add .gitignore %!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
MIGRATION 237df10263 New function modbus_set_slave() %!s(int64=15) %!d(string=hai) anos
Makefile.am e80dc40503 Rename modbus/ to src/ %!s(int64=15) %!d(string=hai) anos
NEWS f20a18605a Fix #457200 - FreeBSD support by Norbert Koch %!s(int64=15) %!d(string=hai) anos
README f42f082761 Fix typo in README %!s(int64=15) %!d(string=hai) anos
autogen.sh f46bde4552 Remove/ignore INSTALL file and add --force to autoreconf %!s(int64=15) %!d(string=hai) anos
configure.ac 47abb90064 Removed malloc check which doesn't pass on ARM linux toolchain %!s(int64=15) %!d(string=hai) anos
libmodbus.spec 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. %!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 e80dc40503 Rename modbus/ to src/ %!s(int64=15) %!d(string=hai) anos
wscript 62d8e2f69f Use config.h in Waf compilation %!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 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.