mirror of
				https://github.com/esp8266/Arduino.git
				synced 2025-11-03 14:33:37 +03:00 
			
		
		
		
	add ESP.eraseESPconfig() to erase the ESP SDK configuration (including wifi)
improve WiFiMulti
This commit is contained in:
		@@ -47,6 +47,10 @@ wl_status_t ESP8266WiFiMulti::run(void) {
 | 
			
		||||
        uint8 bestBSSID[6];
 | 
			
		||||
        int32_t bestChannel;
 | 
			
		||||
 | 
			
		||||
        DEBUG_WIFI_MULTI("[WIFI] delete old wifi config...\n");
 | 
			
		||||
        WiFi.disconnect();
 | 
			
		||||
 | 
			
		||||
        DEBUG_WIFI_MULTI("[WIFI] start scan\n");
 | 
			
		||||
        // WiFi.scanNetworks will return the number of networks found
 | 
			
		||||
        int8_t n = WiFi.scanNetworks();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user