Bluetooth Low Energy (a.k.a Bluetooth LE, BTLE, Bluetooth Smart)

mbed-os-example-ble-LEdBlinker fails to compile with missing references the /gap/ stuff in the BLE_API

18 May 2019

Hi All,

Am I totally missing something ?

I am trying to compile the example mbed-os-example-ble-LEdBlinker and after import BLE_LIB, using the online compiler the example fails to compile with the following error :

Error: Cannot open source input file "ble/gap/Gap.h": No such file or directory in "source/main.cpp", Line: 22, Col: 26

I cant find that a path /gap/ in the BLE API nor can I find the file AdvertisingDataParser.h which is also part of the include.

Thanks for any pointers.

Serge

18 May 2019

Think I figured it out now :-)

Related to the Target I am compiling for and the FEATURE needing to be enabled in mbed_app.json