idf4.4 下 esp32 mdf router 示例无法连接另一块 esp32 提供的下的tcp server

wangzekun
Posts: 6
Joined: Mon May 22, 2023 2:23 am

idf4.4 下 esp32 mdf router 示例无法连接另一块 esp32 提供的下的tcp server

Postby wangzekun » Mon May 22, 2023 8:14 am

I (10279) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 0, mt_pti: 25000, mt_time: 10000
I (10289) mesh: [scan]new scanning time:600ms, beacon interval:300ms
I (10289) mesh: <nvs>write layer:1
I (10289) [mwifi, 175]: Parent is connected
I (10299) [mwifi, 258]: State represents: 0
I (10299) wifi:BcnInt:102400, DTIM:2
I (10309) [router_example, 338]: event_loop_cb, event: 7
I (10309) [router_example, 346]: Parent is connected on station interface
I (10319) [router_example, 338]: event_loop_cb, event: 11
I (10319) mesh: <flush>upstream packets, connections(max):6, waiting:0, upQ:0
I (10329) [router_example, 338]: event_loop_cb, event: 14
I (10339) mesh: <flush>root
I (10339) mesh: [TXQ]<max:32>up(0, be:0), down(0, be:0), mgmt:0, xon(req:0, rsp:0), bcast:0, wnd(0, parent:00:00:00:00:00:00)
I (10349) mesh: [RXQ]<max:32 = cfg:32 + extra:0>self:0, <max:32 = cfg:32 + extra:0>tods:0
D (10729) [router_example, 253]: Node send, size: 72, data: {"src_addr": "60:55:f9:57:ab:c0","data": "Hello TCP Server!","count": 0}
I (11429) esp_netif_handlers: sta ip: 192.168.4.5, mask: 255.255.255.0, gw: 192.168.4.1
I (11429) [router_example, 338]: event_loop_cb, event: 65
I (11429) [router_example, 359]: Root obtains the IP address. It is posted by LwIP stack automatically
I (11439) [router_example, 176]: TCP client write task is running
I (11449) [router_example, 91]: TCP client read task is running
I (11449) [router_example, 51]: Create a tcp client, ip: 192.168.4.1, port: 8989
W (11459) [router_example, 66]: socket connect, ret: -1, ip: 192.168.4.1, port: 8989
I (11969) [router_example, 51]: Create a tcp client, ip: 192.168.4.1, port: 8989
W (11969) [router_example, 66]: socket connect, ret: -1, ip: 192.168.4.1, port: 8989
I (11999) [router_example, 286]: System information, channel: 3, layer: 1, self mac: 60:55:f9:57:ab:c0, parent bssid: f4:12:fa:d8:dd:e1, parent rssi: -23, node num: 1, free heap: 158128
I (12469) [router_example, 51]: Create a tcp client, ip: 192.168.4.1, port: 8989
W (12469) [router_example, 66]: socket connect, ret: -1, ip: 192.168.4.1, port: 8989
I (12969) [router_example, 51]: Create a tcp client, ip: 192.168.4.1, port: 8989
W (12969) [router_example, 66]: socket connect, ret: -1, ip: 192.168.4.1, port: 8989
I (13469) [router_example, 51]: Create a tcp client, ip: 192.168.4.1, port: 8989
W (13469) [router_example, 66]: socket connect, ret: -1, ip: 192.168.4.1, port: 8989

ESP_Eavo
Posts: 186
Joined: Tue Jun 08, 2021 6:23 am

Re: idf4.4 下 esp32 mdf router 示例无法连接另一块 esp32 提供的下的tcp server

Postby ESP_Eavo » Tue Jun 06, 2023 8:34 am

探索更轻量级的 Wi-Fi Mesh 组网方案 - ESP-Mesh-Lite。作为 ESP-Wi-Fi-Mesh 的理想替代方案,ESP-Mesh-Lite 提供了一种更简化、更高效的解决方案。它不仅支持节点直连服务器,还可供其他标准 Wi-Fi 设备轻松接入,而且无需依赖网关。这种全新的 Mesh 网络结构通过优化设计和更高效的资源利用,为您带来了更大的灵活性、可扩展性和简易实现的优势。立即升级到 ESP-Mesh-Lite,开启全新的连接可能性,并让您的项目从中受益。

ESP-Mesh Lite 的 资源如下:
代码仓库:https://github.com/espressif/esp-mesh-lite
包管理器:https://components.espressif.com/compon ... mesh_lite/

Who is online

Users browsing this forum: No registered users and 4 guests