Hello,
My board is an ESP8266, wroom-02.
I use Freertos, in a task I call esp_wifi_scan_start(), depending of the number of access point found the application crash (Stack canary watchpoint triggered).
I understand (from the documentation) esp_wifi_scan_start() allocate it's data to my task stack. But I can't know in advance how many AP found and I can't allocate to many space to avoid the crash.
Is there a way to limit the number of AP searched by the esp_wifi_scan_start() or another way of scanning using a know memory size?
Thank you
esp_wifi_scan_start() and stack size
Re: esp_wifi_scan_start() and stack size
I found the solution by limiting the number of AP scanned into the sdkconfig.
Who is online
Users browsing this forum: No registered users and 75 guests