-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'docs/improve_README' into 'master'
docs(README): Modify the description in the README See merge request application/esp-mdf!297
- Loading branch information
Showing
7 changed files
with
59 additions
and
26 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
[[CN]](./README_cn.md) | ||
|
||
# Mwifi | ||
|
||
This directory contains examples for two common networking modes of ESP-MESH: with router or without router. | ||
|
||
In the ESP-MESH networking, there are two ways to generate root node: | ||
|
||
1. Automatically selected root node: automatically elected based on the signal strength of the idle node and the router. | ||
2. Fixed root node: choose a device as the root node in the code, and the remaining devices are non-root nodes | ||
|
||
According to the two generation ways of root node, the networking mode can be simply divided into two cases: with router and without router. | ||
|
||
## Without router | ||
|
||
When there is no router in the case, we can only choose the fixed root node mode. Refer to [No Routing Sample Program] (./no_router) | ||
|
||
##With router | ||
|
||
When there are routers in the case, we can choose either of the two modes for networking. In the example we use the automatically selected root node. The automatical selection of the root node involves the election process between all idle nodes based on their signal strength with the router, so only in the presence of a router, each idle node will send its MAC address and router RSSI through the Wi-Fi beacon frame. The MAC address is used to uniquely identify each node in the network, and the router RSSI is used to indicate the signal strength of the node reference router. See [routed TCP communication sample program] (./router), [routed MQTT communication sample program] (./mqtt_example) | ||
|
||
## Performance Testing | ||
|
||
Test the ESP-MESH throughput, network configuration, and packet delay by inputting commands through the serial port. Refer to [Performance Test Sample Program] (./console_test) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters