ESP32 WiFi : esp_wifi_scan_start fail

Ankit53
Posts: 13
Joined: Sat Dec 08, 2018 11:21 am

ESP32 WiFi : esp_wifi_scan_start fail

Postby Ankit53 » Fri Dec 14, 2018 6:42 am

Hi All,

I came across the scenario like, setting up 20+ client in AP+STA mode, if Active scan is done by one node, in result not getting info of all APs.

Using esp_wifi_scan_start API. API fail to get info of all 20+ clients in once scan event.

How to achieve successful case in this case, without failing?

Thank You,
Ankit Siddhapura

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP32 WiFi : esp_wifi_scan_start fail

Postby Ritesh » Sun Dec 16, 2018 5:11 pm

Hi Ankit,

Would you please share few more details like which ESP32 IDF you are using?

Also please explain issue in details with step by step including failing logs as well
Regards,
Ritesh Prajapati

Ankit53
Posts: 13
Joined: Sat Dec 08, 2018 11:21 am

Re: ESP32 WiFi : esp_wifi_scan_start fail

Postby Ankit53 » Mon Dec 17, 2018 5:11 am

I am using esp-idf v3.1 as well in older version 3.0rc1 seen same issue.

To choose best parent according to AP RSSI value, need AP info of all surrounded AP.

Code: Select all

wifi_scan_config_t scanConf;
esp_wifi_scan_start(&scanConf, true); 
Waiting for the event SYSTEM_EVENT_SCAN_DONE to get result of scan process. This case is generated when other application task is running. Interval of scan is 1 minuet.

Regards,
Ankit Siddhapura

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP32 WiFi : esp_wifi_scan_start fail

Postby Ritesh » Mon Dec 17, 2018 6:15 am

Hi Espressif System SDK team,

I am working with Ankit regarding this support. So, Would you please check issue reported by him as i didn't get much time to see issue into depth for that.

So, Please let him know if you have any further query or need anything else regarding same.
Regards,
Ritesh Prajapati

Who is online

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