

sets wifiStatus to false.Ĭode that I use for connecting and disconnecting WiFi. Purpose : disconnects from the network and switches off the radio. Void ESP32Wifi::wifiConnect(char *SSID, char *PASS, unsigned short tries) Argument(s) : char *SSID, char *PASS, unsigned short tries Purpose : connects to given ssid using password for given number of tries. WifiStatus = WiFi.status() = WL_CONNECTED Purpose : clears all wifi settings before connecting. The 'blinkx' routine just turns the built-in LED on and off the specified numbe rof times.
#AIRPORT EXTREAME CONNECT TO WIFI JOTSPOT CODE#
The code is lifted from the SimpleWiFiServer built-in example. I have only included my setup routine, as that's where the failure occurs (as it hangs in the while loop). If I should post this elsewhere, please advise.
#AIRPORT EXTREAME CONNECT TO WIFI JOTSPOT HOW TO#
I'd be thankful for any pointers as to how to debug this problem. I have tried disconnecting USB cable and battery for awhile (to completely power down). I do not believe power is an issue, as (in addition to USB) I have a fully-charged (4+v) LiPo battery connected. I have repeatedly tried pushing the reset button. I have tried moving very close to my wifi router (to which other devices are successfully connecting). It has worked intermittently in the past, and right now it's not connecting at all. I'm having very unreliable behavior connecting to my home wifi network. IDE name: Arduino IDE w/ Esspressif extensions
