EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1324 background imageLoading...
Page #1324 background image
Chapter 4. API Guides
esp_mesh_get_subnet_nodes_list() can be used to obtain the corresponding subtable of a spe-
cific child node. Likewise esp_mesh_get_subnet_nodes_num() can be used to obtain the size of the
subtable.
4.8.4 Building a Network
General Process
Warning: Before the ESP-WIFI-MESH network building process can begin, certain parts of the configuration
must be uniform across each node in the network (see mesh_cfg_t). Each node must be configured with the
same Mesh Network ID, router configuration, and softAP configuration.
An ESP-WIFI-MESH network building process involves selecting a root node, then forming downstream connections
layer by layer until all nodes have joined the network. The exact layout of the network can be dependent on factors
such as root node selection, parent node selection, and asynchronous power-on reset. However, the ESP-WIFI-MESH
network building process can be generalized into the following steps:
Fig. 10: ESP-WIFI-MESH Network Building Process
1. Root Node Selection The root node can be designated during configuration (see section on User Designated
Root Node), or dynamically elected based on the signal strength between each node and the router (see Automatic
Root Node Selection). Once selected, the root node will connect with the router and begin allowing downstream
connections to form. Referring to the figure above, node A is selected to be the root node hence node A forms an
upstream connection with the router.
2. Second Layer Formation Once the root node has connected to the router, idle nodes in range of the root
node will begin connecting with the root node thereby forming the second layer of the network. Once connected,
the second layer nodes become intermediate parent nodes (assuming maximum permitted layers > 2) hence the next
layer to form. Referring to the figure above, nodes B to D are in range of the root node. Therefore nodes B to D form
upstream connections with the root node and become intermediate parent nodes.
Espressif Systems 1313
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish