How to test ESP Mesh Network

hetal.panara82
Posts: 16
Joined: Wed Jun 26, 2019 7:11 am

How to test ESP Mesh Network

Postby hetal.panara82 » Sun Jan 19, 2020 3:34 am

I have three ESP32 modules and I have made one of the module as fixed root node.
Other two nodes should connect to root for sending request.
I see that both the nodes are able to send http request and receive response.
However I see that both the nodes are directly connecting to root node,
but I want to test one node directly connecting to root and the other node should connect to root via other node.

How do I test this and does it print some log information to validate the scenario?

Request for any document or instruction to achieve this testing

Cheers!!
/Hp

ESP_LBB
Posts: 108
Joined: Fri May 18, 2018 3:41 am

Re: How to test ESP Mesh Network

Postby ESP_LBB » Sun Jan 19, 2020 4:12 am

Hi hetal,

Yes in our algorithm we will tradeoff between the deep of layer and RSSI between nodes, for example you have a root A and a 2nd layer node B, another node C has both good RSSI with these two, then C will connect to A as a priority. But when C has much better RSSI with B than with A, then it will connect to B as a 3rd layer node.

If you only want to test A-B-C scenario, you can in the code set the max_connection as 1, that means for each node, it can only have one child node. You can have more info in this doc: https://docs.espressif.com/projects/esp ... onnectionE

kieen_nt
Posts: 1
Joined: Wed Aug 21, 2024 10:31 am

Re: How to test ESP Mesh Network

Postby kieen_nt » Wed Aug 21, 2024 10:38 am

Hi hetal,
I'm trying to build a mesh network with a fixed root and a node that carries a http request, just like you have done.
Do you still keep that source code, if so, could you share it to me?
I would appreciate it very much.
Thank you.

Who is online

Users browsing this forum: No registered users and 18 guests