-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Need help with ESP8266WebServer.h #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
So what exactly is the error you are getting? |
it no error but the server can't run and sometime it can run but just one request and I got no response. maybe I'm doing a wrong loop I don't know what the real problem are. cause old code he use loop to create the server, but with ESP8266WebServer.h the loop is on the main program loop so I create the server two times and don't know how to stop the first one. |
Okay, at least please provide the output you are getting in the serial window. |
but I when I connect to my 8266wifi to config at 192.168.1.4 it can't connect. |
I have the same issue with this example code:
|
The wifimode you use is not correct, WIFI_STA is for Station Mode. Change WIFI_STA to WIFI_AP and it works (for me). |
This is my final code
It work now but main problem is when I connect to my SSID I got my IP address but can't close the soft AP this is serial monitor
I can join my and I can join my real ap open web browser and go to How can I close the softAP? |
WiFi.mode(WIFI_STA); |
Is it normal that the wifi credentials which I write to the eeprom are gone after I disconnect the power from the ESP? Respectively it's reading just gibberish. |
Ok seems like it was related to this bug: I've updated my IDE, it stores the information now correctly. |
It doesnot support password entered as special character like @,# etc.. it stores it as %40 ,%23 etc.. and doesnot get connected to wifi. What to do? |
@Santosh1971 you have to handle this with decode function: #454 |
Thanks Luc for your immediate response.. I checked it.. It is too complicated for me to understand. I will try searching if somebody has implemented it. it will be a great help if you update your example with this correction. |
Hello, I'm working on ESP8266WebServer.h
and trying to save config data to EEPROM and load when ESP is restart
The idea by esp-arduino-apboot
on Chriscook8 http://www.esp8266.com/viewtopic.php?f=29&t=2520
I modified to use ESP8266WebServer.h for handle RestAPI easily
But now it have some error I couldn't fix it (Don't know what I'm wrong with ESP8266WebServer.h).
Need some one to help to fix this.
Sorry to post here I can't find
ESP8266WebServer.h
repository.The text was updated successfully, but these errors were encountered: