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:
906:8ddab3271c2f
Parent:
890:f3144091ae19
Child:
907:f9a79127973a
diff -r d7b3121ed982 -r 8ddab3271c2f ble/services/UARTService.h
--- a/ble/services/UARTService.h	Thu Nov 26 12:52:02 2015 +0000
+++ b/ble/services/UARTService.h	Thu Nov 26 12:52:02 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"