Simple beacon for nRF51822

Dependencies:   BLE_API mbed nRF51822Copy

Fork of BLE_iBeacon by Bluetooth Low Energy

This is the demo beacon for ARM TechCon 2014.

Based on the original library, this demo reads the onboard switches and temperature sensor and beacons them out as a BLE advertisment.

Revision:
21:a61af863b273
Parent:
20:5e84b5b253a5
Child:
22:080d9bf2f5c0
--- a/main.cpp	Fri May 23 15:22:34 2014 +0100
+++ b/main.cpp	Fri May 23 15:23:11 2014 +0100
@@ -76,7 +76,7 @@
     ble.startAdvertising();
 
     /* Do blinky on mainloopLED while we're waiting for BLE events */
-    for (;; ) {
+    for (;;) {
         mainloopLED = !mainloopLED;
         wait(1);
     }