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:
32:7b7093b653a8
Parent:
31:93e50a3c3dc6
Child:
37:205deeded79d
--- a/main.cpp	Tue Jun 10 11:54:06 2014 +0100
+++ b/main.cpp	Tue Jun 10 13:13:07 2014 +0100
@@ -15,9 +15,9 @@
  */
 
 #include "mbed.h"
-#include "BLEPeripheral.h"
+#include "BLEDevice.h"
 
-BLEPeripheral ble;
+BLEDevice ble;
 
 #define NEED_CONSOLE_OUTPUT 0 /* Set this if you need debug messages on the console;
                                * it will have an impact on code-size and power consumption. */