Page 1 of 2
ESP 32 WIFI参数修改
Posted: Wed Sep 18, 2024 11:48 am
by puleya
请问esp32能修改beacon interval吗?
Re: ESP 32 WIFI参数修改
Posted: Thu Sep 19, 2024 2:22 am
by ESP_TianSW
可以
Code: Select all
wifi_config_t wifi_cfg;
esp_wifi_get_config(WIFI_IF_AP, &wifi_cfg);
wifi_cfg.ap.beacon_interval = 200;
esp_wifi_set_config(WIFI_IF_AP, &wifi_cfg);
Re: ESP 32 WIFI参数修改
Posted: Thu Sep 19, 2024 3:54 pm
by puleya
我在Mesh-Lite的local_control示例里面修改配置代码后,似乎没有用,请问一下是怎么回事?
Re: ESP 32 WIFI参数修改
Posted: Fri Sep 20, 2024 6:08 am
by ESP_TianSW
请问修改的什么配置代码?
Re: ESP 32 WIFI参数修改
Posted: Fri Sep 20, 2024 9:08 am
by puleya
修改的wifi_init()
- 1726823249619.png (35.03 KiB) Viewed 5733 times
Re: ESP 32 WIFI参数修改
Posted: Mon Sep 23, 2024 6:34 am
by ESP_TianSW
你是怎么确认设置的没有用的?beacon interval 是 beacon 发送间隔,你抓包确认了吗?
Re: ESP 32 WIFI参数修改
Posted: Fri Sep 27, 2024 3:28 am
by puleya
没有抓包确认,修改编译并烧录后,ESP32输出的日志发现没有发生改变,beacon interval仍然等于102400us。
Re: ESP 32 WIFI参数修改
Posted: Fri Sep 27, 2024 6:06 am
by ESP_TianSW
有日志吗?你是否是看得 station 连接的路由器的 beacon interval 打印
Re: ESP 32 WIFI参数修改
Posted: Wed Oct 09, 2024 3:59 am
by puleya
请问这是ESP32连接的AP的beacon interval吗?
Re: ESP 32 WIFI参数修改
Posted: Thu Oct 10, 2024 3:45 am
by ESP_TianSW
是的