libmodbus icon indicating copy to clipboard operation
libmodbus copied to clipboard

A Modbus library for Linux, Mac OS, FreeBSD and Windows

Results 276 libmodbus issues
Sort by recently updated
recently updated
newest added

Hello, we have had a new NUT driver proposal at https://github.com/networkupstools/nut/pull/1671 which included some combination of libmodbus-ascii sources as needed for that new driver to communicate with an UPS (I...

I miss some statement on thread safety in the documentation. The commit 23313e8 removed the following text: ``` A libmodbus 'context' is thread safe and may be shared among as...

Hello everybody, TL,DR: System: Embedded Linux, Kernel 5.4.0, built on Yocto 3.1 for armhf (iMX6ULL) libmodbus: 3.1.6 built from sources Issue: - _modbus_rtu_set_serial_mode_ fails with _EBADF_ (bad file descriptor) even...

I am using libmodbus 3.1.6 and have the situation, that my modbus RTU slave application answers to requests for address 1, even though it has address 10. Debug output: ```...

I use the libmodbus for a modbus tcp server on the ubuntu. My sever code is like the following. `int main(void) { int s = -1; modbus_t *ctx; modbus_mapping_t *mb_mapping;...

你好,我没有采用生成链接库的方式,采用的是将源码中的 .c文件 和 .h文件 添加到工程目录使用的,并且将生成config.h也添加到工程目录了。将识别不出的文件中的符号改成“”了,可以编译通过,并且测试没问题,但是编译时会警告 implicit declaration of function ‘accept4’,未找到原因,请问这个警告怎样消除 我使用的编译指令: gcc -g -o ./bin/app main.c modbus.c modbus-tcp.c modbus-data.c -I ./ 编译警告信息: modbus-tcp.c: In function ‘modbus_tcp_accept’: modbus-tcp.c:707:14: warning: implicit declaration...

Updated solution to easy build with Visual Studio 2022 CE on Windows, both x86 and x64 solution.

## libmodbus version ``` $ pkg-config --modversion libmodbus Package libmodbus was not found in the pkg-config search path. Perhaps you should add the directory containing `libmodbus.pc' to the PKG_CONFIG_PATH environment...

can support modbus function 20 (0x14) Read File Record and function 21 (0x15) Write File Record ?

When I use modbus tcp master mode, how do I know that the slave has closed the connection?