mirror of original libmodbus repo with GfA extensions

Stéphane Raimbault 2a359eb018 Block SIGPIPE signal 15 年之前
debian 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. 15 年之前
src 2a359eb018 Block SIGPIPE signal 15 年之前
tests 0a6ea1ac03 Remove one argument to receive_msg and modbus_slave_receive 15 年之前
.bzrignore e4b94e7889 Add config.h and config.h.in to .bzrignore 15 年之前
.dir-locals.el 02f33709b8 Coding conventions rules for Emacs 15 年之前
.gitignore 170b042c37 Add .gitignore 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 20 年之前
MIGRATION 237df10263 New function modbus_set_slave() 15 年之前
Makefile.am e80dc40503 Rename modbus/ to src/ 15 年之前
NEWS f20a18605a Fix #457200 - FreeBSD support by Norbert Koch 15 年之前
README f42f082761 Fix typo in README 15 年之前
autogen.sh f46bde4552 Remove/ignore INSTALL file and add --force to autoreconf 15 年之前
configure.ac f1fcb6245e Updated configure.ac with silent rules 15 年之前
libmodbus.spec 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. 15 年之前
modbus.pc.in 8f51424ed5 - Update README, INSTALL and NEWS files 15 年之前
waf e80dc40503 Rename modbus/ to src/ 15 年之前
wscript 62d8e2f69f Use config.h in Waf compilation 15 年之前

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.