2019-11-26 20:53:20 -05:00
# ESP-BLE-MESH Examples
2019-08-07 04:33:42 -04:00
2020-06-15 15:15:51 -04:00
[ESP-BLE-MESH ](../../../components/bt/esp_ble_mesh/ ) is the official Bluetooth® Mesh stack of Espressif Systems. We will provide long-term support for new features, performance optimization, etc.
2019-08-07 04:33:42 -04:00
2019-11-26 20:53:20 -05:00
Please help note that breaking changes may be introduced into ESP-BLE-MESH on [minor IDF versions ](https://docs.espressif.com/projects/esp-idf/en/latest/versions.html ).
2019-08-07 04:33:42 -04:00
2019-11-26 20:53:20 -05:00
Note: To use examples in this directory, you need to have Bluetooth enabled in configuration, and either Bluedroid or NimBLE can be selected as the host stack.
2019-08-07 04:33:42 -04:00
# Example Layout
2019-11-26 20:53:20 -05:00
This directory includes examples to demonstrate ESP-BLE-MESH functionality based on [Zephyr Bluetooth Mesh stack ](https://github.com/zephyrproject-rtos/zephyr/tree/master/subsys/bluetooth/mesh ).
2019-08-07 04:33:42 -04:00
2023-08-26 05:19:57 -04:00
## fast_provisioning
2019-08-07 04:33:42 -04:00
2019-11-26 20:53:20 -05:00
This example illustrates the solution of ESP-BLE-MESH Fast Provisioning.
2019-08-07 04:33:42 -04:00
2020-05-13 04:28:31 -04:00
#### fast_prov_client
2019-08-07 04:33:42 -04:00
2019-11-26 20:53:20 -05:00
This example shows how ESP32, acting as a BLE Mesh Fast Provisioning Client, provisions other unprovisioned devices and then controls the nodes.
2019-08-07 04:33:42 -04:00
2023-08-26 05:19:57 -04:00
See [fast_prov_client ](fast_provisioning/fast_prov_client ) folder for more details.
2019-08-07 04:33:42 -04:00
2020-05-13 04:28:31 -04:00
#### fast_prov_server
2019-08-07 04:33:42 -04:00
This example illustrates the process that:
2019-11-26 20:53:20 -05:00
1. ESP32 as a BLE Mesh Fast Provisioning Server is provisioned into a node;
2. ESP32 as a Temporary Provisioner provisions other unprovisioned devices.
2019-08-07 04:33:42 -04:00
2023-08-26 05:19:57 -04:00
See [fast_prov_server ](fast_provisioning/fast_prov_server ) folder for more details.
2019-08-07 04:33:42 -04:00
2023-08-26 05:19:57 -04:00
## onoff_models
2019-08-07 04:33:42 -04:00
2019-11-26 20:53:20 -05:00
This example demonstrates how ESP32 acts as a BLE Mesh node with Generic OnOff Server model or Generic OnOff Client model on board.
#### onoff_client
This example shows how ESP32 acts as a BLE Mesh Node with Generic OnOff Client model in the Primary Element.
2023-08-26 05:19:57 -04:00
See [onoff_client ](onoff_models/onoff_client ) folder for more details.
2019-11-26 20:53:20 -05:00
#### onoff_server
This example shows how ESP32 acts as a BLE Mesh Node with only Generic OnOff Server model in the Primary Element.
2019-08-07 04:33:42 -04:00
2023-08-26 05:19:57 -04:00
See [onoff_server ](onoff_models/onoff_server ) folder for more details.
2019-08-07 04:33:42 -04:00
2023-08-26 05:19:57 -04:00
## provisioner
2019-08-07 04:33:42 -04:00
This example shows how ESP32 acts as a BLE Mesh Provisioner and provisions other unprovisioned devices.
2023-08-26 05:19:57 -04:00
See [provisioner ](provisioner ) folder for more details.
2019-08-07 04:33:42 -04:00
2023-08-26 05:19:57 -04:00
## vendor_models
2020-03-02 05:17:44 -05:00
This example demonstrates how ESP32 acts as a BLE Mesh Provisioner with vendor client model or as a BLE Mesh node with vendor server model.
#### vendor_client
This example shows how ESP32 acts as a BLE Mesh Provisioner with a vendor client model in the Primary Element.
2023-08-26 05:19:57 -04:00
See [vendor_client ](vendor_models/vendor_client ) folder for more details.
2020-03-02 05:17:44 -05:00
#### vendor_server
This example shows how ESP32 acts as a BLE Mesh Node with a vendor server model in the Primary Element.
2023-08-26 05:19:57 -04:00
See [vendor_server ](vendor_models/vendor_server ) folder for more details.
2020-03-02 05:17:44 -05:00
2023-08-26 05:19:57 -04:00
## wifi_coexist
2019-08-07 04:33:42 -04:00
This example shows how ESP32 acts as a BLE Mesh Fast Provisioning Server and coexists with Wi-Fi iperf functionality.
2023-08-26 05:19:57 -04:00
See [wifi_coexist ](wifi_coexist ) folder for more details.
2019-08-07 04:33:42 -04:00
# More
See the [README.md ](../../README.md ) file in the upper level [examples ](../../ ) directory for more information about examples.