OVMS3-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/README.md
Hrishikesh Dhayagude cba69dd088 Bluetooth examples restructuring
The existing Bluetooth examples are split as:

1. examples/bluetooth/bluedroid - Bluedroid Host (BT + BLE) examples
   a. examples/bluetooth/bluedroid/classic_bt - Classic BT examples
   b. examples/bluetooth/bluedroid/ble - BLE examples
   c. examples/bluetooth/bluedroid/coex - Classic BT and BLE coex examples
   d. examples/bluetooth/bluedroid/hci - VHCI and HCI UART examples
      i. Rename ble_adv to controller_vhci_ble_adv and move it in hci folder
2. examples/bluetooth/nimble - NimBLE BLE Host + NimBLE Mesh examples
3. examples/bluetooth/esp_ble_mesh - ESP BLE Mesh examples
4. Update documentation references
2019-07-01 19:21:57 +08:00

20 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ESP BLE Mesh and WiFi Coexist example
========================
此demo是用来测试当BLE Mesh实现正常的配网和收发消息的正常功能时WiFi 所能达到的最大throughput值。用户可以根据此demo中的throughput值来实现自己需要的应用场景。如果用户对ESP32 BLE Mesh使用方法还不熟悉的话 可以参考[BLE Mesh brief introduction](../ble_mesh_node/README.md)
此demo主要分为两个部分
- WiFi Iperf协议
- BLE Mesh fast provision Server
WiFi的Iperf协议使用方法请参考[WiFi Iperf README](../../../wifi/iperf/README.md)
当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是配合使用的