-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Description
Environment
- Development Kit: self made
- Module or chip used: ESP32-WROOM-32
- IDF version: v3.1 (tag)
- Build System: CMake
- Compiler version: xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-73-ge28a011) 5.2.0
- Operating System: Linux
- Power Supply: external 5V
Problem Description
When we call esp_wifi_scan_start() in STA mode (connected to an acces point) we get this error:
W (167973) wifi: Now is connecting, user scan invalid now!
The result of esp_wifi_scan_start() is ESP_ERR_WIFI_TIMEOUT
The WiFi mode is: WIFI_MODE_STA
Expected Behaviour
The wifi scan must be started
Actual Behaviour
The wifi scan is not started and it returns the errors on the description
Questions
Is it possible to use this functions in STA mode (connected to an AP) ?
Metadata
Metadata
Assignees
Labels
No labels