No WiFi SSIDs in result after scanning

jwolf02
Posts: 2
Joined: Tue Aug 13, 2024 11:46 am

No WiFi SSIDs in result after scanning

Postby jwolf02 » Tue Aug 13, 2024 11:53 am

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.

aliarifat794
Posts: 200
Joined: Sun Jun 23, 2024 6:18 pm

Re: No WiFi SSIDs in result after scanning

Postby aliarifat794 » Wed Aug 14, 2024 4:20 pm

You can try optimizing your code to use less memory, or perform a reset or cleanup before starting the scan to free up memory.

jwolf02
Posts: 2
Joined: Tue Aug 13, 2024 11:46 am

Re: No WiFi SSIDs in result after scanning

Postby jwolf02 » Thu Aug 15, 2024 1:37 pm

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
  1. char ssid[33];
so it has to be allocated anyway therefore memory cannot be the issue why this does not work.

Who is online

Users browsing this forum: Bing [Bot] and 81 guests