esp mesh: tree depth vs RSSI

Zevver
Posts: 14
Joined: Sun Oct 17, 2021 5:18 pm

esp mesh: tree depth vs RSSI

Postby Zevver » Tue Sep 06, 2022 11:25 am

Hello,

We are developing software using a esp32 mesh network. The default network uses a tree topology where the main goal seems to be to reduce the depth of the tree. It seems this can lead to sub-optimal network performance in our tests. For example,
consider the following minimal tree:

Code: Select all

  
  a
 /  \
b   c
In the field the A<->C RSSI can be much worse than the B<->C RSSI, but as long as the signal is "strong enough" the mesh library will still decide to connect C directly to A. When the RSSI from C to B is much better than from C to A, we would like the network to layout the tree like this:

Code: Select all

  a
  |
  b
  |
  c
Is there a way to instruct the mesh to prefer RSSI over tree depth? Setting the absolute minimal accepted RSSI is not acceptable as this would prevent the network from including some nodes at all.

Who is online

Users browsing this forum: Teh2024 and 248 guests