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 SDFileSystem mbed-rtos mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_iBeacon by
Diff: main.cpp
- Revision:
- 2:90b493cdcb1f
- Parent:
- 0:7613d21e5974
- Child:
- 4:0ce8d2dd62f9
diff -r cb46e250cdc2 -r 90b493cdcb1f main.cpp
--- a/main.cpp Tue Apr 01 10:36:41 2014 +0000
+++ b/main.cpp Wed Apr 02 18:36:52 2014 +0000
@@ -49,7 +49,7 @@
GapAdvertisingData advData;
GapAdvertisingData scanResponse;
- /* Define an iBeacon payload
+ /* Define an Beacon payload
--------------------------------------------------------------
128-Bit UUID = E2 0A 39 F4 73 F5 4B C4 A1 2F 17 D1 AD 07 A9 61
Major/Minor = 0000 / 0000
@@ -60,7 +60,7 @@
/* Make sure we get a clean start */
nrf.reset();
- /* iBeacon includes the FLAG and MSD fields */
+ /* Beacon includes the FLAG and MSD fields */
advData.addFlags(GapAdvertisingData::BREDR_NOT_SUPPORTED);
advData.addData(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, iBeaconPayload, sizeof(iBeaconPayload));
