libmodbus base on v3.1.10

Stéphane Raimbault f7799a4fdd Rename 'socket' variables to 's' to avoid warning on Windows %!s(int64=12) %!d(string=hai) anos
debian 6952802102 Build Debian debug package for libmodbus %!s(int64=12) %!d(string=hai) anos
doc f7799a4fdd Rename 'socket' variables to 's' to avoid warning on Windows %!s(int64=12) %!d(string=hai) anos
m4 c83fd17927 Fix m4 warnings from autotools %!s(int64=12) %!d(string=hai) anos
src f7799a4fdd Rename 'socket' variables to 's' to avoid warning on Windows %!s(int64=12) %!d(string=hai) anos
tests f7799a4fdd Rename 'socket' variables to 's' to avoid warning on Windows %!s(int64=12) %!d(string=hai) anos
.dir-locals.el 66c59d6f85 Change indent level from 8 to 4 %!s(int64=14) %!d(string=hai) anos
.gitignore f47628a051 Ignore autogenerated files for libmodbus-dbg Debian package %!s(int64=12) %!d(string=hai) anos
AUTHORS c3993f1552 Add oldfaber to AUTHORS %!s(int64=12) %!d(string=hai) anos
COPYING a017c19f2a GNU licenses updated to the version 3. %!s(int64=15) %!d(string=hai) anos
COPYING.LESSER 12753875b5 Revert libmodbus licence from LGPLv3 to LGPLv2.1 %!s(int64=13) %!d(string=hai) anos
MIGRATION 7e673738b6 Minor change about version to MIGRATION %!s(int64=14) %!d(string=hai) anos
Makefile.am 134ff0eabe Update references to README.md %!s(int64=12) %!d(string=hai) anos
NEWS e48efd3852 Update NEWS file %!s(int64=12) %!d(string=hai) anos
README.md 912953a4b4 Remove reference to "configure.sh" (?) %!s(int64=12) %!d(string=hai) anos
acinclude.m4 8513555868 Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28) %!s(int64=13) %!d(string=hai) anos
autogen.sh 04cf79da6e Add success message to autogen.sh %!s(int64=12) %!d(string=hai) anos
configure.ac 702d2603b3 Portable use of bswap_32 %!s(int64=12) %!d(string=hai) anos
libmodbus.pc.in 63871ff304 Add modbus directory to include path of pkg-config file %!s(int64=14) %!d(string=hai) anos
libmodbus.spec.in 134ff0eabe Update references to README.md %!s(int64=12) %!d(string=hai) anos

README.md

A groovy modbus library

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 v2.1 or later and the licence of programs in tests directory is GPL v3.

The documentation is available under the Creative Commons Attribution-ShareAlike License 3.0 (Unported) (http://creativecommons.org/licenses/by-sa/3.0/).

The official website is www.libmodbus.org.

The library is written in C and designed to run on Linux, Mac OS X, FreeBSD and QNX and Windows.

Installation

To install, just run the usual dance, ./configure && make install. Run ./autogen.sh first to generate the configure script.

If you want to compile with Microsoft Visual Studio, you need to install http://code.google.com/p/msinttypes/ to fill the absence of stdint.h.

To compile under Windows, install MinGW and MSYS then select the common packages (gcc, automake, libtool, etc).

To compile under OS X with homebrew, you will need to install the following dependencies first: brew install autoconf automake libtool.

Testing

Some tests are provided in tests directory, you can freely edit the source code to fit your needs (it's Free Software :).

See tests/README for a description of each program.

Report a Bug

To report a bug, you can: