Hello,
I am currently fighting against the WiFi scan in the ESP32. Occasionally when I trigger a scan it gets executed successfully and results are returned by the callback (I am using it in the non-blocking mode) but then the SSIDs are just empty strings besides all the other parameters like RSSI or encryption type seem to be set appropriately. This problem is persistent but sometimes it goes away after a restart.
Has anybody else encountered something like that?
Btw. I am using ESP-IDF v4.4.1.
No WiFi SSIDs in result after scanning
-
- Posts: 200
- Joined: Sun Jun 23, 2024 6:18 pm
Re: No WiFi SSIDs in result after scanning
You can try optimizing your code to use less memory, or perform a reset or cleanup before starting the scan to free up memory.
Re: No WiFi SSIDs in result after scanning
I do not think this is the issue. I only use about 50% of the available RAM.
Moreover the SSID in the structure is stored as so it has to be allocated anyway therefore memory cannot be the issue why this does not work.
Moreover the SSID in the structure is stored as
- char ssid[33];
Who is online
Users browsing this forum: No registered users and 149 guests