Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_iBeacon by
Revision 22:080d9bf2f5c0, committed 2014-05-23
- 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
