mirror of original libmodbus repo with GfA extensions

oldfaber bb123c65b1 Fix the last warning with Visual Studio 2008. пре 13 година
debian c0cac3d92c Appoint Ivo De Decker as Debian package maintainer пре 14 година
doc 79a7c1ea82 Fix missing argument in synopsis section of modbus_rtu_set_serial_mode пре 13 година
src bb123c65b1 Fix the last warning with Visual Studio 2008. пре 13 година
tests 622d6b55f9 Avoid to define closesocket on POSIX systems in tests пре 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 c3993f1552 Add oldfaber to AUTHORS пре 13 година
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 a66b1c1f6d Updated NEWS file for v3.1.0 пре 13 година
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 fed80f40e7 Bump version number to 3.1.0 and library version пре 13 година
libmodbus.pc.in 63871ff304 Add modbus directory to include path of pkg-config file пре 15 година
libmodbus.spec.in a66b1c1f6d Updated NEWS file for v3.1.0 пре 13 година

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