High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
671:33ec93d25695
Parent:
670:5e4aecd9af5b
Child:
710:b2e1a2660ec2
--- a/services/UARTService.h	Fri Jun 19 15:53:01 2015 +0100
+++ b/services/UARTService.h	Fri Jun 19 15:53:01 2015 +0100
@@ -21,7 +21,7 @@
 #include "Stream.h"
 
 #include "UUID.h"
-#include "BLEDevice.h"
+#include "BLE.h"
 
 extern const uint8_t  UARTServiceBaseUUID[UUID::LENGTH_OF_LONG_UUID];
 extern const uint16_t UARTServiceShortUUID;
@@ -48,9 +48,9 @@
 
     /**
     * @param[ref] ble
-    *                 BLEDevice object for the underlying controller.
+    *               BLE object for the underlying controller.
     */
-    UARTService(BLEDevice &_ble) :
+    UARTService(BLE &_ble) :
         ble(_ble),
         receiveBuffer(),
         sendBuffer(),
@@ -179,7 +179,7 @@
     }
 
 private:
-    BLEDevice          &ble;
+    BLE                &ble;
 
     uint8_t             receiveBuffer[BLE_UART_SERVICE_MAX_DATA_LEN]; /**< The local buffer into which we receive
                                                                        *   inbound data before forwarding it to the