Techcon 2014 BLE sample Police HRM (earbud-based) for Nordic

Dependencies:   BLE_API GroveEarbudSensor mbed nRF51822 BufferedSerial

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Fri Feb 13 04:06:49 2015 +0000
Parent:
3:906ca3322e53
Commit message:
updates

Changed in this revision

BLE_API.lib Show annotated file Show diff for this revision Revisions of this file
BufferedSerial.lib Show annotated file Show diff for this revision Revisions of this file
GroveEarbudSensor.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 906ca3322e53 -r 093502479b1d BLE_API.lib
--- a/BLE_API.lib	Fri Sep 26 03:44:23 2014 +0000
+++ b/BLE_API.lib	Fri Feb 13 04:06:49 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#620d28e7a1ba
+http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#1407d2f1ce3c
diff -r 906ca3322e53 -r 093502479b1d BufferedSerial.lib
--- a/BufferedSerial.lib	Fri Sep 26 03:44:23 2014 +0000
+++ b/BufferedSerial.lib	Fri Feb 13 04:06:49 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/sam_grove/code/BufferedSerial/#8287e83943f0
+http://mbed.org/users/sam_grove/code/BufferedSerial/#9ee15ae3d1a3
diff -r 906ca3322e53 -r 093502479b1d GroveEarbudSensor.lib
--- a/GroveEarbudSensor.lib	Fri Sep 26 03:44:23 2014 +0000
+++ b/GroveEarbudSensor.lib	Fri Feb 13 04:06:49 2015 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/ansond/code/GroveEarbudSensor/#d1fc51718ca7
+http://developer.mbed.org/users/ansond/code/GroveEarbudSensor/#db3dea613e09
diff -r 906ca3322e53 -r 093502479b1d main.cpp
--- a/main.cpp	Fri Sep 26 03:44:23 2014 +0000
+++ b/main.cpp	Fri Feb 13 04:06:49 2015 +0000
@@ -21,7 +21,7 @@
 // ********************* BEGIN Tunables for TechCon 2014
 
 // !!!!IMPORTANT!!!!  CHANGE DEVICE_NAME so that you can find *YOUR* Nordic board in the workshop on your phone!!
-const static char     DEVICE_NAME[]     = "Policeman #1234";                 // what we want to appear as in mBED device server
+const static char     DEVICE_NAME[]     = "Policeman #DOUG";                 // what we want to appear as in mBED device server
 
 #define HRM_INCREMENT                     10                                 // increment of HRM per button press (+/-)
 #define HRM_DEFAULT_INIT                  70                                 // default HRM (button only... earbud defaults to offline status)
@@ -83,7 +83,7 @@
 }
 
 // Connection callback
-void connectionCallback(Gap::Handle_t handle, const Gap::ConnectionParams_t *parms) {
+void connectionCallback(Gap::Handle_t handle, Gap::addr_type_t peerAddrType, const Gap::address_t peerAddr, const Gap::ConnectionParams_t *params) {
     LOG_CONSOLE("Endpoint is connected!\r\n");
     connected = true;
 }
diff -r 906ca3322e53 -r 093502479b1d mbed.bld
--- a/mbed.bld	Fri Sep 26 03:44:23 2014 +0000
+++ b/mbed.bld	Fri Feb 13 04:06:49 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/e188a91d3eaa
\ No newline at end of file
diff -r 906ca3322e53 -r 093502479b1d nRF51822.lib
--- a/nRF51822.lib	Fri Sep 26 03:44:23 2014 +0000
+++ b/nRF51822.lib	Fri Feb 13 04:06:49 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#e6cc149033a6
+http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#0e7a9efee6d7