wifi mesh中esp_mesh_set_router函数和allow_router_switch参数无效

zxlch_z
Posts: 23
Joined: Thu Aug 19, 2021 2:59 am

wifi mesh中esp_mesh_set_router函数和allow_router_switch参数无效

Postby zxlch_z » Sun Oct 02, 2022 2:01 am

我在初始化mesh网络的时候,在根节点中设定了路由器的信息,包括ssid、password、bssid和allow_router_switch。然后在连接到路由器网络后使用esp_mesh_get_router函数获取路由器参数,在对路由器参数中的部分数据进行修改,在调用esp_mesh_set_router回写。发现下面问题:

1、esp_mesh_set_router函数无效。我尝试在mesh初始化完成后,获取到路由器IP,在使用esp_mesh_get_router获取到mesh_router_t后,修改ssid为一个错误的值,在调用esp_mesh_set_router,并不生效。

2、allow_router_switch无效,当指定了bssid后,allow_router_switch设为true,并不能自动切换到其他ssid和password相同的路由器里面(测试时间10小时)。

Who is online

Users browsing this forum: Ccssjnjn, Google [Bot] and 34 guests