-
Hello,
I am getting the errors at the below when I compile the cod at visual studio 2008. I searched at the internet and found that a lib file may be missing but i dont know which one is needed for y…
-
The Microsoft C compiler gives two warnings fixed using the following patch.
Regards
Fabio
``` C
--- stephane-libmodbus-2dca042/src/modbus-data.c 2012-05-28 17:00:22.000000000 +0200
+++ p1-libmod…
-
_modbus_tcp_pi_connect() fails under Windows with error 10093 WSANOTINITIALISED.
It should call to _modbus_tcp_init_win32() like _modbus_tcp_connect(). This patch fixes this.
I checked github and I t…
-
If getaddrinfo() fails inside _modbus_tcp_pi_connect() "rc" is returned at line 305.
This is not consistent with _modbus_tcp_connect that always return -1, and with the
documentation of modbus_connect…
-
I would like a function to be able to get the raw data back from a sending request or a response. I have some code that copies msg in send_msg() and receive_msg(), but I'm having some memory leaks, so…
-
A semicolon is missing. Please apply.
Best regards.
oldfaber
--- libmodbus-3.0.2\src\modbus-rtu.c 2012-01-25 05:29:36.000000000 +0100
+++ libmodbus-3.0.2-new\src\modbus-rtu.c 2012-04-17 15:2…
-
In order to compile the tests on QNX 6.4.1 I had to manually add the following to tests/Makefile:
```
LIBS: -lsocket
```
-
The installation instructions in README.rst say the following:
" The shell commands are `./autogen.sh; ./configure; make; make install`. "
But autogen.sh is missing from the hierarchy of tarred file…
-
It would be a nice debug facility to have ability to dump traces to any file instead of stdout and stderr as of today. This could be a setting, active when setting debug active with modbus_set_debug()…
-
Hi!
I've got a problem with RTU communication.
On an RTU link (RS485) I've got one master and two slaves.
The problem is, that when a master starts a "modbus_read_input_registers" communication. The…