Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API

Dependents:   microbit-dal microbit-dal microbit-ble-open microbit-dal ... more

Fork of BLE_API by Bluetooth Low Energy

Revision:
851:802f445cc195
Parent:
850:32ff6e392630
Child:
852:f0de1349300c
diff -r 32ff6e392630 -r 802f445cc195 ble/services/UARTService.h
--- a/ble/services/UARTService.h	Mon Nov 02 09:09:05 2015 +0000
+++ b/ble/services/UARTService.h	Mon Nov 02 09:09:05 2015 +0000
@@ -17,8 +17,13 @@
 #ifndef __BLE_UART_SERVICE_H__
 #define __BLE_UART_SERVICE_H__
 
+#ifdef YOTTA_CFG_MBED_OS
+#include "mbed-drivers/mbed.h"
+#include "mbed-drivers/Stream.h"
+#else
 #include "mbed.h"
 #include "Stream.h"
+#endif
 
 #include "ble/UUID.h"
 #include "ble/BLE.h"