mirror of original libmodbus repo with GfA extensions

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

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.