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
};