4个ESP8266组网问题

wangzhijiang
Posts: 10
Joined: Sat Aug 19, 2017 9:36 am

4个ESP8266组网问题

Postby wangzhijiang » Sun Sep 24, 2017 6:02 pm

我用了4个ESP8266组成mesh网,都用了一个程序,只有程序中Dev值不一样(用于标识设备的),下面是输出的log,为什么mac list info到后面越来越多,超过了4个?
还有route fail, discard, dst:32:66:3a:66:63:22, src:7d:0d:0a:00:2f:fc hop:1是在哪个函数中打印的?
另外经常会p2p mesh is busy或者bcast is busy等发送失败?


ESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid:CMCC-djT2 pwd:9vabnpbm
mesh version: v1.3.3
mode : sta(2c:3a:e8:15:30:67)
add if0
scandone
scandone
scandone
SC_STATUS_FIND_CHANNEL
****START ESP-TOUCH****
ESP-TOUCH TIMEOUT
wzj esptouch_over
mode : sta(2c:3a:e8:15:30:67) + softAP(2e:3a:e8:15:30:67)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
connect_dest_chan:0
scandone
scan-ch:0
scandone
connect_dest_chan:0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 4
cnt

connected with CMCC-djT2, channel 4
dhcp client start...
ip:192.168.1.21,mask:255.255.255.0,gw:192.168.1.1
Got IP, IP:192.168.1.21Mask:255.255.255.0GW:192.168.1.1
espconn_mesh_connect, ip:192.168.1.10,rport:7000, port:10040
espconn_mesh_pack_connect, idx:0, 27437209
rip:192.168.1.10rp:7000
con_cb IP:192.168.1.10 rp = 7000, lp = 10040
mesh_enable_cb
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
free heap:42896
free heap:42896
new root:2c:3a:e8:15:30:67
=====mac list info=====
root: 2c:3a:e8:15:30:67
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"1","bcast":"2c:3a:e8:15:
p2p mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
free heap:42896
=====mac list info=====
root: 2c:3a:e8:15:30:67
free heap:42896
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"1","bcast":"2c:3a:e8:15:
p2p mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
=====mac list info=====
root: 2c:3a:e8:15:30:67
free heap:42896
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"1","bcast":"2c:3a:e8:15:
=====mac list info=====
root: 2c:3a:e8:15:30:67
p2p mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
free heap:42896
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
=====mac list info=====
root: 2c:3a:e8:15:30:67
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"1","bcast":"2c:3a:e8:15:
free heap:42896
p2p mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
free heap:42896
=====mac list info=====
root: 2c:3a:e8:15:30:67
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"1","bcast":"2c:3a:e8:15:
free heap:42896
p2p mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
=====mac list info=====
root: 2c:3a:e8:15:30:67
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"1","bcast":"2c:3a:e8:15:
free heap:42896
=====mac list info=====
root: 2c:3a:e8:15:30:67
p2p mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
add 1
aid 1
station: 2c:3a:e8:15:2f:fc join, AID = 1
idx:1, rip: 2.255.255.2:29976, mac:2c:3a:e8:15:2f:fc
new child node:2c:3a:e8:15:2f:fc
=====mac list info=====
root: 2c:3a:e8:15:30:67
idx:0, 2c:3a:e8:15:2f:fc
=====mac list end======
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"1","bcast":"2c:3a:e8:15:
free heap:40656

cidx:0, count:1 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
p2p mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb

cidx:0, count:1 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
as root, grp_id:18:fe:34:00:00:50 mac:2c:3a:e8:15:30:67 root:2c:3a:e8:15:2d:04
=====mac list info=====
root: 2c:3a:e8:15:30:67
idx:0, 2c:3a:e8:15:2f:fc
=====mac list end======
route fail, discard, dst:32:66:3a:66:63:22, src:7d:0d:0a:00:2f:fc hop:1

cidx:0, count:2 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"2","bcast":"2c:3a:e8:15:
add 2
aid 2
station: 2c:3a:e8:15:2d:04 join, AID = 2
free heap:40584
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"1","bcast":"2c:3a:e8:15:
route fail, discard, dst:3a:66:63:22:7d:0d, src:0a:00:e8:15:2f:fc hop:1

cidx:0, count:3 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
free heap:40584

cidx:0, count:3 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
p2p mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
station: 2c:3a:e8:15:2d:04 leave, AID = 2
rm 2

cidx:0, count:3 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
=====mac list info=====
root: 2c:3a:e8:15:30:67
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
=====mac list end======
route fail, discard, dst:32:66:3a:66:63:22, src:7d:0d:0a:00:2f:fc hop:1

cidx:0, count:3 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
free heap:41320
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"2","bcast":"2c:3a:e8:15:
route fail, discard, dst:3a:66:63:22:7d:0d, src:0a:00:e8:15:2f:fc hop:1

cidx:0, count:3 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"1","bcast":"2c:3a:e8:15:
free heap:41320
=====mac list info=====
root: 2c:3a:e8:15:30:67
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
idx:3, 2c:3a:e8:15:2f:56
=====mac list end======
route fail, discard, dst:32:66:3a:35:36:22, src:7d:0d:0a:00:2f:56 hop:1

cidx:0, count:5 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
idx:3, 2c:3a:e8:15:2f:56
idx:4, 7d:0d:0a:00:2f:56

cidx:0, count:5 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
idx:3, 2c:3a:e8:15:2f:56
idx:4, 7d:0d:0a:00:2f:56
mcast mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb

cidx:0, count:5 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
idx:3, 2c:3a:e8:15:2f:56
idx:4, 7d:0d:0a:00:2f:56
p2p mesh is busy
rip:192.168.1.10rp:7000, lp:10040
esp_mesh_demo_con_cb
recv entrance
mesh_json_proto_parser
len:32, data:{"Dev":"4","bcast":"2c:3a:e8:15:
route fail, discard, dst:3a:35:36:22:7d:0d, src:0a:00:e8:15:2f:56 hop:1

cidx:0, count:6 mac_list:
idx:0, 2c:3a:e8:15:2f:fc
idx:1, 7d:0d:0a:00:2f:fc
idx:2, 0a:00:e8:15:2f:fc
idx:3, 2c:3a:e8:15:2f:56
idx:4, 7d:0d:0a:00:2f:56
idx:5, 0a:00:e8:15:2f:56
route fail, discard, dst:32:66:3a:66:63:22, src:7d:0d:0a:00:2f:fc hop:1

wangzhijiang
Posts: 10
Joined: Sat Aug 19, 2017 9:36 am

Re: 4个ESP8266组网问题

Postby wangzhijiang » Mon Sep 25, 2017 10:45 am

没人回复吗?

wangzhijiang
Posts: 10
Joined: Sat Aug 19, 2017 9:36 am

Re: 4个ESP8266组网问题

Postby wangzhijiang » Tue Sep 26, 2017 8:29 am

求给点帮助,说明呢?

Who is online

Users browsing this forum: No registered users and 2 guests