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 20:5e84b5b253a5, committed 2014-05-23
- Comitter:
- Rohit Grover
- Date:
- Fri May 23 15:22:34 2014 +0100
- Parent:
- 19:869d8c7306b4
- Child:
- 21:a61af863b273
- Commit message:
- using simplified GAP advertising API to setup advertising type
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri May 23 15:00:50 2014 +0100
+++ b/main.cpp Fri May 23 15:22:34 2014 +0100
@@ -72,7 +72,7 @@
ble.setAdvertisingData(advData);
}
- ble.setAdvertisingParams(GapAdvertisingParams::ADV_NON_CONNECTABLE_UNDIRECTED);
+ ble.setAdvertisingType(GapAdvertisingParams::ADV_NON_CONNECTABLE_UNDIRECTED);
ble.startAdvertising();
/* Do blinky on mainloopLED while we're waiting for BLE events */
