• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

gatt_api.h: No such file or directory

Q&A Forum › Category: ESP32 › gatt_api.h: No such file or directory
0 Vote Up Vote Down
Jussi Oksanen asked 5 years ago

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

3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

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!

0 Vote Up Vote Down
Jussi Oksanen answered 5 years ago

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
 
 

0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Thanks for letting me know the solution Jussi and I’m glad you made it work!

Regards,
Rui

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.