Search code examples
arduinoesp8266arduino-esp8266

Disable echo on esp8266 uart


Is there a way to disable echo on ESP8266's uart interface?
I use Arduino to program the chip so I can't use AT commands because I uploaded Arduino framework into the chip. Each time a client tries to connect to the module, it produces some echoes on serial port like this one:

New client: GET url: /favicon.ico search: : Host: 192.168.1.102: Connection: keep-alive: User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36: Accept: image/webp,image/,/*;q=0.8: Referer: http://192.168.1.102/admin.html: Accept-Encoding: gzip, deflate, sdch: Accept-Language: en-US,en;q=0.8,fa;q=0.6: : /favicon.ico


Solution

  • I found the solution: Echoes were generated by ESP8266WebServer.h library. I just removed some DEBUG_OUTPUT.print() & DEBUG_OUTPUT.println() statements in Parsing.cpp file and everything is OK now. Thanks everyone.