ESP32 Smartconfig (IDF) - reconfiguring SSID and Password

Yuvaraj1867
Posts: 19
Joined: Wed Mar 06, 2019 4:39 am
Location: Bangalore

ESP32 Smartconfig (IDF) - reconfiguring SSID and Password

Postby Yuvaraj1867 » Fri Nov 08, 2019 10:50 am

Hi,

I am trying to send wifi credentials from ESP Touch app. It is working fine. I did some changes in source code and i am able to store the wifi credentials in NVS. Whenever power cycle is happening ESP is able to fetch ssid and password from nvs and it is connecting to AP.

But in my case whenever i needs to change my SSID and Password i will give new wifi credentials through ESP Touch. Esp has to disconnect from previous ssid and has to connect with new one. I dont know how to get second time wifi credentials through ESP Touch App.
The problem is if wifi credentials received first time smartconfig task is goes switched off.

Is someone has experience on this? If Yes, kindly help me.

Thanks in Advance.

chegewara
Posts: 872
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 Smartconfig (IDF) - reconfiguring SSID and Password

Postby chegewara » Fri Nov 08, 2019 8:56 pm

Thats the case, to run smartconfig wifi cant be connected to any AP, co when you connect to AP smartconfig is off, but you can start smartconfig on demand which will cause to disconnect from AP, just dont use auto re-connect.

Yuvaraj1867
Posts: 19
Joined: Wed Mar 06, 2019 4:39 am
Location: Bangalore

Re: ESP32 Smartconfig (IDF) - reconfiguring SSID and Password

Postby Yuvaraj1867 » Mon Nov 11, 2019 6:07 am

Hi, Thanks.

I Added a button. When i pressed it has to disconnect from Connected AP and start Smartconfig. It is Working. Now im able to reconfigure.

Who is online

Users browsing this forum: Bing [Bot] and 20 guests