I'm working on my second project. This is similar to the first ( Web interface into RS485 device) but the serial timing is much tighter. The bus is running at 38400 baud and there are few gaps. You need to stay in sync with everything so you know when it's your turn to talk. Miss your turn and you get skipped in less than 1ms.
If I use anything larger than a delay(0) in my loop, I drop characters.
I'm seeing a problem on the web side where the erpc requests are failing due to the connection dropping.
Could the delay(0) be the problem? It doesn't seem to be the network as my other device is 2' away and the web logs are clean.