Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years ago.
Newbie BLE issues
Hi,
Starting a BLE project. I have C# & Java experience, and am learning C++ as part of this project.
Whatever I do, I'm getting "Undefined symbol createBLEDeviceInstance()". Googling (and mbed's help option) suggests that I've not linked something properly, but I can't work out what:
My main.cpp looks like:
- include "mbed.h"
- include "BLEDevice.h"
DigitalOut myled(LED1); BLEDevice ble;
int main(void) { return 0; }
and I've imported "BLE_API" and "mbed" libraries into the project.
Any help would be greatly appreciated!
1 Answer
10 years ago.
You need to import the library that provides the actual implementation for your hardware. In my case it is http://developer.mbed.org/teams/Nordic-Semiconductor/code/nRF51822/