mirror of original libmodbus repo with GfA extensions

Stéphane Raimbault 83adabfa3e Add -lsocket to compile on QNX 13 years ago
debian c0cac3d92c Appoint Ivo De Decker as Debian package maintainer 14 years ago
doc ca602fccd0 Fix a typo for a function link in documentation 13 years ago
src 83adabfa3e Add -lsocket to compile on QNX 13 years ago
tests 8d8349b860 Display node and service in PI and port in IPv4 at connection 13 years ago
.dir-locals.el 66c59d6f85 Change indent level from 8 to 4 15 years ago
.gitignore 610ff3b765 unit-test.h is now generated to avoid config.h dependency 14 years ago
AUTHORS c44dcfd5a2 Make the TCP implementation "protocol independent", i.e. IPv6 capable. 14 years ago
COPYING a017c19f2a GNU licenses updated to the version 3. 15 years ago
COPYING.LESSER 12753875b5 Revert libmodbus licence from LGPLv3 to LGPLv2.1 14 years ago
MIGRATION 7e673738b6 Minor change about version to MIGRATION 14 years ago
Makefile.am 6254ede915 Add documentation based on AsciiDoc tools 14 years ago
NEWS 9c3f5c7144 Move 'RTS flow control' NEWS entry in 3.1.0 section 14 years ago
README.rst d9d1b507c6 Add basic information about installation 13 years ago
acinclude.m4 8513555868 Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28) 14 years ago
autogen.sh 2904b5dddd Remove configure call in autogen.sh script 15 years ago
configure.ac 83adabfa3e Add -lsocket to compile on QNX 13 years ago
libmodbus.pc.in 63871ff304 Add modbus directory to include path of pkg-config file 15 years ago
libmodbus.spec.in a92ea2ebc9 Add again libtool as build requirement in spec file 14 years ago

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