Page 1 of 1

How to switch ESP32 connected network?

Posted: Thu May 18, 2023 1:45 pm
by markevens
Scene with me is my esp32 is connected with first SSID and then I will disconnect it and try to connect it with other networks so it is showing connection process log again connet with first SSID network, not switching to new network why? and how can I do it?

Re: How to switch ESP32 connected network?

Posted: Tue May 23, 2023 12:15 pm
by markevens
Hello anyone? If you don't get I can explain

Re: How to switch ESP32 connected network?

Posted: Tue May 23, 2023 5:57 pm
by MicroController
try to connect it with other networks
How do you do that?

Re: How to switch ESP32 connected network?

Posted: Thu May 25, 2023 5:13 am
by markevens
So flow is my esp32 connected with network.

then I am disconnecting is with esp_wifi_disconnect()

then setting new wifi router configuration using esp_wifi_set_config()

then esp_wifi_connect();

in monitor is showing finding connecting and again connect with last wifi. not connecting with new wifi.