Beacon demo for the BLE API using the nRF51822 native mode drivers

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_iBeacon by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
dragosIQ
Date:
Wed Apr 15 14:01:40 2015 +0000
Parent:
61:23fea56a32ef
Commit message:
c

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 23fea56a32ef -r c2862bf96508 main.cpp
--- a/main.cpp	Fri Mar 27 13:05:52 2015 +0000
+++ b/main.cpp	Wed Apr 15 14:01:40 2015 +0000
@@ -36,9 +36,14 @@
  * Note: please remember to calibrate your beacons
  * TX Power for more accurate results.
  */
+ /*
 const uint8_t uuid[] = {0xE2, 0x0A, 0x39, 0xF4, 0x73, 0xF5, 0x4B, 0xC4,
                         0xA1, 0x2F, 0x17, 0xD1, 0xAD, 0x07, 0xA9, 0x61
                        };
+*/                       
+const uint8_t uuid[] = {0x4A, 0x5E, 0xB0, 0x51, 0xAD, 0x11, 0x03, 0x55, 
+                        0xDE, 0x0B, 0x61, 0x89, 0x90, 0x9F, 0x8F, 0xFF
+                       };
 uint16_t majorNumber = 1122;
 uint16_t minorNumber = 3344;
 uint16_t txPower = 0xC8;