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 Mesh, Can connect only one node
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 57 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.