door

Dependencies:   BLE_API mbed DOOR

Dependents:   DOOR FLOOD

Fork of BLE_iBeacon_POC by Fallen Fate

Revision:
58:ea344155a388
Parent:
57:9782cb35c494
Child:
59:4cd4f48e2775
--- a/main.cpp	Mon Feb 16 09:33:34 2015 +0000
+++ b/main.cpp	Mon Feb 16 09:50:59 2015 +0000
@@ -45,13 +45,10 @@
 
 int main(void)
 {
-    // Initialize BLE baselayer
     ble.init();
 
-    // Initialize ibeacon
     iBeaconService ibeacon(ble, uuid, majorNumber, minorNumber, txPower);
 
-    // Set advertising time
     ble.setAdvertisingInterval(Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(100)); /* 100ms. */
     ble.startAdvertising();