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:
843:7d22b29f91bf
Parent:
728:997ba5e7b3b6
Child:
850:32ff6e392630
diff -r 4f7f7a4b0cb2 -r 7d22b29f91bf ble/services/UARTService.h
--- a/ble/services/UARTService.h	Mon Nov 02 09:09:04 2015 +0000
+++ b/ble/services/UARTService.h	Mon Nov 02 09:09:04 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"