mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6d87100a70
Specifying all the dependencies (managed and local) in the manifest makes it easier for users to see every component the example depends on. |
||
---|---|---|
.. | ||
main | ||
tutorial | ||
CMakeLists.txt | ||
partitions.csv | ||
README_CN.md | ||
README.md | ||
sdkconfig.ci.bluedroid | ||
sdkconfig.ci.bluedroid_deinit | ||
sdkconfig.ci.model | ||
sdkconfig.ci.nimble | ||
sdkconfig.ci.nimble_deinit | ||
sdkconfig.defaults | ||
sdkconfig.defaults.esp32c3 | ||
sdkconfig.defaults.esp32c6 | ||
sdkconfig.defaults.esp32s3 |
Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S3 |
---|
ESP-BLE-MESH and Wi-Fi Coexistence Example
This example is used to measure the maximum throughput value that Wi-Fi can achieve when ESP-BLE-MESH is provisioning, sending and receiving messages. Users can implement their own application scenarios based on the throughput value in this example. If users are not familiar with how to use ESP-BLE-MESH, please refer to ESP-BLE-MESH Node Example.
This example is divided into two main parts:
- Wi-Fi Iperf protocol
- ESP-BLE-MESH Fast Provisioning Server
For information on how to use the Iperf protocol for Wi-Fi, please refer to Wi-Fi Iperf README
When Wi-Fi Iperf is enabled, ESP-BLE-MESH can use fast provision for device provisioning. The node in this example contains one element that supports the following models:
- Configuration Server model: This model is mainly for node configuration after the device joins the ESP-BLE-MESH network, such as relay, friend feature, NetKey, etc.
- Configuration Client model: This model is used to get or set the configuration of other nodes, such as relay, friend feature, adding NetKey, etc.
- Generic On/Off Server model: This model is mainly used to indicate the value of node's On/Off state, and different state values determine the different states of the device (such as light on and off).
- Generic On/Off Client model: This model controls the on/off of the device by setting the On/Off state of other nodes.
- Fast Provision Server model: This model is a vendor server model implemented for fast provisioning. When the device is configured to join the network, it will temporarily act as a Provisioner for other devices; when the provisioning is completed, it will resume the node role and pass the addresses assigned to all nodes to the Fast Provision Client model through this model.
- Fast Provision Client model: This model needs to be used together with the Fast Provision Server model to get all addresses assigned to the nodes by the Fast Provisioning Server.