Demo for the LinkLoss Service.

Dependencies:   BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1

Revision:
1:88466c5aed5f
Parent:
0:440ee5e8595f
Child:
4:88dca48b2397
--- a/main.cpp	Thu Dec 11 12:07:38 2014 +0000
+++ b/main.cpp	Tue Mar 24 08:12:29 2015 +0000
@@ -39,7 +39,7 @@
 
     ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED | GapAdvertisingData::LE_GENERAL_DISCOVERABLE);
     ble.setAdvertisingType(GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED);
-    ble.setAdvertisingInterval(Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(1000)); /* 1second. */
+    ble.setAdvertisingInterval(1000); /* 1second. */
     ble.startAdvertising();
 
     while (true) {