Question about reset() #6651
Replies: 1 comment
-
Posted at 2015-11-27 by @gfwilliams Hmm - actually that documentation isn't too clear... It should (IMO):
Ideally it should be as close to power-on as possible, but as you say we ought to think that maybe someone will be programming it via a network connection in the future. So yes, I think probably leave WiFi as-is. There is the Posted at 2015-11-27 by @gfwilliams ... I think the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-11-26 by tve
I'm looking at what we really need to do for a reset() call on the esp8266. This is the documentation for reset():
From that I gather that wifi really shouldn't be touched because (looking a little bit ahead) the user is probably connected via wifi to the interpreter. The docs would then say "which allows you to reset the device without it disconnecting from USB or Wifi".
The alternative would be to try and put the wifi into the power-on state (which can have a default connection set) but there is an ESP8266.reboot() which does a hardware reboot for situations where the user really wants the power-up clean slate.
Beta Was this translation helpful? Give feedback.
All reactions