esp-idf: Update to the latest version, smart config still be errors, although the number is very small (IDFGH-1569)
Environment
- Module or chip used: ESP32-WROOM-32
- IDF version : v4.0-dev-728-g826ff7186
- Build System: Make
- Compiler version : xtensa-esp32-elf-
- Operating System: Ubuntu 18.04
- Power Supply: USB
Problem Description
I used to configure wifi with smartconfig, there was an error, which is described in this Issues.
Two days ago, I saw a patch about wifi stop
and updated the code version.
During these two days of use, smartconfig no longer has an error every time, but an error still occurs that causes the system to crash. There were about 3 errors in 100 uses.
In addition, although the function esp_wifi_set_storage(WIFI_STORAGE_FLASH)
was successfully called when the wifi was initialized, after the restart, the function esp_wifi_get_config
was called but no information about wifi was obtained for connecting to wifi.
What if I want to save the wifi information configured via smartconfig and use this information to automatically connect to the next time I start it?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (5 by maintainers)
Commits related to this issue
- esp_wifi: fix smartconfig crash when no AP is found Fix the bug that smartconfig crashes when no AP is found during smartconfig scan. — committed to espressif/esp-idf by liuzfesp 5 years ago
@GitOfLance there is some real issue with smartconfig, but the example compiles fine and runs okay in some wifi routers (it seens that has problem to found and match sniffer in some wifi routers), there is no problem on build and run in any of our testing boards here, all based on wrover-b modules 4/8 and 8/8mb.
Did you try to redownload the entire master SDK again, maybe there is some broken parts in your sdk that coundnt be fix or upgrade by a simple git pull --rec, so, please advise to uninstall and install it again.