Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_HeartRate_AddSec by
Revision 7:e8dfe1c97c71, committed 2015-09-29
- Comitter:
- rgrover1
- Date:
- Tue Sep 29 12:05:32 2015 +0000
- Parent:
- 6:715150f7f293
- Commit message:
- updating underlying libraries.
Changed in this revision
--- a/BLE_API.lib Sat Jun 20 23:44:08 2015 +0000 +++ b/BLE_API.lib Tue Sep 29 12:05:32 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#9f4251b3355c +http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#d494ad3e87bd
--- a/main.cpp Sat Jun 20 23:44:08 2015 +0000
+++ b/main.cpp Tue Sep 29 12:05:32 2015 +0000
@@ -27,7 +27,7 @@
GattService::UUID_DEVICE_INFORMATION_SERVICE};
static volatile bool triggerSensorPolling = false;
-void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason)
+void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params)
{
printf("Disconnected!\r\n");
ble.startAdvertising(); // restart advertising
@@ -59,9 +59,9 @@
void securitySetupCompletedCallback(Gap::Handle_t handle, SecurityManager::SecurityCompletionStatus_t status)
{
if (status == SecurityManager::SEC_STATUS_SUCCESS) {
- printf("Security success\r\n", status);
+ printf("Security success\r\n");
} else {
- printf("Security failed\r\n", status);
+ printf("Security failed\r\n");
}
}
--- a/mbed.bld Sat Jun 20 23:44:08 2015 +0000 +++ b/mbed.bld Tue Sep 29 12:05:32 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/4f6c30876dfa \ No newline at end of file
--- a/nRF51822.lib Sat Jun 20 23:44:08 2015 +0000 +++ b/nRF51822.lib Tue Sep 29 12:05:32 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#7c68c8d67e1f +http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#088f5738bf18
