This was my code:
#include <BLEDevice.h>
#include <BLEServer.h>
// Define the UUIDs for the service and the characteristic
#define SERVICE_UUID "6effc9e5-62e7-40e2-81bd-255ec98872a3"
#define CHARACTERISTIC_UUID "e2f82484-c28e-4cc9-acd4-9aef7cd3cf15"
And I received these error messages:
d:\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEAdvertising.h:15,
from d:\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEServer.h:19,
from d:\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEDevice.h:18,
from C:\Users\wigun\AppData\Local\Temp.arduinoIDE-unsaved2023717-3456-deuswp.n19rd\sketch_aug17a\sketch_aug17a.ino:1:
d:\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/FreeRTOS.h:61:28: error: 'ringbuf_type_t' has not been declared
Ringbuffer(size_t length, ringbuf_type_t type = RINGBUF_TYPE_NOSPLIT);
^~~~~~~~~~~~~~
Multiple libraries were found for "BLEDevice.h"
Used: D:\Documents\Arduino\libraries\ESP32_BLE_Arduino
Not used: C:\Users\wigun\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\BLE
exit status 1
Compilation error: exit status 1
But it has been resolved, now I use only the espressif's library and deleted the Neil Kolban's.