mirror of original libmodbus repo with GfA extensions

Stéphane Raimbault b89bb8826c Sort headers in AC_CHECK_HEADERS 13 年之前
debian c0cac3d92c Appoint Ivo De Decker as Debian package maintainer 14 年之前
doc ca602fccd0 Fix a typo for a function link in documentation 13 年之前
src c9106fdb9c Fix OMG bug in modbus_mapping_free not freeing memory 13 年之前
tests 6f1ed722e6 I was certainly under the influence of drugs or hurry 13 年之前
.dir-locals.el 66c59d6f85 Change indent level from 8 to 4 15 年之前
.gitignore 610ff3b765 unit-test.h is now generated to avoid config.h dependency 14 年之前
AUTHORS c44dcfd5a2 Make the TCP implementation "protocol independent", i.e. IPv6 capable. 14 年之前
COPYING a017c19f2a GNU licenses updated to the version 3. 15 年之前
COPYING.LESSER 12753875b5 Revert libmodbus licence from LGPLv3 to LGPLv2.1 14 年之前
MIGRATION 7e673738b6 Minor change about version to MIGRATION 14 年之前
Makefile.am 6254ede915 Add documentation based on AsciiDoc tools 14 年之前
NEWS 9c3f5c7144 Move 'RTS flow control' NEWS entry in 3.1.0 section 14 年之前
README.rst d9d1b507c6 Add basic information about installation 13 年之前
acinclude.m4 8513555868 Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28) 14 年之前
autogen.sh 2904b5dddd Remove configure call in autogen.sh script 15 年之前
configure.ac b89bb8826c Sort headers in AC_CHECK_HEADERS 13 年之前
libmodbus.pc.in 63871ff304 Add modbus directory to include path of pkg-config file 15 年之前
libmodbus.spec.in a92ea2ebc9 Add again libtool as build requirement in spec file 14 年之前

README.rst

=========================
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 http://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 instal, just run the usual dance, ``./configure && make install`` and run
``./autogen.sh`` first if the ``configure.sh`` is not present.

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).

Testing
-------

Some tests 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.

Report a Bug
------------

To report a bug, you can:
* fill a bug report on the issue tracker
http://github.com/stephane/libmodbus/issues
* or send an email to stephane.raimbault@gmail.com