WiFi AP Mode. Not able to connect in Environment with many other WiFis.

waterfox
Posts: 20
Joined: Sun Mar 22, 2020 10:19 pm

WiFi AP Mode. Not able to connect in Environment with many other WiFis.

Postby waterfox » Sun Aug 23, 2020 9:14 pm

Hello together,

I have set my ESP32 to APSTA mode but the station isn't connected. To set the credentials i have to connect to the ESP directly. At a place with only one other wifi this is not a big problem.

Now I'm trying the same thing in a environment with many access points running a mesh WiFi. If I try to connect to the wifi it will take a long time (10 sec to 60 sec) until the ESPs WiFi will show up for the first time. But in the next second it will disappear. So far it is really hard to connect to the esp. And if I'm connected it can also happen that I'm disconnected after a few seconds.

Is it possible to change the advertising time of the wifi beacon?

this is how set the ap:

Code: Select all

static wifi_ap_config_t ap = {
	.ssid = "esp32",
	.password = "123456789",
	// .ssid_len = 0,
	 .channel = 1,
	.authmode = WIFI_AUTH_WPA2_PSK,
	.ssid_hidden = 1,
	.max_connection = 5,
	.beacon_interval = 100
	};
Edit: I'm using ESP-IDF v4.3-dev-771-gc77c4ccf6

Who is online

Users browsing this forum: Baidu [Spider] and 129 guests