Search found 3 matches
- Sun Jul 16, 2017 4:01 pm
- Forum: ESP32 Arduino
- Topic: Wifi - SimpleWifiServer hangs upon trying to connect to wifi network
- Replies: 3
- Views: 6801
Re: Wifi - SimpleWifiServer hangs upon trying to connect to wifi network
Yes SSID and password are correct. The only other possibility then is that the ESP32 is stuffed?
- Thu Jul 13, 2017 9:07 am
- Forum: ESP32 Arduino
- Topic: Wifi sample SimpleWifiServer hangs
- Replies: 0
- Views: 3581
Wifi sample SimpleWifiServer hangs
The example sketch hangs at the indicated line of code. void setup() { Serial.begin(115200); pinMode(5, OUTPUT); // set the LED pin mode delay(10); // We start by connecting to a WiFi network Serial.println(); Serial.println(); Serial.print("Connecting to "); Serial.println(ssid); [b]WiFi.begin(ssid...
- Thu Jul 13, 2017 8:09 am
- Forum: ESP32 Arduino
- Topic: Wifi - SimpleWifiServer hangs upon trying to connect to wifi network
- Replies: 3
- Views: 6801
Wifi - SimpleWifiServer hangs upon trying to connect to wifi network
I traced the problem to the fololwing line of code in WifiGeneric.cpp 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...