Re: Storing and reading ssid/pass from eeprom, AP to config
Posted: Fri Jun 26, 2015 10:19 am
1.6.5 + 1.6.4-835-g77d77e8 (and on my own compilation the same issue)
code:
HelloServer example (in AP mode) works well without any timeout
code:
Code: Select all
and log:#include <WiFiClient.h>
#include <EEPROM.h>
#include <ESP8266mDNS.h>
#include <WiFiManager.h>
WiFiManager wifi(0);
void setup() {
Serial.begin(115200);
delay(10);
Serial.println();
Serial.println("INIT");
wifi.autoConnect("AP_FOR_CONF");
Serial.println("DONE");
}
void loop() {
}
Code: Select all
so, between "/" and "scan done" I got on android device webbrowser TIMEOUT (but this happens 2-3sec after starting page viewing):INIT
AutoConnect
Reading EEPROM SSID
SSID:
[00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Reading EEPROM Password
Password:
[00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Waiting for Wifi to connect
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Could not connect to WiFi
Started Soft Access Point
WiFi connected
0.0.0.0
192.168.4.1
mDNS responder started
Server started
New client
Request:
/
scan done
HERE A LIST OF APs (12psc)
Sending config page
Done with client
HelloServer example (in AP mode) works well without any timeout