Press buttons to activate the LED.

Dependencies:   BLE_API nRF51822

Fork of Puck by Nordic Pucks

Revision:
21:00a3567124e3
Parent:
20:29b0143f3af3
Child:
22:7d728fed55ab
--- a/Puck.h	Tue Mar 03 20:51:34 2015 +0000
+++ b/Puck.h	Tue Mar 03 20:52:50 2015 +0000
@@ -214,7 +214,7 @@
     ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED);
     LOG_DEBUG("Accumulate advertising payload: BREDR_NOT_SUPPORTED.\n");
     
-    //ble.accumulateAdvertisingPayload(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, beaconPayload, sizeof(beaconPayload));
+    ble.accumulateAdvertisingPayload(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, beaconPayload, sizeof(beaconPayload));
     LOG_DEBUG("Accumulate advertising payload: beacon data.\n");
     
     ble.setAdvertisingType(GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED);