OVMS3-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server
lly 0e4faac0ee ble_mesh: Rename ble mesh example main & init files
- Rename ble_mesh_demo_main.c to main.c
- Rename ble_mesh_demo_init.* to ble_mesh_example_init.*
2020-05-22 14:09:21 +08:00
..
main ble_mesh: Rename ble mesh example main & init files 2020-05-22 14:09:21 +08:00
tutorial ble_mesh: Fix typos 2020-05-13 18:33:46 +08:00
CMakeLists.txt ble_mesh: Move the example init to the components 2020-05-22 14:08:53 +08:00
Makefile ble_mesh: Move the example init to the components 2020-05-22 14:08:53 +08:00
README.md ble_mesh: Add ESP BLE Mesh implementation 2020-02-03 12:03:36 +08:00
sdkconfig.ci.bluedroid ble_mesh: Add bluedroid and nimble example configurations 2020-04-30 08:42:43 +00:00
sdkconfig.ci.nimble ble_mesh: Add bluedroid and nimble example configurations 2020-04-30 08:42:43 +00:00
sdkconfig.defaults ble_mesh: Add bluedroid and nimble example configurations 2020-04-30 08:42:43 +00:00

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.