use UART Service to loopback anything received on the TX characteristic onto the RX.

Dependencies:   BLE_API mbed nRF51822

Dependents:   BLE_ToUART

Revision:
13:15764cc1f12c
Parent:
12:33153cf38631
diff -r 33153cf38631 -r 15764cc1f12c main.cpp
--- a/main.cpp	Mon Aug 24 12:34:53 2015 +0000
+++ b/main.cpp	Tue Sep 29 12:02:15 2015 +0000
@@ -33,7 +33,7 @@
 
 UARTService *uartServicePtr;
 
-void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason)
+void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params)
 {
     DEBUG("Disconnected!\n\r");
     DEBUG("Restarting the advertising process\n\r");