Valerio De Benedetto
Valerio De Benedetto
Hi, the library doesn't really require a TCP connect() function. That `my_connect_tcp()` is in that example just to communicate to the reader "the TCP connection should be up before continuing"...
Closing this, if you have more questions feel free to reopen the issue
Hi, basically it doesn't. It behaves similarly to libmodbus (https://github.com/stephane/libmodbus/commit/a11805cbfda23da36aed84bca3c5edc1413d664c and https://github.com/stephane/libmodbus/issues/18). We addressed this some time ago with another user in this [issue](https://github.com/debevv/nanoMODBUS/issues/26). I thought about implementing it at...
Sorry, can you point me to the exact line? Because I can't find it in the linked file. By the way, if those PLC devices do follow the spec about...
Yeah after reading my previous message again I realized that the `t1,5` in the spec is not mandatory inter-character spacing but instead a timeout, so you really don't need any...
Closing this, if you have more questions feel free to reopen the issue
Hi, unfortunately I really don't have the time to inspect this... I see that your platform is RISC-V, so there may be a minuscule chance that the problem lies inside...
Sure, can you post your read and write functions? In general, from the README: > A value < 0 for byte_timeout_ms means no timeout. > Their return value should be...
Yes, you are supposed to setup any RTU and TCP connection by yourself and to implement the 2 functions to read and write on that connection. Have a look at...
Closing this, if you have more questions feel free to reopen the issue