ESP Mesh, Can connect only one node

Akshatha
Posts: 2
Joined: Wed Nov 30, 2016 1:05 pm

ESP Mesh, Can connect only one node

Postby Akshatha » Fri Dec 02, 2016 1:09 am

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

ESP_Alen

Re: ESP Mesh, Can connect only one node

Postby ESP_Alen » Mon Dec 05, 2016 12:28 pm

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.

Who is online

Users browsing this forum: No registered users and 288 guests