1. BLE Mesh Core * Provisioning: Node Role * PB-ADV and PB-GATT * Authentication OOB * Provisioning: Provisioner Role * PB-ADV and PB-GATT * Authentication OOB * Networking * Relay * Segmentation and Reassembly * Key Refresh * IV Update * Proxy Support * Multiple Client Models Run Simultaneously * Support multiple client models send packets to different nodes simultaneously * No blocking between client model and server * NVS Storage * Store BLE Mesh node related information in flash * Store BLE Mesh Provisioner related information in flash 2. BLE Mesh Models * Foundation Models * Configuration Server Model * Configuration Client Model * Health Server Model * Health Client Model * Generic * Generic OnOff Server * Generic OnOff Client * Generic Level Server * Generic Level Client * Generic Default Transition Time Server * Generic Default Transition Time Client * Generic Power OnOff Server * Generic Power OnOff Setup Server * Generic Power OnOff Client * Generic Power Level Server * Generic Power Level Setup Server * Generic Power Level Client * Generic Battery Server * Generic Battery Client * Generic Location Server * Generic Location Setup Server * Generic Location Client * Generic Admin Property Server * Generic Manufacturer Property Server * Generic User Property Server * Generic Client Property Server * Generic Property Client * Sensor Server Model * Sensor Server * Sensor Setup Server * Sensor Client * Time and Scenes * Time Server * Time Setup Server * Time Client * Scene Server * Scene Setup Server * Scene Client * Scheduler Server * Scheduler Setup Server * Scheduler Client * Lighting * Light Lightness Server * Light Lightness Setup Server * Light Lightness Client * Light CTL Server * Light CTL Setup Server * Light CTL Client * Light CTL Temperature Server * Light HSL Server * Light HSL Setup Server * Light HSL Client * Light HSL Hue Server * Light HSL Saturation Server * Light xyL Server * Light xyL Setup Server * Light xyL Client * Light LC Server * Light LC Setup Server * Light LC Client 3. BLE Mesh Applications * BLE Mesh Node * OnOff Client Example * OnOff Server Example * BLE Mesh Provisioner * Example * Fast Provisioning * Vendor Fast Prov Server Model * Vendor Fast Prov Client Model * Examples * Wi-Fi & BLE Mesh Coexistence * Example * BLE Mesh Console Commands * Examples
79 lines
3.1 KiB
Markdown
79 lines
3.1 KiB
Markdown
# ESP-BLE-MESH Examples
|
|
|
|
[ESP-BLE-MESH]($IDF_PATH/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.
|
|
|
|
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).
|
|
|
|
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.
|
|
|
|
# Example Layout
|
|
|
|
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).
|
|
|
|
## ble_mesh_console
|
|
|
|
This example demonstrates how ESP-BLE-MESH uses Console for message transmitting/receiving tests.
|
|
|
|
#### ble_mesh_node
|
|
|
|
This example shows how ESP32 acts as a BLE Mesh Node and sends vendor messages for testing.
|
|
|
|
See [ble_mesh_node](ble_mesh_console/ble_mesh_node) folder for more details.
|
|
|
|
#### ble_mesh_provisioner
|
|
|
|
This example shows how ESP32 acts as a BLE Mesh Provisioner and sends vendor messages for testing.
|
|
|
|
See [ble_mesh_provisioner](ble_mesh_console/ble_mesh_provisioner) folder for more details.
|
|
|
|
## ble_mesh_fast_provision
|
|
|
|
This example illustrates the solution of ESP-BLE-MESH Fast Provisioning.
|
|
|
|
#### ble_mesh_fast_prov_client
|
|
|
|
This example shows how ESP32, acting as a BLE Mesh Fast Provisioning Client, provisions other unprovisioned devices and then controls the nodes.
|
|
|
|
See [ble_mesh_fast_prov_client](ble_mesh_fast_provision/ble_mesh_fast_prov_client) folder for more details.
|
|
|
|
#### ble_mesh_fast_prov_server
|
|
|
|
This example illustrates the process that:
|
|
1. ESP32 as a BLE Mesh Fast Provisioning Server is provisioned into a node;
|
|
2. ESP32 as a Temporary Provisioner provisions other unprovisioned devices.
|
|
|
|
See [ble_mesh_fast_prov_server](ble_mesh_fast_provision/ble_mesh_fast_prov_server) folder for more details.
|
|
|
|
## ble_mesh_node
|
|
|
|
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.
|
|
|
|
See [onoff_client](ble_mesh_node/onoff_client) folder for more details.
|
|
|
|
#### onoff_server
|
|
|
|
This example shows how ESP32 acts as a BLE Mesh Node with only Generic OnOff Server model in the Primary Element.
|
|
|
|
See [onoff_server](ble_mesh_node/onoff_server) folder for more details.
|
|
|
|
## ble_mesh_provisioner
|
|
|
|
This example shows how ESP32 acts as a BLE Mesh Provisioner and provisions other unprovisioned devices.
|
|
|
|
See [ble_mesh_provisioner](ble_mesh_provisioner) folder for more details.
|
|
|
|
## ble_mesh_wifi_coexist
|
|
|
|
This example shows how ESP32 acts as a BLE Mesh Fast Provisioning Server and coexists with Wi-Fi iperf functionality.
|
|
|
|
See [ble_mesh_wifi_coexist](ble_mesh_wifi_coexist) folder for more details.
|
|
|
|
# More
|
|
|
|
See the [README.md](../../README.md) file in the upper level [examples](../../) directory for more information about examples.
|
|
|