This PR adds the RemoteDebug library, which makes it possible to debug over wifi (for the case where you don't have a serial connection with your SmartEVSE device).
The debugger can be enabled with the DEBUG_DISABLED switch.
When compiled in, you can telnet to your SmartEVSE device via wifi and see all Serialprint messages.
Unfortunately it is not possible to do a #define Serial.print rdebugA , because the C++ preprocessor does not accept a dot; so all Serial.print statements had to be renamed. This PR maintains backwards compatibility with the old serial debug.
This PR adds the RemoteDebug library, which makes it possible to debug over wifi (for the case where you don't have a serial connection with your SmartEVSE device). The debugger can be enabled with the DEBUG_DISABLED switch. When compiled in, you can telnet to your SmartEVSE device via wifi and see all Serialprint messages.
Unfortunately it is not possible to do a #define Serial.print rdebugA , because the C++ preprocessor does not accept a dot; so all Serial.print statements had to be renamed. This PR maintains backwards compatibility with the old serial debug.