libmodbus base on v3.1.10

Stéphane Raimbault 170b042c37 Add .gitignore 15 years ago
debian 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. 15 years ago
src 0a6ea1ac03 Remove one argument to receive_msg and modbus_slave_receive 15 years ago
tests 0a6ea1ac03 Remove one argument to receive_msg and modbus_slave_receive 15 years ago
.bzrignore e4b94e7889 Add config.h and config.h.in to .bzrignore 15 years ago
.dir-locals.el 02f33709b8 Coding conventions rules for Emacs 15 years ago
.gitignore 170b042c37 Add .gitignore 15 years ago
AUTHORS 741022cef1 Changed author's email 15 years ago
COPYING a017c19f2a GNU licenses updated to the version 3. 15 years ago
COPYING.LESSER a017c19f2a GNU licenses updated to the version 3. 15 years ago
ChangeLog f7cb1f06ce initial import 19 years ago
MIGRATION 237df10263 New function modbus_set_slave() 15 years ago
Makefile.am e80dc40503 Rename modbus/ to src/ 15 years ago
NEWS f20a18605a Fix #457200 - FreeBSD support by Norbert Koch 15 years ago
README f42f082761 Fix typo in README 15 years ago
autogen.sh f46bde4552 Remove/ignore INSTALL file and add --force to autoreconf 15 years ago
configure.ac 47abb90064 Removed malloc check which doesn't pass on ARM linux toolchain 15 years ago
libmodbus.spec 99b4e417e5 Updated NEWS and package files for the 2.0.3 release. 15 years ago
modbus.pc.in 8f51424ed5 - Update README, INSTALL and NEWS files 15 years ago
waf e80dc40503 Rename modbus/ to src/ 15 years ago
wscript 62d8e2f69f Use config.h in Waf compilation 15 years ago

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.