Replies: 1 comment 12 replies
-
|
ESP.restart() is a hardware restart. It completely restarts the board as if you disconnect and reconnect the usb cable. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
For some basic context, I'm using:
I'm having some issues with accessing the server after a software restart via
ESP.restart(). I've been looking for some information on this topic, specifically:AsyncWebServer server(80);being declared at the top of the main file, outside of the loop or setup routines?ESP.restart()inside the loop routine, or is something like this called from a response handler okay?:My coding and debugging skills aren't exactly great, and this "small" web application I'm working on has grown too complicated for me to be able to pinpoint the exact cause, so I wanted to cross out some basic "unknowns" I'm not sure of yet. I've figured that asking here would be the best course of action, since someone else could already have some experience with this topic. A simple "yes", "no" or "it depends" would suffice. If more information would be needed, please let me know as well.
Beta Was this translation helpful? Give feedback.
All reactions