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 49:a3428aa11fc7, committed 2014-12-04
- Comitter:
- Protoneer
- Date:
- Thu Dec 04 05:51:22 2014 +0000
- Parent:
- 48:6568db49629c
- Commit message:
- Change the Advertisement Interval
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Dec 04 05:47:24 2014 +0000
+++ b/main.cpp Thu Dec 04 05:51:22 2014 +0000
@@ -54,7 +54,7 @@
ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED | GapAdvertisingData::LE_GENERAL_DISCOVERABLE);
ble.accumulateAdvertisingPayload(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, beaconPayload, sizeof(beaconPayload));
ble.setAdvertisingType(GapAdvertisingParams::ADV_NON_CONNECTABLE_UNDIRECTED);
- ble.setAdvertisingInterval(16000); /* 1s; in multiples of 0.625ms. */
+ ble.setAdvertisingInterval(1600); /* 1s; in multiples of 0.625ms. */
ble.startAdvertising();
for (;;) {
