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 15:4e1b36b73213, committed 2014-05-22
- Comitter:
- Rohit Grover
- Date:
- Thu May 22 13:09:17 2014 +0100
- Parent:
- 14:dfdf0c8b1c09
- Child:
- 16:3a0aa30e3b12
- Commit message:
- some more cosmetic changes
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu May 22 13:04:29 2014 +0100
+++ b/main.cpp Thu May 22 13:09:17 2014 +0100
@@ -26,15 +26,15 @@
/*
* For this demo application, populate the beacon advertisement payload
- * with 2 AD structures: FLAG and MSD
+ * with 2 AD structures: FLAG and MSD (manufacturer specific data).
*
* Reference:
* Bluetooth Core Specification 4.0 (Vol. 3), Part C, Section 11, 18
*/
/*
- * The Beacon payload (within the MSD advertising data structure) has the
- * following composition:
+ * The Beacon payload (encapsulated 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
@@ -63,7 +63,7 @@
ble.reset();
/* Setup advertising data. This includes AD structures in the payload of
- * advertising packets; and scan-response data. */
+ * advertising packets. */
{
GapAdvertisingData advData;
advData.addFlags(GapAdvertisingData::BREDR_NOT_SUPPORTED);
@@ -83,8 +83,6 @@
mainloopLED = !mainloopLED;
wait(1);
}
-
- /* unreachable. */
}
void setupAppHardware(void)
