Hi,
I've made a Serial/Wifi bridge with an esp8266.
I works well until I gad the Webserver function.
Now on my serial I've lots of debug information when I connect the webserver or click on button.
I've try to had in my code
Serial.setDebugOutput(false);
I've put the debug level to nothing
I've change the Tools "Debug port" on Serial1 but now the bridge doesn't works.
Do you have any idea how to stop the debug of the webserver ?
This is still not a link to the library but I will guess this is the WiFiServer class you get from the default include or ESP8266WiFi.h as I see that in the example
When you search for what happens it’s always useful to go look into the source code
Some flags are made visible in the IDE tools menu so I would go look there if by any chance the esp8266 tools would expose an ability to set the debug level when you compile your app and searching for that would lead to
Hi J-M-L,
Thanks for all this informations.
I've tested the debug flag but when the debug information are removed all the serial is down and my bridge is off.
I tried to redirect debug to Serial1 while my bridge is on Serial but the debug information are still there.
I tried to find where the debug are printed in the code to find if there is a flag but I don't find them.
Here is the debug information I receive with Debut port= Serial1 and Debug Level "Wifi" or "HTTP Request" the informations are quite the same
I've tried
Debug with Port Serial or Serial1
Serial.setDebugOutput( false) or Serial1.setDebugOutput( false)
With different debug Level
Nothing => still debug frame
NoAssert => No more Serial ouput with Serial1
MDNS=> still debug frame
I can't test all the possibilities it is insane !!!
Do you think it is possible to import the lib in the sketch directory and remove all the debug output?