IP获取失败

liyanliang
Posts: 5
Joined: Thu Nov 09, 2023 9:52 am

IP获取失败

Postby liyanliang » Tue May 07, 2024 2:38 am

mesh-lite组网后,根节点掉线。有部分设备重组失败, 两种情况:
1.能获取到mesh层数,但IP是0; wifi:Haven't to connect to a suitable AP now!
2. 也有部分设备,IP正常但是TCP通讯不了。即使TCP服务端关闭,ESP32仍能TCP发送成功。

liyanliang
Posts: 5
Joined: Thu Nov 09, 2023 9:52 am

Re: IP获取失败

Postby liyanliang » Tue May 07, 2024 3:15 am

mesh-lite有断开重新连接的函数吗,mesh_lite_start()后可以使用WIFI的api吗

ESP_TianSW
Posts: 52
Joined: Wed Sep 23, 2020 12:19 pm

Re: IP获取失败

Postby ESP_TianSW » Tue May 07, 2024 9:46 am

可以通过 esp_mesh_lite_connect API 来重新寻找新的父节点。

Who is online

Users browsing this forum: No registered users and 8 guests