Reputation: 1
when i install Arduino IDE and install all the library carefully after that i install ESP32 BLE Arduino library successfully and click on file< Example< ESP32 BLE Arduino < BLE_notify add the code and select a board ESP32 dev module and compile the this through Compiler error
In file included from C:\Users\91790\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEAdvertising.h:15,
from C:\Users\91790\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEServer.h:19,
from C:\Users\91790\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEDevice.h:18,
from C:\Users\91790\AppData\Local\Temp\.arduinoIDE-unsaved2024226-8956-kx46nz.zeoqg\BLE_notify\BLE_notify.ino:22:
C:\Users\91790\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);
^~~~~~~~~~~~~~
Using library ESP32 BLE Arduino at version 1.0.1 in folder: C:\Users\91790\Documents\Arduino\libraries\ESP32_BLE_Arduino
exit status 1
Compilation error: exit status 1
when i install Arduino IDE and install all the library carefully after that i install ESP32 BLE Arduino library successfully and click on file< Example< ESP32 BLE Arduino < BLE_notify add the code and select a board ESP32 dev module and compile the this through Compiler error
Upvotes: 0
Views: 1309
Reputation: 43
EDIT
Found Solution
I'll paste answer from https://github.com/nkolban/esp32-snippets/issues/1100
"had the same issue, what I did to make it work were: 1st - I re-installed my ESP32 board, through the boards manager. 2nd - uninstall/delete the ESP32_BLE_Arduino library and also the ArduinoBLE library. For the ArduinoBLE package, I just moved it outside my library folder just incase I'll be needing it in the future."
by User StultusRex
Worked for me.
Upvotes: 0