ESPAsyncWebServer
ESPAsyncWebServer copied to clipboard
Sometime Modbus RTU timeout error
Hello, The server run also Modbus RTU transactions as client. Sometimes I have an error: the modbus partner doesn't respond in time. Sometimes, there is transaction error: it's like the RS485 bus miss response characteres.
I try to add 1000 ms delay in the web socket message event to create more modbus errors (because websocket message can arrive when the modbus partner send the response. In this cas I have no more errors....
So, Is that a way to stop Modbus error.
Many thanks for your help !!!!