Page 1 of 1
ESP32 mesh network manual assign root node
Posted: Mon May 14, 2018 2:34 am
by jimcooper
Hi
Could I assign a root node by myself and without a router in mesh network?
I want to build a mesh network but I don't need a router. The data just transmitted in the mesh network.
How to do that?
Re: ESP32 mesh network manual assign root node
Posted: Mon May 14, 2018 6:27 am
by ESP_Sprite
Moved to MDF forum.
Re: ESP32 mesh network manual assign root node
Posted: Fri May 18, 2018 8:28 am
by ESP_yudong
Non-router network isn't supported yet.
But you could assign a root node by esp_mesh_set_parent.
Re: ESP32 mesh network manual assign root node
Posted: Tue May 22, 2018 10:28 am
by jimcooper
Hi ESP_yudong
Have the plan to support non-router mode?
What time can deliver?
Re: ESP32 mesh network manual assign root node
Posted: Wed Jun 27, 2018 4:26 pm
by rlezuo
Is there any progress on router-less root-node selection?
I also just need node-to-node communication w/o a router.
Re: ESP32 mesh network manual assign root node
Posted: Wed Jun 27, 2018 4:45 pm
by rlezuo
My application only requires node-to-node communication.
It is desired to operate the mesh w/o any infrastructure and thus w/o router.
It would be okay to select a fixed node as the root.
Is this possible?
Re: ESP32 mesh network manual assign root node
Posted: Mon Jul 02, 2018 2:21 pm
by ESP_yudong
Try "esp_mesh_set_parent()" and "esp_mesh_fix_root()"
Then you can set one device as root with a nonexistent router. I’m not sure if this is what you need.
https://github.com/espressif/esp-idf/tr ... networking
rlezuo wrote:My application only requires node-to-node communication.
It is desired to operate the mesh w/o any infrastructure and thus w/o router.
It would be okay to select a fixed node as the root.
Is this possible?
Re: ESP32 mesh network manual assign root node
Posted: Tue Jul 03, 2018 11:26 am
by rlezuo
This line:
https://github.com/espressif/esp-idf/bl ... main.c#L91
The root node is looking for a WiFi Router, the example does not work if the WiFi Router is off.
Why is this?
Re: ESP32 mesh network manual assign root node
Posted: Thu Jul 05, 2018 5:03 am
by ESP_yudong
The example is not for non-router network, just show how to use ‘esp_mesh_set_parent‘.
When you already have a mesh network established, and then turn off the router, the mesh network will not be destroyed if root node keep alive. So it's possible to establish a mesh network using 'esp_mesh_set_parent' to assign a root node even the router doesn't exist.
I hope this will meet your needs.
Re: ESP32 mesh network manual assign root node
Posted: Sat Jul 07, 2018 4:38 pm
by plajjd
I also would like to use ESP32 devices to form a large (50 - 100 nodes) WiFi mesh network that does NOT require a router. Does Espressif have any plans to add support for this?
Thank you!