Transmission errors through tty/pty #2352
-
Hello, I create the PTY pairs by socat: In the attachments, there are codes I use. registers.json - the registers definition MODBUS.json - the definitions of the read sequence Let me also note that the same codes, just going through TCP, work correctly. Therefore, I guess it has something to do with RTU? Does anyone have similar experience? Can you tell me what I did wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Socat normally works, I test with it regularly. I use socat regularly and before making every release, so it should work. at least on linux based systems, there are known problems on windows. If you want more help then please add a debug log, so we can see what actually happens, it looks as if your version of socat do not flush the buffers. |
Beta Was this translation helpful? Give feedback.
-
Please try with newest dev, #2353 should solve your problem. You forgot to mention that you use the sync client, that threw me off track. Please be aware that the async client can handle a lot more requests/responses pr second. |
Beta Was this translation helpful? Give feedback.
-
Log analysis:
|
Beta Was this translation helpful? Give feedback.
Please try with newest dev, #2353 should solve your problem.
You forgot to mention that you use the sync client, that threw me off track. Please be aware that the async client can handle a lot more requests/responses pr second.