if ((wset.b.st_config) || (wset.b.st_ipinfo)) {
wifi_station_set_auto_connect(0);
wifi_station_dhcpc_stop();
wifi_station_disconnect();
if ((wset.b.st_config)
&& (!wifi_station_set_config(&wcfg->st.config))) werr.b.st_config = 1;
if ((wset.b.st_ipinfo)
&& (!wifi_set_ip_info(STATION_IF, &wcfg->st.ipinfo))) werr.b.st_ipinfo = 1;
wset.b.st_dhcp = 1;
wset.b.st_autocon = 1;
wifi_station_connect();
wifi_station_set_auto_connect(1);
};
Lets get the party started and +1
[url=https://www.banggood.com/custlink/KvGGhGF4wG[/url]
I like ESP8266 and ESP8285 and ESP32