ESP8266 Developer Zone The Official ESP8266 Forum 2016-06-29T18:18:19+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2352 2016-06-29T18:18:19+08:00 2016-06-29T18:18:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2352&p=7553#p7553 <![CDATA[Re: Mesh_demo cannot connect without router in LOCAL mode]]>
jamesbong wrote:
Please note that I have use 3 modules in my test


Ok.

Statistics: Posted by Guest — Wed Jun 29, 2016 6:18 pm


]]>
2016-06-27T20:38:22+08:00 2016-06-27T20:38:22+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2352&p=7518#p7518 <![CDATA[Re: Mesh_demo cannot connect without router in LOCAL mode]]> Statistics: Posted by jamesbong — Mon Jun 27, 2016 8:38 pm


]]>
2016-06-27T20:36:10+08:00 2016-06-27T20:36:10+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2352&p=7517#p7517 <![CDATA[Re: Mesh_demo cannot connect without router in LOCAL mode]]> But mesh_device_get_mac_list alway fail. How can I verify the mesh_device_get_mac_list function?

Statistics: Posted by jamesbong — Mon Jun 27, 2016 8:36 pm


]]>
2016-06-27T15:04:31+08:00 2016-06-27T15:04:31+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2352&p=7512#p7512 <![CDATA[Re: Mesh_demo cannot connect without router in LOCAL mode]]>
jamesbong wrote:
If my system does not reqire mobile phone or cloud server, is there any cheap solution, i.e. no router is powered on


Yes, we will fix the problem later.

Statistics: Posted by Guest — Mon Jun 27, 2016 3:04 pm


]]>
2016-06-27T12:40:46+08:00 2016-06-27T12:40:46+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2352&p=7509#p7509 <![CDATA[Re: Mesh_demo cannot connect without router in LOCAL mode]]> Statistics: Posted by jamesbong — Mon Jun 27, 2016 12:40 pm


]]>
2016-06-27T11:06:53+08:00 2016-06-27T11:06:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2352&p=7507#p7507 <![CDATA[Re: Mesh_demo cannot connect without router in LOCAL mode]]>
jamesbong wrote:
I changed mesh mode in user_init to LOCAL mode as follows
espconn_mesh_enable(mesh_enable_cb, MESH_LOCAL);//MESH_ONLINE);
But I find that if I powered off the router, I cannot connect 2 modules together through mesh. Is it true?
The log is :
flush ssid:wec pwd:Jamesbong1
mesh version: v1.2.0
esp_mesh_demo_init OK
mode : sta(5c:cf:7f:88:13:e3) + softAP(5e:cf:7f:88:13:e3)
add if0
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
f r0, scandone
f r0, scandone
f r0, scandone
f r0, scandone
no ap to join
f r0, scandone
f r0, scandone
f r0, scandone
no ap to join
reconnect
f r0, scandone
f 0, scandone
f r0, scandone
f r0, scandone
no ap to join
f r0, scandone
f 0, scandone
f r0, scandone
f r0, scandone
no ap to join
f r0, scandone
f 0, scandone
f -180, scandone
f r0, scandone
f r0, scandone
f r0, scandone
no ap to join
f r0, scandone
f r0, scandone
f 0, scandone
f -180, scandone
f r0, scandone
no ap to join
mesh_enable_cb = enable mesh fail
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0


Yes, please don't power off the router.

Statistics: Posted by Guest — Mon Jun 27, 2016 11:06 am


]]>
2016-06-27T01:28:27+08:00 2016-06-27T01:28:27+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2352&p=7505#p7505 <![CDATA[Mesh_demo cannot connect without router in LOCAL mode]]> espconn_mesh_enable(mesh_enable_cb, MESH_LOCAL);//MESH_ONLINE);
But I find that if I powered off the router, I cannot connect 2 modules together through mesh. Is it true?
The log is :
flush ssid:wec pwd:Jamesbong1
mesh version: v1.2.0
esp_mesh_demo_init OK
mode : sta(5c:cf:7f:88:13:e3) + softAP(5e:cf:7f:88:13:e3)
add if0
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
f r0, scandone
f r0, scandone
f r0, scandone
f r0, scandone
no ap to join
f r0, scandone
f r0, scandone
f r0, scandone
no ap to join
reconnect
f r0, scandone
f 0, scandone
f r0, scandone
f r0, scandone
no ap to join
f r0, scandone
f 0, scandone
f r0, scandone
f r0, scandone
no ap to join
f r0, scandone
f 0, scandone
f -180, scandone
f r0, scandone
f r0, scandone
f r0, scandone
no ap to join
f r0, scandone
f r0, scandone
f 0, scandone
f -180, scandone
f r0, scandone
no ap to join
mesh_enable_cb = enable mesh fail
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0

Statistics: Posted by jamesbong — Mon Jun 27, 2016 1:28 am


]]>