ESP32C2 AP 无法被连接

510235506@qq.com
Posts: 3
Joined: Wed Nov 01, 2023 3:15 am

ESP32C2 AP 无法被连接

Postby 510235506@qq.com » Wed Nov 01, 2023 3:19 am

捕获.PNG
捕获.PNG (37.69 KiB) Viewed 4483 times
wifi_config_t wifi_config = {
.ap = {
.ssid = EXAMPLE_ESP_WIFI_SSID,
.ssid_len = strlen(EXAMPLE_ESP_WIFI_SSID),
.channel = EXAMPLE_ESP_WIFI_CHANNEL,
.password = EXAMPLE_ESP_WIFI_PASS,
.max_connection = EXAMPLE_MAX_STA_CONN,
#ifdef CONFIG_ESP_WIFI_SOFTAP_SAE_SUPPORT
.authmode = WIFI_AUTH_WPA3_PSK,
.sae_pwe_h2e = WPA3_SAE_PWE_BOTH,
#else /* CONFIG_ESP_WIFI_SOFTAP_SAE_SUPPORT */
.authmode = WIFI_AUTH_WPA2_PSK,
#endif
.pmf_cfg = {
.required = false,
.capable = true,
},
},
};

510235506@qq.com
Posts: 3
Joined: Wed Nov 01, 2023 3:15 am

Re: ESP32C2 AP 无法被连接

Postby 510235506@qq.com » Fri Nov 03, 2023 3:07 am

未解决

shiyu1024
Posts: 6
Joined: Fri Dec 29, 2023 1:48 am

Re: ESP32C2 AP 无法被连接

Postby shiyu1024 » Fri Dec 29, 2023 1:50 am

我用esp32c3也遇到了同样的问题,我用idf 5.1.2,请问你解决了吗

ESP_MacChu
Posts: 47
Joined: Tue Nov 21, 2023 7:53 am

Re: ESP32C2 AP 无法被连接

Postby ESP_MacChu » Tue Jan 02, 2024 12:44 pm

@ 510235506@qq.com 请问使用的是什么版本的 idf 、使用的是官方例程吗?

ESP_MacChu
Posts: 47
Joined: Tue Nov 21, 2023 7:53 am

Re: ESP32C2 AP 无法被连接

Postby ESP_MacChu » Tue Jan 02, 2024 12:47 pm

另外在 v5.1.2 上运行了例程,ap 可以正常连接的。
不过了解到了 win 系统下 Wi-Fi 的叉的含义在于:叉说明不符合系统所记录的配置文件的条件,这么做是为了防止“伪Wi-Fi”或者“克隆Wi-Fi”的情况发生。如果想验 ap ,可以尝试用其他设备连 ap。

shiyu1024
Posts: 6
Joined: Fri Dec 29, 2023 1:48 am

Re: ESP32C2 AP 无法被连接

Postby shiyu1024 » Fri Jan 05, 2024 1:46 am

我用安卓手机也连不上啊

Who is online

Users browsing this forum: No registered users and 136 guests