Chapter 4. API Guides
Fig. 7: Effects of RSSI Thresholding
• Which layer the parent node candidate is situated on
• The number of downstream connections (child nodes) the parent node candidate currently has
The selection of the preferred parent node will always prioritize the parent node candidate on the shallowest layer
of the network (including the root node). This helps minimize the total number of layers in an ESP-WIFI-MESH
network when upstream connections are formed. For example, given a second layer node and a third layer node, the
second layer node will always be preferred.
If there are multiple parent node candidates within the same layer, the parent node candidate with the least child
nodes will be preferred. This criteria has the effect of balancing the number of downstream connections amongst
nodes of the same layer.
Fig. 8: Preferred Parent Node Selection
Panel A of the illustration above demonstrates an example of how the idle node G selects a preferred parent node
given the five parent node candidates B/C/D/E/F. Nodes on the shallowest layer are preferred, hence nodes B/C are
prioritized since they are second layer nodes whereas nodes D/E/F are on the third layer. Node C is selected as the
Espressif Systems 1311
Submit Document Feedback
Release v4.4