BLE heart rate example, with yotta machinations.

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_HeartRate by Bluetooth Low Energy

Revision:
56:83623419d5e4
Parent:
55:3a7d497a3e03
Child:
65:cb76569f74f6
diff -r 3a7d497a3e03 -r 83623419d5e4 main.cpp
--- a/main.cpp	Mon Feb 09 04:50:03 2015 +0000
+++ b/main.cpp	Tue Mar 24 08:07:25 2015 +0000
@@ -69,7 +69,7 @@
     ble.accumulateAdvertisingPayload(GapAdvertisingData::GENERIC_HEART_RATE_SENSOR);
     ble.accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LOCAL_NAME, (uint8_t *)DEVICE_NAME, sizeof(DEVICE_NAME));
     ble.setAdvertisingType(GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED);
-    ble.setAdvertisingInterval(Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(1000));
+    ble.setAdvertisingInterval(1000);
     ble.startAdvertising();
 
     // infinite loop