esp-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist
Jiang Jiang Jian 0ab739f72c Merge branch 'bugfix/ble_mesh_wifi_coexit_example_v4.2' into 'release/v4.2'
bugfix: Delete local variables to avoid null global variables (backport v4.2)

See merge request espressif/esp-idf!11372
2021-02-05 20:21:58 +08:00
..
components/iperf Merge branch 'bugfix/ble_mesh_wifi_coexit_example_v4.2' into 'release/v4.2' 2021-02-05 20:21:58 +08:00
main console_repl: change config structure to support different devices 2020-06-30 20:18:27 +08:00
tutorial ble_mesh: Rename the folders ble_mesh_fast_prov_* to fast_prov_* 2020-05-20 11:33:46 +00:00
CMakeLists.txt ble_mesh: Rename esp_fast_prov_* to ble_mesh_fast_prov_* 2020-05-20 11:33:46 +00:00
Makefile ble_mesh: Rename esp_fast_prov_* to ble_mesh_fast_prov_* 2020-05-20 11:33:46 +00:00
partitions.csv global: update note in the partition tables 2019-07-27 10:28:16 +02:00
README.md ble_mesh: example: Fix example README & tutorial link error 2020-07-01 14:36:30 +08:00
sdkconfig.ci.bluedroid ble_mesh: Add bluedroid and nimble example configurations 2020-04-26 06:12:22 +00:00
sdkconfig.ci.bluedroid_deinit ble_mesh: ci: Add disabling mesh deinit sdkconfig test files 2020-12-10 09:32:10 +00:00
sdkconfig.ci.model ble_mesh: example: Update sdkconfig test files for disabling Health Server model 2020-12-10 09:32:10 +00:00
sdkconfig.ci.nimble ble_mesh: Add bluedroid and nimble example configurations 2020-04-26 06:12:22 +00:00
sdkconfig.ci.nimble_deinit ble_mesh: ci: Add disabling mesh deinit sdkconfig test files 2020-12-10 09:32:10 +00:00
sdkconfig.defaults ble_mesh: Miscellaneous modifications 2020-02-26 17:37:44 +08:00

Supported Targets ESP32

ESP BLE Mesh and WiFi Coexist example

此 example 是用来测试当 BLE Mesh 实现正常的配网和收发消息的正常功能时Wi-Fi 所能达到的最大 throughput 值。用户可以根据此 example 中的 throughput 值来实现自己需要的应用场景。如果用户对 ESP32 BLE Mesh 的使用方法还不熟悉,请参考BLE Mesh Node Example.

此demo主要分为两个部分

  • WiFi Iperf协议
  • BLE Mesh fast provision Server

WiFi的Iperf协议使用方法请参考WiFi Iperf README

当WiFi的Iperf开起来之后BLE Mesh就可以使用fast provsion 进行配网了此demo只实现了fast provsion 的server功能。此demo 的BLE Mesh模块实现了一个Element和以下几个Model

  • Config Server Model: 此Model是当对方需要配置APP Key, Dev Key,等信息时需要使用此Model
  • Config Client Model 此Model是当需要配置APP Key, Dev Key,等信息时需要使用此Model
  • Generic OnOff Server Model此Model通过暴露自己的OnOff State从而实现LED 灯的开关功能
  • Generic OnOff Client Model 使用此Model可以实现开关功能控制别的node 的LED灯的开关
  • Fast Provision Server Model 此Model是为了进行快速配网而实现的自定义Model通过此Model当节点作为临时provisioner进行配网成功后需要将生成的Element地址通过此Model进行传给provisioner
  • Fast Provision Client Model此Model和Fast Provision Server Model是配合使用的