ESP8266 Developer Zone The Official ESP8266 Forum 2016-12-05T12:28:59+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3159 2016-12-05T12:28:59+08:00 2016-12-05T12:28:59+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3159&p=10782#p10782 <![CDATA[Re: ESP Mesh, Can connect only one node]]>
Akshatha wrote:
Hi,

Am working on ESP8266-Mesh based project and using ESP8266-Mesh-Demo-Master to understand the Mesh operation in ESP. I am using ESP-12E, I followed the steps as given in the GitHub-Readme (https://github.com/espressif/ESP8266_MESH_DEMO) and flashed the run image generated by gen_misc.sh to three ESP’s using ESP Flash Download tool.
1. Initially ESP wasn’t connecting to the router so I commented a couple of code lines in mesh_demo.c (router_init), as suggested in ESP-mesh forum.
2. After the changes, root node connected to the router (AP).
3. Now, I have problems with connecting more than one node to the Root Node.

1st node (Let’s say A) will connect to the router and the 2nd node(B) will connect to the root node (i.e A). But am unable to connect 3rd ESP(C) to root node(A) or (B), it is directly connecting to the router, which should not be the scenario.

What am I missing here ? Any changes to the code in the mesh_demo ? Or am I supposed to run different .bin files for Non-root nodes?

Please help me in solving the above issue

Thank you


If there are more than one root, they will contest to work as root, one continues to work as root, and the other nodes will rejoin mesh.

Statistics: Posted by Guest — Mon Dec 05, 2016 12:28 pm


]]>
2016-12-02T01:09:09+08:00 2016-12-02T01:09:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3159&p=10750#p10750 <![CDATA[ESP Mesh, Can connect only one node]]>
Am working on ESP8266-Mesh based project and using ESP8266-Mesh-Demo-Master to understand the Mesh operation in ESP. I am using ESP-12E, I followed the steps as given in the GitHub-Readme (https://github.com/espressif/ESP8266_MESH_DEMO) and flashed the run image generated by gen_misc.sh to three ESP’s using ESP Flash Download tool.
1. Initially ESP wasn’t connecting to the router so I commented a couple of code lines in mesh_demo.c (router_init), as suggested in ESP-mesh forum.
2. After the changes, root node connected to the router (AP).
3. Now, I have problems with connecting more than one node to the Root Node.

1st node (Let’s say A) will connect to the router and the 2nd node(B) will connect to the root node (i.e A). But am unable to connect 3rd ESP(C) to root node(A) or (B), it is directly connecting to the router, which should not be the scenario.

What am I missing here ? Any changes to the code in the mesh_demo ? Or am I supposed to run different .bin files for Non-root nodes?

Please help me in solving the above issue

Thank you

Statistics: Posted by Akshatha — Fri Dec 02, 2016 1:09 am


]]>