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:
14:dfdf0c8b1c09
Parent:
13:04c6103760d2
Child:
15:4e1b36b73213
--- a/main.cpp	Thu May 22 12:13:26 2014 +0100
+++ b/main.cpp	Thu May 22 13:04:29 2014 +0100
@@ -32,11 +32,9 @@
  *  Bluetooth Core Specification 4.0 (Vol. 3), Part C, Section 11, 18
  */
 
-/* Define an Beacon payload.
- *
- * This is the data part of the MSD AdvertisingData structure to be added to
- * the advertising payload.
- * --------------------------------------------------------------
+/*
+ * The Beacon payload (within the MSD advertising data structure) has the
+ * following composition:
  * 128-Bit UUID = E2 0A 39 F4 73 F5 4B C4 A1 2F 17 D1 AD 07 A9 61
  * Major/Minor  = 0000 / 0000
  * Tx Power     = C8