libmodbus base on v3.1.10

Stéphane Raimbault 2a4c5bec68 Changes in autotools files 17 年之前
modbus e8ac540771 Reduce the number of params in functions to enhance the speed of 15 年之前
tests 5d78520833 Add documentation about the test programs. 15 年之前
.bzrignore 9b677f54a0 Add .waf-* to ignored files 15 年之前
AUTHORS 741022cef1 Changed author's email 15 年之前
COPYING a017c19f2a GNU licenses updated to the version 3. 15 年之前
COPYING.LESSER a017c19f2a GNU licenses updated to the version 3. 15 年之前
ChangeLog f7cb1f06ce initial import 19 年之前
INSTALL 3d3e0a05f0 Add the boring INSTALL file from autotools 15 年之前
Makefile.am 55bab3f54c New organisation of the source tree 15 年之前
NEWS cd93c23637 Fix #224496 reported by Todd Denniston. 15 年之前
README 5d78520833 Add documentation about the test programs. 15 年之前
TODO 5d78520833 Add documentation about the test programs. 15 年之前
autogen.sh 2a4c5bec68 Changes in autotools files 15 年之前
configure.ac 2a4c5bec68 Changes in autotools files 15 年之前
libmodbus.spec cd93c23637 Fix #224496 reported by Todd Denniston. 15 年之前
modbus.pc.in 8f51424ed5 - Update README, INSTALL and NEWS files 15 年之前
waf 932d644298 Add binary of Waf 1.4.1 (strip). 15 年之前
wscript 8a96bcb6db Bump version to 2.0.0 in configure.ac and wscript. 15 年之前

README

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

Overview
========

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

See tests/README for a description of each program.