This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| substitutions: | |
| device_name: wican | |
| esp32: | |
| variant: ESP32C3 | |
| board: esp32-c3-devkitm-1 | |
| esphome: | |
| name: ${device_name} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| control app https://x.thunkable.com/copy/e8f633a8a9a3e979025112e18446d3b4 | |
| Video: https://www.youtube.com/watch?v=oCMOYS71NIU | |
| Based on Neil Kolban example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleNotify.cpp | |
| Ported to Arduino ESP32 by Evandro Copercini | |
| Create a BLE server that, once we receive a connection, will send periodic notifications. | |
| The service advertises itself as: 6E400001-B5A3-F393-E0A9-E50E24DCCA9E | |
| Has a characteristic of: 6E400002-B5A3-F393-E0A9-E50E24DCCA9E - used for receiving data with "WRITE" | |
| Has a characteristic of: 6E400003-B5A3-F393-E0A9-E50E24DCCA9E - used to send data with "NOTIFY" |