Hello, I am new to ESP32 and I am working on a project that requires setting up an HTTP server on the ESP32 working as a soft AP (using ESP IDF written in C only) - the main question I am running into is, how to configure the Access Point via the web server?
This project requires the ability to change the SSID and password of the Access Point after accessing the web server/access point with an initial SSID and password.
I have seen many examples of implementing a simple lightweight web server using the ESP as an access point, but I am not experienced in this area to build in the functionality of changing the SSID and PWD over the web page and I am hoping that there may be some existing examples that someone could share that may point me in the right direction and possibly something that I could build from.
Any help is very much appreciated.
Wifi Configuration (SSID & Password) Over HTTP Web server
Re: Wifi Configuration (SSID & Password) Over HTTP Web server
The smart_config example should get you started along that path, as it does what your asking.
https://github.com/espressif/esp-idf/tr ... art_config
https://www.espressif.com/sites/default ... ide_en.pdf
https://github.com/espressif/esp-idf/tr ... art_config
https://www.espressif.com/sites/default ... ide_en.pdf
Re: Wifi Configuration (SSID & Password) Over HTTP Web server
thanks very much for the suggestion... also, I just found this example, which is also good:
https://github.com/tonyp7/esp32-wifi-manager
The only thing missing is the functionality of changing the ESP's access point credentials from the web server.
https://github.com/tonyp7/esp32-wifi-manager
The only thing missing is the functionality of changing the ESP's access point credentials from the web server.
Re: Wifi Configuration (SSID & Password) Over HTTP Web server
If i am not mistaken thats what the smart_config example does.
It starts up as a AP, you connect to it enter in your wifi info, it saves them and reboots connecting to you router.
It starts up as a AP, you connect to it enter in your wifi info, it saves them and reboots connecting to you router.
-
- Posts: 2
- Joined: Tue Aug 10, 2021 1:42 pm
Re: Wifi Configuration (SSID & Password) Over HTTP Web server
Hi james, thanks for this link - https://github.com/tonyp7/esp32-wifi-ma ... fi-manager
but i am having issue in this.
by using example code i am able to set wifi and password through web browser once.
but after first time i am not able to change wifi and password by same process on the same esp32.
its showing me this error - "abort() was called at PC 0x40086d23 on core 0"
and then esp is Rebooting.
but i am having issue in this.
by using example code i am able to set wifi and password through web browser once.
but after first time i am not able to change wifi and password by same process on the same esp32.
its showing me this error - "abort() was called at PC 0x40086d23 on core 0"
and then esp is Rebooting.
-
- Posts: 190
- Joined: Wed Jan 24, 2018 6:51 am
Re: Wifi Configuration (SSID & Password) Over HTTP Web server
Hello @kjames
Additionally, you might also want to evaluate "unified" provisioning framework designed for this, few pointers below:
https://docs.espressif.com/projects/esp ... oning.html
https://github.com/espressif/esp-idf/tr ... ovisioning
Thanks.
Additionally, you might also want to evaluate "unified" provisioning framework designed for this, few pointers below:
https://docs.espressif.com/projects/esp ... oning.html
https://github.com/espressif/esp-idf/tr ... ovisioning
Thanks.
Mahavir
https://github.com/mahavirj/
https://github.com/mahavirj/
Who is online
Users browsing this forum: No registered users and 135 guests