I have an annoying but somewhat cosmetic problem with WiFi on EPS32WROOM using IDF. On startup, the WiFi usually fails to connect first time. It always succeeds on a second attempt and then works reliably.
It just makes for a slow startup while developing and testing.
Logs below, if there is anything I could try to improve this.
Thanks
- I (671) WINMain: [APP] Startup..
- I (671) WINMain: [APP] Free memory: 277536 bytes
- I (671) WINMain: [APP] IDF version: v5.2.2-dirty
- W (681) otaAdvanced: Running Application Partition: OTA 0 Name: win Ver: 0.0.5 Date: Aug 1 2024 Time: 17:45:09
- I (741) wifi:wifi driver task: 3ffc0804, prio:23, stack:6656, core=0
- I (761) wifi:wifi firmware version: 3e0076f
- I (761) wifi:wifi certification version: v7.0
- I (761) wifi:config NVS flash: enabled
- I (761) wifi:config nano formating: disabled
- I (761) wifi:Init data frame dynamic rx buffer num: 32
- I (771) wifi:Init static rx mgmt buffer num: 5
- I (771) wifi:Init management short buffer num: 32
- I (771) wifi:Init dynamic tx buffer num: 32
- I (781) wifi:Init static rx buffer size: 1600
- I (781) wifi:Init static rx buffer num: 10
- I (791) wifi:Init dynamic rx buffer num: 32
- I (791) wifi_init: rx ba win: 6
- I (791) wifi_init: tcpip mbox: 32
- I (801) wifi_init: udp mbox: 6
- I (801) wifi_init: tcp mbox: 6
- I (801) wifi_init: tcp tx win: 5760
- I (811) wifi_init: tcp rx win: 5760
- I (811) wifi_init: tcp mss: 1440
- I (821) wifi_init: WiFi IRAM OP enabled
- I (821) wifi_init: WiFi RX IRAM OP enabled
- I (831) wifi_prov_mgr: CC
- I (831) wifi_prov_mgr: DD
- I (831) WifiApp: Already provisioned, starting Wi-Fi STA
- I (841) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
- I (921) wifi:mode : sta (94:b9:7e:d8:f8:d4)
- I (931) wifi:enable tsf
- I (931) WifiApp: Waiting for Wi-Fi connection
- I (3341) wifi:new:<4,0>, old:<1,0>, ap:<255,255>, sta:<4,0>, prof:1
- I (3351) wifi:state: init -> auth (b0)
- I (4401) wifi:state: auth -> assoc (0)
- I (4411) wifi:state: assoc -> run (10)
- I (7541) wifi:state: run -> init (2c0)
- I (7551) wifi:new:<4,0>, old:<4,0>, ap:<255,255>, sta:<4,0>, prof:1
- I (7551) wifi:new:<1,1>, old:<4,0>, ap:<255,255>, sta:<1,1>, prof:1
- I (7551) wifi:state: init -> auth (b0)
- I (7561) wifi:state: auth -> assoc (0)
- E (7561) wifi:Set status to INIT
- I (7561) wifi:state: assoc -> init (2b10)
- I (7561) wifi:new:<1,0>, old:<1,1>, ap:<255,255>, sta:<1,1>, prof:1
- [b]I (7571) WifiApp: Disconnected. Connecting to the AP again...
- I (9991) WifiApp: Disconnected. Connecting to the AP again...[/b]
- I (12411) wifi:new:<4,0>, old:<1,0>, ap:<255,255>, sta:<4,0>, prof:1
- I (12411) wifi:state: init -> auth (b0)
- I (13451) wifi:state: auth -> assoc (0)
- I (13461) wifi:state: assoc -> run (10)
- I (13481) wifi:connected with simpwifi, aid = 1, channel 4, BW20, bssid = 5c:e9:31:9a:5d:1a
- I (13481) wifi:security: WPA3-SAE, phy: bgn, rssi: -43
- I (13491) wifi:pm start, type: 1
- I (13491) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
- I (13581) wifi:AP's beacon interval = 102400 us, DTIM period = 1
- [b]I (15001) WifiApp: Connected with IP Address:192.168.1.7[/b]
- I (15001) esp_netif_handlers: sta ip: 192.168.1.7, mask: 255.255.255.0, gw: 192.168.1.1
- I (15001) WifiApp: WIFI up and running