Can I just check all the steps that you do (and responses you see) to confirm communications are working?
What I do is this:
- Run Rocrail, check in rocrail properties the "controller" tab that the LocoNet controller is there,properties are: Interface ID "loco" set to Lnudp Hostname 184.108.40.206, and port 1235 CTS Flow unchecked GBM16xn unchecked.
Check ESP code in arduinio: changed your defaults for IPAddress ipServer(192,168,0,5); (address of this PC that is running rocrail)
Check ESP via the webserver: it says 192.168.0.22, BA=88 SA =1648 (I have changed them via the webserver and they stay "changed..."
Then, In Rocrail, click programming>loconet> locoio>addresses "query".. and I get "locoIO SV response" in controller window and "timeout on reply... in the server window.
next, try click programming>loconet> locoio>General, set IID="loco" (the name of loconet on this rocrail ) set "low" to 88 "sub" to 1 ; press Get.... and I get "locoIO SV response in Controller and "timeout on reply... in the server window.
still nothing happening on the ESP serial monitor ... ( should there have been anything?)
Repeat with "Low" = 75 (or anything...) and I still get "locoIO SV response", and timeout on reply.
NEXT.. I noticed that the Comms monitor has "add 1; aid1; Station:24:e3:14:92:54:9c join, AID = 1" (this 24:e3 etc does not seem to match anything I can see when I "IPCONFIG / All") see picture...
SO.. I disconnected the broadband cable from router....Turned off windows firewall for private and public networks.
AND extensively repeated the above tests.. including changing Sub to 102 and sub to 88, (is this what the ESP means when it says address 102-88"?)... but I cannot repeatably get the "add1 .. etc message in the comms monitor.
I had been expecting some responses from the Query command, what I need to start is a repeatable sequence that give some confidence that the ESP is connecting.
How do you test yours?
All the best