Wifi - SimpleWifiServer hangs upon trying to connect to wifi network
Posted: Thu Jul 13, 2017 8:09 am
I traced the problem to the fololwing line of code in WifiGeneric.cpp
Does anyone know how to fix this?
Code: Select all
static bool _esp_wifi_started = false;
static bool espWiFiStart(){
if(_esp_wifi_started){
return true;
}
if(!wifiLowLevelInit()){
return false;
}
[b] esp_err_t err = esp_wifi_start();[/b]
if (err != ESP_OK) {
log_e("esp_wifi_start %d", err);
wifiLowLevelDeinit();
return false;
}
_esp_wifi_started = true;
return true;
}