I am trying to build a BLE central application on the mbed compiler (target BLE Nano).
I have chosen the ble_app_uart_c example from the nRF5 SDK as a starting point. My question is about how to satisfy these dependencies.
#include "nordic_common.h"
#include "app_error.h"
#include "app_uart.h"
#include "app_trace.h"
#include "ble_db_discovery.h"
#include "app_timer.h"
#include "app_trace.h"
#include "app_util.h"
#include "app_error.h"
#include "bsp.h"
#include "bsp_btn_ble.h"
#include "boards.h"
#include "ble.h"
#include "ble_gap.h"
#include "ble_hci.h"
#include "softdevice_handler.h"
#include "ble_advdata.h"
#include "ble_nus_c.h"
There is another (peripheral) example that compiles with just these
#include "mbed.h"
#include "UARTService.h"
#include "BLE.h"
However, the central example has several dependencies that are not satisfied using just these.
Presumably I need a different or additional library for a BLE central?
Any suggestions pls?