Tian Sen Wen

Results 350 comments of Tian Sen Wen

可以使用 esp_bridge_netif_set_ip_info 接口来给根节点的 station 的 netif 设置静态 ip

不好意思,上面说错了,可以使用 iot_bridge 组件里面提供的接口 esp_bridge_netif_set_ip_info

可以将 mesh_lite 更新到最新,然后重新编译,让 mesh lite 拉取最新的 iot_bridge 组件(0.11.4),使用最新的试一下。新的 iot-bridge 组件修复了获取不到 IP 的问题。 另外需要在 idf/components/lwip/apps/dhcpserver/dhcpserver.c 里面加如下一行代码 ![image](https://github.com/espressif/esp-mesh-lite/assets/55544524/01d46713-e77a-48e8-bb54-cea0057015d4)

``` diff --git a/examples/no_router/main/no_router.c b/examples/no_router/main/no_router.c index 2fbf53c..8da76d2 100644 --- a/examples/no_router/main/no_router.c +++ b/examples/no_router/main/no_router.c @@ -128,6 +128,7 @@ void app_main() esp_mesh_lite_set_allowed_level(1); #else ESP_LOGI(TAG, "Child node"); + esp_mesh_lite_set_disallowed_level(1); #endif esp_mesh_lite_start(); ``` 按照如上 patch...

Hello, this print statement does not affect the functionality, and we will fix this issue later.

You can use esp_wifi_get_protocol to confirm whether the setting was successful. If the setting is successful but doesn't meet the requirements for long-distance communication, you can compare it with the...

If the root node is BGN, even if the child nodes are BGNLR, they will negotiate to BGN. You can confirm this by periodically calling `esp_wifi_get_protocol`. You can perform comparative...

`If the negotiated Wi-Fi mode supports both traditional 802.11 mode and LR mode, it is the Wi-Fi driver’s responsibility to automatically select the best data rate in different Wi-Fi modes...

可以使用 esp_mesh_lite_connect ,其作用是尝试扫描发现一个合适的父节点,然后连接到新的父节点,如果找不到合适父节点,就去连接路由器。

1. 请问根节点意外断开是指:根节点下电、根节点软重启、根节点硬重启哪一种 2. 对于无法获取 ip 的问题:可以将 mesh_lite 更新到最新,然后重新编译,让 mesh lite 拉取最新的 iot_bridge 组件(0.11.4),使用最新的试一下。新的 iot-bridge 组件修复了获取不到 IP 的问题。另外需要在 idf/components/lwip/apps/dhcpserver/dhcpserver.c 里面加如下一行代码 3. 获得到 ip 但是应用层通信异常的问题:是否可能是其父节点遇到了第二点的情况,导致数据没法从其父节点出去?这个可以观察一下。