esp-idf: [TW#19695] Smart config example fails to connect to wlan

The smart_config example (using esp-idf commit 8478823) runs and install fine. The correct SSID and PASSWORD is received, but after that connecting to wlan seems to fail with output below. I tried it on two ESP32 modules, both have same result. (The simple_wifi example works fine on both modules.)

I (305) cpu_start: Pro cpu up.
I (308) cpu_start: Starting app cpu, entry point is 0x40080f74
0x40080f74: call_start_cpu1 at /home/eflukx/code/esp32/esp-idf/components/esp32/./cpu_start.c:225

I (0) cpu_start: App cpu up.
I (319) heap_init: Initializing. RAM available for dynamic allocation:
I (326) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (332) heap_init: At 3FFB9090 len 00026F70 (155 KiB): DRAM
I (338) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (344) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (351) heap_init: At 4008E858 len 000117A8 (69 KiB): IRAM
I (357) cpu_start: Pro cpu start user code
I (151) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (194) wifi: wifi firmware version: c202b34
I (194) wifi: config NVS flash: enabled
I (194) wifi: config nano formating: disabled
I (194) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (204) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (224) wifi: Init dynamic tx buffer num: 32
I (224) wifi: Init data frame dynamic rx buffer num: 32
I (224) wifi: Init management frame dynamic rx buffer num: 32
I (224) wifi: Init static tx buffer num: 16
I (234) wifi: wifi driver task: 3ffc7018, prio:23, stack:4096
I (234) wifi: Init static rx buffer num: 10
I (244) wifi: Init dynamic rx buffer num: 32
I (244) wifi: wifi power manager task: 0x3ffcbc58 prio: 21 stack: 2560
I (314) phy: phy_version: 383.0, 79a622c, Jan 30 2018, 15:38:06, 0, 0
I (314) wifi: mode : sta (24:0a:c4:8d:e6:58)
I (364) smartconfig: SC version: V2.7.1
I (5184) wifi: ic_enable_sniffer
I (5184) sc: SC_STATUS_FINDING_CHANNEL
I (6294) smartconfig: TYPE: ESPTOUCH
I (6294) smartconfig: T|AP MAC: d8:50:e6:88:88:88
I (6294) sc: SC_STATUS_GETTING_SSID_PSWD
I (7944) smartconfig: T|pswd: m************t
I (7944) smartconfig: T|ssid: i********Q
I (7944) smartconfig: T|bssid: d8:50:e6:88:88:88
I (7944) wifi: ic_disable_sniffer
I (7944) sc: SC_STATUS_LINK
I (7954) sc: SSID:i********Q
I (7954) sc: PASSWORD:m************t
W (7974) wifi: lmac stop, discard packet
I (8094) wifi: n:4 0, o:1 0, ap:255 255, sta:4 0, prof:1
I (8744) wifi: state: init -> auth (b0)
W (8754) wifi: lmac stop, discard packet
I (9754) wifi: state: auth -> init (2)
I (9754) wifi: n:4 0, o:4 0, ap:255 255, sta:4 0, prof:1
W (9754) wifi: lmac stop, discard packet
I (9874) wifi: n:4 0, o:4 0, ap:255 255, sta:4 0, prof:1
I (9874) wifi: state: init -> auth (b0)
W (9874) wifi: lmac stop, discard packet
I (10874) wifi: state: auth -> init (2)
I (10874) wifi: n:4 0, o:4 0, ap:255 255, sta:4 0, prof:1
W (10874) wifi: lmac stop, discard packet
I (10994) wifi: n:4 0, o:4 0, ap:255 255, sta:4 0, prof:1
I (10994) wifi: state: init -> auth (b0)
W (10994) wifi: lmac stop, discard packet

**snip** (--etc etc etc--)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 37 (10 by maintainers)

Most upvoted comments

@eflukx @perll The bugfix is merging. Due to the gitlab server is maintaining this weekend, it will be merged next monday.

@eflukx This is a bug. We have found the root cause and will fix it this week.