Scan AccessPoint list cause station/client disconnect
Scan AccessPoint list cause station/client disconnect
I need to get Active list of AccessPoint without lose client/station connection. I am running my ESP32 in
both modes STA and AP.
esp_wifi_set_mode(WIFI_MODE_APSTA)
See this link for more detail.
https://github.com/espressif/esp-idf/issues/2497
Urgent reply please.
I have to stop client before start scan to avoid crash.
// Disconect before start scan. Fix crash.
ACDTRACEF(ES_NoError, "esp_wifi_disconnect\n");
ESP_ERROR_CHECK(esp_wifi_disconnect());
memset(wifi_manager_config_sta, 0x00, sizeof(wifi_config_t));
wifi_scan_config_t conf;
memset(&conf, 0, sizeof(conf));
conf.show_hidden = true;
ESP_ERROR_CHECK(esp_wifi_scan_start(&conf, true));
both modes STA and AP.
esp_wifi_set_mode(WIFI_MODE_APSTA)
See this link for more detail.
https://github.com/espressif/esp-idf/issues/2497
Urgent reply please.
I have to stop client before start scan to avoid crash.
// Disconect before start scan. Fix crash.
ACDTRACEF(ES_NoError, "esp_wifi_disconnect\n");
ESP_ERROR_CHECK(esp_wifi_disconnect());
memset(wifi_manager_config_sta, 0x00, sizeof(wifi_config_t));
wifi_scan_config_t conf;
memset(&conf, 0, sizeof(conf));
conf.show_hidden = true;
ESP_ERROR_CHECK(esp_wifi_scan_start(&conf, true));
Re: Scan AccessPoint list cause station/client disconnect
I end up disconnecting too and auto reloading the served webpage on a delay. Thing is, sometimes it works, but there seems no way to detect in the application whether it does or doesn't apart from perhaps doing ugly and unresponsive timeouts to see if you get a positive scan result within x time.
Re: Scan AccessPoint list cause station/client disconnect
So, there is no solution to scan Access point to get list when we are connect to station AP without disconnect.
Re: Scan AccessPoint list cause station/client disconnect
Hi,snahmad75 wrote: ↑Fri Jan 25, 2019 6:27 pmI need to get Active list of AccessPoint without lose client/station connection. I am running my ESP32 in
both modes STA and AP.
esp_wifi_set_mode(WIFI_MODE_APSTA)
See this link for more detail.
https://github.com/espressif/esp-idf/issues/2497
Urgent reply please.
I have to stop client before start scan to avoid crash.
// Disconect before start scan. Fix crash.
ACDTRACEF(ES_NoError, "esp_wifi_disconnect\n");
ESP_ERROR_CHECK(esp_wifi_disconnect());
memset(wifi_manager_config_sta, 0x00, sizeof(wifi_config_t));
wifi_scan_config_t conf;
memset(&conf, 0, sizeof(conf));
conf.show_hidden = true;
ESP_ERROR_CHECK(esp_wifi_scan_start(&conf, true));
The reason behind this is because device is sending beacons to each and every APP to get list of devices and that might be the reason to disconnect first before starting scanning of wifi.
Still, Please confirm with ESP32 IDF developers as well.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Scan AccessPoint list cause station/client disconnect
Can some one reply. Is there possible solution that we can avoid when scan disconnect from my client/station access point.
Re: Scan AccessPoint list cause station/client disconnect
Hi Espressif SDK Developer,
Would you please kindly look this issue in details and provide feedback for this? Can it be possible to continue connection while scanning for network?
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 12
- Joined: Mon Aug 17, 2020 1:39 pm
Re: Scan AccessPoint list cause station/client disconnect
Was this solved or answered?
Re: Scan AccessPoint list cause station/client disconnect
I believe no any update since long time. so not answered yet? Are you facing same issue at your end? or do you have any solution for same?
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 12
- Joined: Mon Aug 17, 2020 1:39 pm
Re: Scan AccessPoint list cause station/client disconnect
Need to look at available networks while connected.
Re: Scan AccessPoint list cause station/client disconnect
Facing same issue any response?
Who is online
Users browsing this forum: No registered users and 210 guests