mirror of original libmodbus repo with GfA extensions

Habu cf6449145a Calculate RTS activation time by send length 13 years ago
debian c0cac3d92c Appoint Ivo De Decker as Debian package maintainer 14 years ago
doc 79a7c1ea82 Fix missing argument in synopsis section of modbus_rtu_set_serial_mode 13 years ago
src cf6449145a Calculate RTS activation time by send length 12 years ago
tests 37ed6f90bf Add unit tests for modbus_mapping_new 12 years ago
.dir-locals.el 66c59d6f85 Change indent level from 8 to 4 15 years ago
.gitignore 28247ddbb5 Add stamp-h2 to gitignore 13 years ago
AUTHORS c3993f1552 Add oldfaber to AUTHORS 13 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 d65e5d7483 Updated NEWS file 13 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 16d3cacc7a Don't hardcode libmodbus version number in modbus.dll.manifest 13 years ago
libmodbus.pc.in 63871ff304 Add modbus directory to include path of pkg-config file 15 years ago
libmodbus.spec.in a66b1c1f6d Updated NEWS file for v3.1.0 13 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