This is a simple program to work with RedBearLab BLE Controller App. Type something from the Terminal to send to the BLEController App or vice verse. Characteristics received from App will print on Terminal.

Dependencies:   BLE_API mbed nRF51822

Files at this revision

API Documentation at this revision

Comitter:
RedBearLab
Date:
Thu Jan 07 02:46:54 2016 +0000
Parent:
2:4b66b69c7ecb
Commit message:
Update 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
--- a/BLE_API.lib	Mon Jul 27 06:52:44 2015 +0000
+++ b/BLE_API.lib	Thu Jan 07 02:46:54 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#4cd3b18607ec
+http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#bfc5b9b6ecf5
--- a/main.cpp	Mon Jul 27 06:52:44 2015 +0000
+++ b/main.cpp	Thu Jan 07 02:46:54 2016 +0000
@@ -63,7 +63,7 @@
 
 
 
-void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason)
+void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params)
 {
     pc.printf("Disconnected \r\n");
     pc.printf("Restart advertising \r\n");
--- a/mbed.bld	Mon Jul 27 06:52:44 2015 +0000
+++ b/mbed.bld	Thu Jan 07 02:46:54 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/bad568076d81
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c
\ No newline at end of file
--- a/nRF51822.lib	Mon Jul 27 06:52:44 2015 +0000
+++ b/nRF51822.lib	Thu Jan 07 02:46:54 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#c7adea3c1e37
+http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#3cc0718d98d0