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 13:04c6103760d2, committed 2014-05-22
- Comitter:
- Rohit Grover
- Date:
- Thu May 22 12:13:26 2014 +0100
- Parent:
- 12:00545c957af4
- Child:
- 14:dfdf0c8b1c09
- Commit message:
- user overloaded setAdvertisingData() to avoid having to specify a scan response
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu May 22 11:24:37 2014 +0100
+++ b/main.cpp Thu May 22 12:13:26 2014 +0100
@@ -72,8 +72,7 @@
advData.addData(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA,
beaconPayload,
sizeof(beaconPayload));
- GapAdvertisingData scanResponse;
- ble.setAdvertisingData(advData, scanResponse);
+ ble.setAdvertisingData(advData);
}
/* Start advertising! */
