v2

Dependencies:   BLE_API mbed DOOR

Fork of DOOR by Aura-Tech Solutions

Revision:
60:3034dc913ea1
Parent:
59:4cd4f48e2775
Child:
67:81b595625ce0
diff -r 4cd4f48e2775 -r 3034dc913ea1 main.cpp
--- a/main.cpp	Tue Feb 17 09:40:14 2015 +0000
+++ b/main.cpp	Tue Mar 24 08:08:38 2015 +0000
@@ -49,7 +49,7 @@
 
     iBeaconService ibeacon(ble, uuid, majorNumber, minorNumber, txPower);
 
-    ble.setAdvertisingInterval(Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(1000)); /* 1000ms. */
+    ble.setAdvertisingInterval(1000); /* 1000ms. */
     ble.startAdvertising();
 
     while(1) {