mirror of original libmodbus repo with GfA extensions

Stéphane Raimbault 622d6b55f9 Avoid to define closesocket on POSIX systems in tests il y a 13 ans
debian c0cac3d92c Appoint Ivo De Decker as Debian package maintainer il y a 14 ans
doc 79a7c1ea82 Fix missing argument in synopsis section of modbus_rtu_set_serial_mode il y a 13 ans
src e07924b54e Fix wrong constant names to create version number il y a 13 ans
tests 622d6b55f9 Avoid to define closesocket on POSIX systems in tests il y a 13 ans
.dir-locals.el 66c59d6f85 Change indent level from 8 to 4 il y a 15 ans
.gitignore 610ff3b765 unit-test.h is now generated to avoid config.h dependency il y a 14 ans
AUTHORS c44dcfd5a2 Make the TCP implementation "protocol independent", i.e. IPv6 capable. il y a 14 ans
COPYING a017c19f2a GNU licenses updated to the version 3. il y a 15 ans
COPYING.LESSER 12753875b5 Revert libmodbus licence from LGPLv3 to LGPLv2.1 il y a 14 ans
MIGRATION 7e673738b6 Minor change about version to MIGRATION il y a 14 ans
Makefile.am 6254ede915 Add documentation based on AsciiDoc tools il y a 14 ans
NEWS a66b1c1f6d Updated NEWS file for v3.1.0 il y a 13 ans
README.rst d9d1b507c6 Add basic information about installation il y a 13 ans
acinclude.m4 8513555868 Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28) il y a 14 ans
autogen.sh 2904b5dddd Remove configure call in autogen.sh script il y a 15 ans
configure.ac fed80f40e7 Bump version number to 3.1.0 and library version il y a 13 ans
libmodbus.pc.in 63871ff304 Add modbus directory to include path of pkg-config file il y a 15 ans
libmodbus.spec.in a66b1c1f6d Updated NEWS file for v3.1.0 il y a 13 ans

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