-->
Page 1 of 2

Help-Erase WiFi Credentials

PostPosted: Sun Aug 28, 2016 3:36 pm
by charudatt
What is the best way to erase the stored WiFi credentials on the ESP-12e

file.remove('config.lc') does not help.

Re-Flashing the .bin file also does not help.

what ever I do , it just logs on to the Router.

Re: Help-Erase WiFi Credentials

PostPosted: Sun Aug 28, 2016 4:03 pm
by marcelstoer
Code: Select allesptool.py --port <serial-port-of-ESP8266> erase_flash

should help.

-> https://github.com/themadinventor/esptool

Re: Help-Erase WiFi Credentials

PostPosted: Sun Aug 28, 2016 4:25 pm
by charudatt
I use Window OS and use ESPloere and even tried the format command , which I presume erases the Flash.

No , does not work

Re: Help-Erase WiFi Credentials

PostPosted: Wed Aug 31, 2016 11:48 am
by jankop
Very simply.
Like this:
Code: Select all wifi.sta.config("xxxxxxxx","xxxxxxxx"

Beter like this:
Code: Select allwifi.sta.config(string.char(0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff),string.char(0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff))

Clear all flash memory?
Or not?