When my iPhone or PC connects, in the serial monitor I get the following messages:
dhcps: send_offer>>udp_sendto result 0
this happens for somewhere between 30 seconds and over 1 minute. The phone eventually connects to the ESP and I can access its web server.
I was getting crashes on first connection attempt until I set enableAP(true), so its not crashing now at least.
Here is the following code I use to setup my access point:
Code: Select all
WiFi.enableSTA(false); WiFi.enableAP(true); WiFi.mode(WIFI_AP); delay(1000); WiFi.softAPConfig(local_IP, gateway, subnet); WiFi.softAP(SSID, PASSWORD); delay(1000);
Is anyone else experiencing long connection times, or have any idea what the issue may be?