Hello,
i have been playing with my esp32 and arduino IDE for a while. And now i bought this course.
I am trying to compile the code of the BLE Android App, but i have this issue:
gatt_api.h: No such file or directory
I have checked with git GUI that i have the latest package from there,
i have arduino 1.8.5.
and i have googled this problem 2 hours without finding that very library from github.
When i found some gatt_api.h bluedroid whatever it was, and place it to my Arduino library folder. i got the next issue. And in git hub the said that i should down grade esp32BLEarduino lib to 0.4.0 or 0.4.1.. but when i did that my IDE lost the gat_api.h file again.
I am kind of frustrated in this loop. 🙂
Please help
BR
Jussi
Hello Jussi,
Can you remove the entire espressif folder and start from scratch following the new installation method (without using Git GUI)? https://rntlab.com/installing-the-esp32-board-in-arduino-ide-windows-mac-os-x-and-linux/
First, make sure you follow step 2. Deleting the espressif folder.
Let me know if it works for you. Thanks for your patience!
Thanks Rui,
i Did that and also found out that my BLE lib from IDE’s own lib search only showed me the version 0.4.7. And i found out that Neil Kolban has already upgrated his to 04.16 that can be found from here:
https://platformio.org/lib/show/1841/ESP32%20BLE%20Arduino/examples?file=BLE_uart.ino
So i got it working! thank you very much!!
BR
J