libmodbus
A Modbus library for Linux, Mac OS, FreeBSD and Windows (by stephane)
freemodbus
A Modbus ASCII/RTU and TCP implementation (by RT-Thread-packages)
Our great sponsors
libmodbus | freemodbus | |
---|---|---|
4 | 1 | |
3,187 | 185 | |
- | 3.8% | |
4.2 | 3.4 | |
26 days ago | 4 days ago | |
C | C | |
GNU Lesser General Public License v3.0 only | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libmodbus
Posts with mentions or reviews of libmodbus.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-19.
-
How to lower CPU usage in a very tight loop without sleep?
I'm writing a small program that use libmodbus to communicate with other devices. And it seems that modbus protocol only has the concept of request-reply so only way I can do to get the data is to pull it with modbus_read_registers in a loop. Something like this:
- Libmodbus – A modbus library for Linux, Mac OS, FreeBSD and windows
- Libmodbus - A modbus library for linux, mac os, freebsd and windows
-
which modbus c library do you use?
> thanks, but these are for linux based drivers. Yes, libmodbus is for "big" OS but as described in the article and pointed in its README on github (https://github.com/stephane/libmodbus/) You can run it on MCUs with Embox RTOS.
freemodbus
Posts with mentions or reviews of freemodbus.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-04.
-
which modbus c library do you use?
This is a fork which also has the master functionality: https://github.com/RT-Thread-packages/freemodbus
What are some alternatives?
When comparing libmodbus and freemodbus you can also consider the following projects:
Modbus-STM32-HAL-FreeRTOS - Modbus TCP and RTU, Master and Slave for STM32 using Cube HAL and FreeRTOS
embox - Modular and configurable OS for embedded applications
libplctag - This C library provides a portable and simple API for accessing Allen-Bradley and Modbus PLC data over Ethernet.
android-touch-record-replay - How to record and replay touchscreen events on an Android device.
eModbus - Modbus library for RTU, ASCII and TCP protocols. Primarily developed on and for ESP32 MCUs.
modbus-cpp - Modbus master and slave implementation in C++