Unudge / Mbed 2 deprecated BLE_iBeacon_ORIGINAL

Dependencies:   BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1

Fork of BLE_iBeacon by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
Rohit Grover
Date:
Fri May 23 16:17:13 2014 +0100
Parent:
21:a61af863b273
Child:
23:b66fa312e926
Commit message:
adding static const to the definition to beaconPayload

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri May 23 15:23:11 2014 +0100
+++ b/main.cpp	Fri May 23 16:17:13 2014 +0100
@@ -39,7 +39,7 @@
  * Major/Minor  = 0000 / 0000
  * Tx Power     = C8
  */
-uint8_t beaconPayload[] = {
+const static uint8_t beaconPayload[] = {
     0x4C, 0x00, // Company identifier code (0x004C == Apple)
     0x02,       // ID
     0x15,       // length of the remaining payload