libmodbus
A Modbus library for Linux, Mac OS, FreeBSD and Windows (by stephane)
modbus-cpp
Modbus master and slave implementation in C++ (by rayandrew)
Our great sponsors
libmodbus | modbus-cpp | |
---|---|---|
4 | 1 | |
3,187 | 18 | |
- | - | |
4.2 | 10.0 | |
26 days ago | over 3 years ago | |
C | C++ | |
GNU Lesser General Public License v3.0 only | MIT License |
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.
modbus-cpp
Posts with mentions or reviews of modbus-cpp.
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 would probably use boost::asio for that and maybe look into something this although that was just a library I found by doing a quick search online.
What are some alternatives?
When comparing libmodbus and modbus-cpp 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
eModbus - Modbus library for RTU, ASCII and TCP protocols. Primarily developed on and for ESP32 MCUs.
freemodbus - A Modbus ASCII/RTU and TCP implementation
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.