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 X_NUCLEO_IDB0XA1
Fork of BLE_iBeacon by
Revision 59:4cd4f48e2775, committed 2015-02-17
- Comitter:
- rgrover1
- Date:
- Tue Feb 17 09:40:14 2015 +0000
- Parent:
- 58:ea344155a388
- Child:
- 60:3034dc913ea1
- Commit message:
- reduce advertising frequency to 1hz
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Feb 16 09:50:59 2015 +0000
+++ b/main.cpp Tue Feb 17 09:40:14 2015 +0000
@@ -49,7 +49,7 @@
iBeaconService ibeacon(ble, uuid, majorNumber, minorNumber, txPower);
- ble.setAdvertisingInterval(Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(100)); /* 100ms. */
+ ble.setAdvertisingInterval(Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(1000)); /* 1000ms. */
ble.startAdvertising();
while(1) {
