esp-idf/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_server
Ivan Grokhotkov 6d87100a70
feat(examples): add local components via idf_component.yml
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
..
main feat(examples): add local components via idf_component.yml 2023-09-19 10:38:24 +02:00
tutorial feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
CMakeLists.txt feat(examples): add local components via idf_component.yml 2023-09-19 10:38:24 +02:00
README.md fix(ble_mesh): Miscellaneous update for ble mesh 2023-09-16 15:58:14 +08:00
sdkconfig.ci.adv feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.ci.bluedroid feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.ci.bluedroid_deinit feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.ci.bluedroid_log feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.ci.model feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.ci.nimble feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.ci.nimble_deinit feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.ci.nimble_log feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.ci.scan feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.defaults feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview) 2023-09-08 21:37:33 +08:00
sdkconfig.defaults.esp32c3 feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.defaults.esp32c6 feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.defaults.esp32h2 feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
sdkconfig.defaults.esp32s3 feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00

Supported Targets ESP32 ESP32-C3 ESP32-C6 ESP32-H2 ESP32-S3

ESP BLE Mesh Node demo

This demo shows how BLE Mesh device can be set up as a node with the following features:

  • One element
  • Two SIG models
    • Configuration Server model: The role of this model is mainly to configure Provisioner devices AppKey and set up its relay function, TTL size, subscription, etc.
    • OnOff Server model: This model implements the most basic function of turning the lights on and off.

The default purpose of this demo is to enable the advertising function with 20-ms non-connectable interval in BLE 5.0. You can disable this function through menuconfig: idf.py menuconfig --> Example Configuration --> This option facilitates sending with 20ms non-connectable interval...

For a better demonstration effect, an RGB LED can be soldered onto the ESP32-DevKitC board, by connecting their corresponding GPIO pins are GPIO_NUM_25, GPIO_NUM_26, GPIO_NUM_27. Then you need to select the following option in menuconfig: idf.py menuconfig --> Example Configuration --> Board selection for BLE Mesh --> ESP-WROOM-32

Please check the tutorial for more information about this example.