开源软件名称(OpenSource Name):stephane/libmodbus开源软件地址(OpenSource Url):https://github.com/stephane/libmodbus开源编程语言(OpenSource Language):C 93.5%开源软件介绍(OpenSource Introduction):A groovy modbus libraryOverviewlibmodbus 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 www.modbus.org. The license of libmodbus is LGPL v2.1 or later. The documentation is available as manual pages ( The official website is www.libmodbus.org. The library is written in C and designed to run on Linux, Mac OS X, FreeBSD, Embox, QNX and Windows. You can use the library on MCUs with Embox RTOS. InstallationYou will only need to install automake, autoconf, libtool and a C compiler (gcc or clang) to compile the library and asciidoc and xmlto to generate the documentation (optional). To install, just run the usual dance, You can change installation directory with prefix option, eg. The library provides a libmodbus.pc file to use with If you want to compile with Microsoft Visual Studio, you need to install https://github.com/chemeris/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). The directory ./src/win32/ contains a Visual C project. To compile under OS X with homebrew, you
will need to install the following dependencies first: To build under Embox, you have to use its build system. DocumentationThe documentation is available online or as manual pages after installation. The documentation is based on
AsciiDoc. Only man pages are built
by default with TestingSome tests are provided in tests directory, you can freely edit the source code to fit your needs (it's Free Software :). See tests/README for a description of each program. For a quick test of libmodbus, you can run the following programs in two shells:
By default, all TCP unit tests will be executed (see --help for options). It's also possible to run the unit tests with To report a bug or to contributeSee CONTRIBUTING document. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论