Replies: 2 comments 1 reply
-
Have a look in src and wifi.py On second thought it looks like it will only guarantee that you start up in the correct state, ie STA versus AP |
Beta Was this translation helpful? Give feedback.
-
@dcski Micropython does not support this. In my wifi code I always execute a disconnect() after setting the STA_IF active and then force the connect in code. I do have a feature branch which adds an |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My understanding is that the ESP8266 will internally save any successful wifi credentials and then automatically reconnected. How can I in my Micropython code delete/reset/remove all of those? Essentially building a "reset to factory settings function - just Micropython and my original code (.py), no user stored settings/data)
I came across this tutorial (https://hutscape.com/tutorials/erase-wifi-credentials) for a non-micropython ESP8266, but I can't figure out how to do it in Micropython - the functions aren't valid.
Am I missing something very obvious or do I misunderstand how this works?
Thank you for any help,
Beta Was this translation helpful? Give feedback.
All reactions