No mac in current mac list
-
- Posts: 20
- Joined: Thu Sep 22, 2016 12:55 pm
No mac in current mac list
Postby traderlopez » Thu Sep 22, 2016 1:03 pm
Now it tells me that there in "no mac in current mac list", "mcast get root fail"
I have 4 devices on a half squared meter table running next to the laptop that is running the server.
I guess that if devices can't find a root node, my devices cannot get information send outside the network. What I want is that each node can send information to a local server (can be the laptop running the server, although a C++ server would be much appreciated... I'll try to build it up anyway now, hoping the rest can be solved).
Also not sure about the server. If the server reboots, is it necessary to reboot all devices or can they find their way to it again through the root node?
This is what the serial port of one of the devices shows:
;lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid:INDEARED pwd:*-*-*-*-*-*
mesh version: v1.3.1
mode : sta(5c:cf:7f:c0:12:80)
add if0
scandone
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT
mode : sta(5c:cf:7f:c0:12:80) + softAP(5e:cf:7f:c0:12:80)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
scandone
scan-ch:0
scandone
reconnect
scandone
scandone
scandone
scan-ch:0
scandone
sssid:INDEARED, ssid:INDEARED, set:1, sbssi:00:80:5a:5b:1b:ad bssid:00:80:5a:5b:1b:adlast:1
espconn_mesh_scan_done connect INDEARED
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
connected with INDEARED, channel 13
dhcp client start...
ip:192.168.0.18,mask:255.255.255.0,gw:192.168.0.1
Got IP, IP:192.168.0.18Mask:255.255.255.0GW:192.168.0.1
bcn 0
del if1
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
espconn_mesh_connect, ip:192.168.0.12,rport:7000, port:40901
espconn_mesh_pack_connect, idx:0, 26182820
rip:192.168.0.12rp:7000
con_cb IP:192.168.0.12 rp = 7000, lp = 40901
mesh_enable_cb
rip:192.168.0.12rp:7000, lp:40901
esp_mesh_demo_con_cb
not as root, grp_id:18:fe:34:00:00:50 mac:5c:cf:7f:c0:12:80 root:5c:cf:7f:14:2e:81
disconn, ip:192.168.0.12 port:7000
state: 5 -> 0 (0)
rm 0
scan-ch:13
sta_dis_cb ip: 192.168.0.12 rp:7000, lp:40901, 1, 0x00000000
scandone
free heap:44056
mesh is busy
scan-ch:13
scandone
free heap:43688
mesh is busy
set option fail
no mac in current mac list
mcast get root fail
bcast mesh is busy
no mac in current mac list
scan-ch:13
free heap:43376
mesh is busy
scandone
sssid:INDEARED, ssid:MEMO_1_142E81, set:1, sbssi:00:80:5a:5b:1b:ad bssid:5e:cf:7f:14:2e:81last:0
espconn_mesh_scan_done connect MEMO_1_142E81
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
connected with MEMO_1_142E81, channel 13
dhcp client start...
ip:2.255.255.3,mask:255.255.255.0,gw:2.255.255.1
Got IP, IP:2.255.255.3Mask:255.255.255.0GW:2.255.255.1
bcn 0
del if1
add if1
dhcp server start:(ip:2.255.255.1,mask:255.255.255.0,gw:2.255.255.1)
bcn 100
espconn_mesh_connect, ip:2.255.255.1,rport:7000, port:7264
espconn_mesh_pack_connect, idx:1, 53768634
rip:2.255.255.1rp:7000
con_cb IP:2.255.255.1 rp = 7000, lp = 7264
esp_mesh_demo_con_cb
set option fail
...............................
no mac in current mac list
free heap:43416
set option fail
recv entrance
mesh_json_proto_parser
len:31, data:{"mcast":"5c:cf:7f:14:2e:81"}
Re: No mac in current mac list
Postby ESP_Alen » Thu Sep 22, 2016 1:44 pm
traderlopez wrote:After struggling a lot, I got my mesh network devices up and running
Now it tells me that there in "no mac in current mac list", "mcast get root fail"
I have 4 devices on a half squared meter table running next to the laptop that is running the server.
I guess that if devices can't find a root node, my devices cannot get information send outside the network. What I want is that each node can send information to a local server (can be the laptop running the server, although a C++ server would be much appreciated... I'll try to build it up anyway now, hoping the rest can be solved).
Also not sure about the server. If the server reboots, is it necessary to reboot all devices or can they find their way to it again through the root node?
This is what the serial port of one of the devices shows:
;lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid:INDEARED pwd:*-*-*-*-*-*
mesh version: v1.3.1
mode : sta(5c:cf:7f:c0:12:80)
add if0
scandone
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT
mode : sta(5c:cf:7f:c0:12:80) + softAP(5e:cf:7f:c0:12:80)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
scandone
scan-ch:0
scandone
reconnect
scandone
scandone
scandone
scan-ch:0
scandone
sssid:INDEARED, ssid:INDEARED, set:1, sbssi:00:80:5a:5b:1b:ad bssid:00:80:5a:5b:1b:adlast:1
espconn_mesh_scan_done connect INDEARED
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
connected with INDEARED, channel 13
dhcp client start...
ip:192.168.0.18,mask:255.255.255.0,gw:192.168.0.1
Got IP, IP:192.168.0.18Mask:255.255.255.0GW:192.168.0.1
bcn 0
del if1
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
espconn_mesh_connect, ip:192.168.0.12,rport:7000, port:40901
espconn_mesh_pack_connect, idx:0, 26182820
rip:192.168.0.12rp:7000
con_cb IP:192.168.0.12 rp = 7000, lp = 40901
mesh_enable_cb
rip:192.168.0.12rp:7000, lp:40901
esp_mesh_demo_con_cb
not as root, grp_id:18:fe:34:00:00:50 mac:5c:cf:7f:c0:12:80 root:5c:cf:7f:14:2e:81
disconn, ip:192.168.0.12 port:7000
state: 5 -> 0 (0)
rm 0
scan-ch:13
sta_dis_cb ip: 192.168.0.12 rp:7000, lp:40901, 1, 0x00000000
scandone
free heap:44056
mesh is busy
scan-ch:13
scandone
free heap:43688
mesh is busy
set option fail
no mac in current mac list
mcast get root fail
bcast mesh is busy
no mac in current mac list
scan-ch:13
free heap:43376
mesh is busy
scandone
sssid:INDEARED, ssid:MEMO_1_142E81, set:1, sbssi:00:80:5a:5b:1b:ad bssid:5e:cf:7f:14:2e:81last:0
espconn_mesh_scan_done connect MEMO_1_142E81
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
connected with MEMO_1_142E81, channel 13
dhcp client start...
ip:2.255.255.3,mask:255.255.255.0,gw:2.255.255.1
Got IP, IP:2.255.255.3Mask:255.255.255.0GW:2.255.255.1
bcn 0
del if1
add if1
dhcp server start:(ip:2.255.255.1,mask:255.255.255.0,gw:2.255.255.1)
bcn 100
espconn_mesh_connect, ip:2.255.255.1,rport:7000, port:7264
espconn_mesh_pack_connect, idx:1, 53768634
rip:2.255.255.1rp:7000
con_cb IP:2.255.255.1 rp = 7000, lp = 7264
esp_mesh_demo_con_cb
set option fail
...............................
no mac in current mac list
free heap:43416
set option fail
recv entrance
mesh_json_proto_parser
len:31, data:{"mcast":"5c:cf:7f:14:2e:81"}
Wait for a moment and check it works or not.
-
- Posts: 20
- Joined: Thu Sep 22, 2016 12:55 pm
Re: No mac in current mac list
Postby traderlopez » Thu Sep 22, 2016 1:54 pm
first part (before ............. ): the first things received
second part (after ............. ): about 15 minutes later
(so I really waited before thinking it wasn't working all right)
This is from today, after more than 20 minutes, different node:
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:14:2e:81"}
free heap:41888
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:c0:12:80"}
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:c1:0b:64"}
recv entrance
mesh_json_proto_parser
len:31, data:{"mcast":"5c:cf:7f:14:2e:81"}
no mac in current mac list
mcast get root fail
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:1b:f0:86"}
free heap:41888
set option fail
recv entrance
mesh_json_proto_parser
len:29, data:{"p2p":"5c:cf:7f:14:2e:81"}
no mac in current mac list
free heap:41888
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:14:2e:81"}
recv entrance
mesh_json_proto_parser
len:31, data:{"mcast":"5c:cf:7f:14:2e:81"}
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:c0:12:80"}
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:c1:0b:64"}
free heap:41888
set option fail
no mac in current mac list
mcast get root fail
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:1b:f0:86"}
Re: No mac in current mac list
Postby ESP_Alen » Fri Sep 23, 2016 6:36 pm
traderlopez wrote:Those results are:
first part (before ............. ): the first things received
second part (after ............. ): about 15 minutes later
(so I really waited before thinking it wasn't working all right)
This is from today, after more than 20 minutes, different node:
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:14:2e:81"}
free heap:41888
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:c0:12:80"}
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:c1:0b:64"}
recv entrance
mesh_json_proto_parser
len:31, data:{"mcast":"5c:cf:7f:14:2e:81"}
no mac in current mac list
mcast get root fail
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:1b:f0:86"}
free heap:41888
set option fail
recv entrance
mesh_json_proto_parser
len:29, data:{"p2p":"5c:cf:7f:14:2e:81"}
no mac in current mac list
free heap:41888
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:14:2e:81"}
recv entrance
mesh_json_proto_parser
len:31, data:{"mcast":"5c:cf:7f:14:2e:81"}
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:c0:12:80"}
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:c1:0b:64"}
free heap:41888
set option fail
no mac in current mac list
mcast get root fail
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"5c:cf:7f:1b:f0:86"}
Current mesh fix the bug of SDK, and we use current mesh to reproduce the problem you reported, but we fail to reproduce it.
Please git pull the current mesh.
-
- Posts: 20
- Joined: Thu Sep 22, 2016 12:55 pm
Re: No mac in current mac list
Postby traderlopez » Mon Sep 26, 2016 1:22 pm
Re: No mac in current mac list
Postby ESP_Alen » Mon Sep 26, 2016 4:16 pm
traderlopez wrote:Sorry, after turning everything on today, I'm not able to reproduce the error either. I don't know enough to tell where the problem came from either.
When the error occurs again, please save the detail information.
Who is online
Users browsing this forum: No registered users and 291 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.