STA_GOT_IP takes too long on WPA / WPA2.
Posted: Sat Jul 14, 2018 1:27 pm
Connecting to a WPA network takes too much time compared to ESP8266 modules. While it is possible for me to connect to a open network within a 0.3 to 0.5 second, it is 0.5 to 0.8 second to connect to a WEP and between 1.1 to 3.4 seconds to connect to WPA secured network. These results are with static ip and from boot to STA_GOT_IP.
While using 8266 modules I was able to wake up, connect to WiFi with WPA, connect to TCP server on the same LAN, Auth,Send,Get Replies, Interprete and sleep back in just a second, 1.4 seconds at max..
For Both I use Static IPs,
Tried both on arduino32 and IDF and the results are the same.
Are there any tips for me to reach STA_GOT_IP phase faster? Am I missing something?
While using 8266 modules I was able to wake up, connect to WiFi with WPA, connect to TCP server on the same LAN, Auth,Send,Get Replies, Interprete and sleep back in just a second, 1.4 seconds at max..
For Both I use Static IPs,
Tried both on arduino32 and IDF and the results are the same.
Are there any tips for me to reach STA_GOT_IP phase faster? Am I missing something?