-->
Page 1 of 2

esp8266 permanent server credentials

PostPosted: Tue Mar 14, 2017 5:40 pm
by picstart
Using the arduino IDE a sketch that made the esp8266 (12E) act as a server was flashed.
Next a sketch that made the esp a station was flashed.
Now even in station mode without any code in the sketch to enable a server it remembers being a server.
I tried flashing a blank bin 0x7E0000 ...I tried WiFi.disconnect(true); but the server is persistent.
Is there a sure fire way to make the esp8266 forget its prior life?

Re: esp8266 permanent server credentials

PostPosted: Wed Mar 15, 2017 12:24 am
by Pablo2048
Try to use WiFi.persistent(true); WiFi.disconnect(); - this has been mentioned multiple times somewhere in the forum and works for me for SDK stored credentials.

Re: esp8266 permanent server credentials

PostPosted: Wed Mar 15, 2017 12:32 am
by gbafamily1
Try WiFi.mode(WIFI_STA) in setup(). Also WiFi.printDiag(Serial) may show some useful information.

Re: esp8266 permanent server credentials

PostPosted: Wed Mar 15, 2017 1:19 am
by lynn_libbrecht
I received many useful information from your article. Thank you for sharing.
* google maps street view
* email sign up