mirror of original libmodbus repo with GfA extensions

Yishin Li 58cf068657 Autoconf settings for CentOS 4.6 and CentOS 5.3 16 gadi atpakaļ
debian 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. 15 gadi atpakaļ
src 17994074d2 modbus_mapping_new returns 0 on success 15 gadi atpakaļ
tests 17994074d2 modbus_mapping_new returns 0 on success 15 gadi atpakaļ
.bzrignore 29fc0682d1 Updated .bzrignore 15 gadi atpakaļ
AUTHORS 741022cef1 Changed author's email 15 gadi atpakaļ
COPYING a017c19f2a GNU licenses updated to the version 3. 15 gadi atpakaļ
COPYING.LESSER a017c19f2a GNU licenses updated to the version 3. 15 gadi atpakaļ
ChangeLog f7cb1f06ce initial import 20 gadi atpakaļ
INSTALL 3d3e0a05f0 Add the boring INSTALL file from autotools 15 gadi atpakaļ
MIGRATION 17994074d2 modbus_mapping_new returns 0 on success 15 gadi atpakaļ
Makefile.am e80dc40503 Rename modbus/ to src/ 15 gadi atpakaļ
NEWS 6e6e2602a9 Fix #375926 - modbus.c:164: error: `MSG_DONTWAIT' undeclared 15 gadi atpakaļ
README f42f082761 Fix typo in README 15 gadi atpakaļ
autogen.sh 58cf068657 Autoconf settings for CentOS 4.6 and CentOS 5.3 15 gadi atpakaļ
configure.ac 58cf068657 Autoconf settings for CentOS 4.6 and CentOS 5.3 15 gadi atpakaļ
libmodbus.spec 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. 15 gadi atpakaļ
modbus.pc.in 8f51424ed5 - Update README, INSTALL and NEWS files 15 gadi atpakaļ
waf e80dc40503 Rename modbus/ to src/ 15 gadi atpakaļ
wscript e80dc40503 Rename modbus/ to src/ 15 gadi atpakaļ

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.