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?
STA_GOT_IP takes too long on WPA / WPA2.
Re: STA_GOT_IP takes too long on WPA / WPA2.
I've been trying to get help from others to verify an issue I'm seeing. Do you see a time to connect difference between WPA and WPA2 (PSK)? I am seeing multiple (random from 0 to 15 observed) disconnects with 203 reason code when using WPA2 (vs WPA). Which of course just lengthens the time it takes to get connected.
John A
John A
Re: STA_GOT_IP takes too long on WPA / WPA2.
Small question - how to measure ticks and convert them to μs and ms?
Once someone posted code in asm how to read ticks
Once someone posted code in asm how to read ticks
Re: STA_GOT_IP takes too long on WPA / WPA2.
Hey, did you eventually solve the issue? Sometimes my esp32 takes up to 8 seconds for STA_GOT_IP to appear.. :/
regards
regards
Who is online
Users browsing this forum: No registered users and 112 guests