Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By siedi
#32399 Hi,

using the WiFiTelnetToSerial example from the repo in my own sketch to connect to my ESP8266 and trigger some commands.

What I was wondering, I can connect via telnet type some keys and will retrieve them in the Serial console and vice versa.

What about the Serial.prints from my code? That is not redirected and catched by the Serial.available command. I used the nodemcu before and there i was able to redirect also those debugging messages to my telnet console?

Should this work or what is the reason behind it that it doesn't? If it is not possible I will write some wrapper function for Serial.print.

Thanks
Siedi