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

Dependencies:   BLE_API mbed nRF51822

Dependents:   BLE_ToUART

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Tue Sep 29 12:02:15 2015 +0000
Parent:
12:33153cf38631
Commit message:
updating underlying libraries.

Changed in this revision

BLE_API.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
nRF51822.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 33153cf38631 -r 15764cc1f12c BLE_API.lib
--- a/BLE_API.lib	Mon Aug 24 12:34:53 2015 +0000
+++ b/BLE_API.lib	Tue Sep 29 12:02:15 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#8d316a3271a8
+http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#d494ad3e87bd
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");
diff -r 33153cf38631 -r 15764cc1f12c mbed.bld
--- a/mbed.bld	Mon Aug 24 12:34:53 2015 +0000
+++ b/mbed.bld	Tue Sep 29 12:02:15 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/8ed44a420e5c
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/4f6c30876dfa
\ No newline at end of file
diff -r 33153cf38631 -r 15764cc1f12c nRF51822.lib
--- a/nRF51822.lib	Mon Aug 24 12:34:53 2015 +0000
+++ b/nRF51822.lib	Tue Sep 29 12:02:15 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#ca9c9c2cfc6a
+http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#088f5738bf18