cba69dd088
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 |
||
---|---|---|
.. | ||
main | ||
tutorial | ||
CMakeLists.txt | ||
Makefile | ||
README.md | ||
sdkconfig.defaults |
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 device’s 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: make 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:
make menuconfig --> Example Configuration --> Board selection for BLE Mesh --> ESP-WROOM-32
Please check the tutorial for more information about this example.