Dear Invzblio
Serial redirection is a very good approach because avoid the code change, however it should work as a "telnet server" program. The idea is that remotely a telnet client program should be able to connect to a virtual telnet server in which I will see the equivalent view of Arduino Serial Monitor. If nobody is connected to the server, than the Serial.printf / Serial.println should be ignored, so the program can run quickly.
This avoid the need to be connected as is happening in your case.
Regards
Paolo
Dear Invzblio
Serial redirection is a very good approach because avoid the code change, however it should work as a "telnet server" program. The idea is that remotely a telnet client program should be able to connect to a virtual telnet server in which I will see the equivalent view of Arduino Serial Monitor. If nobody is connected to the server, than the Serial.printf / Serial.println should be ignored, so the program can run quickly.
This avoid the need to be connected as is happening in your case.
Regards
Paolo