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.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: ble/services/URIBeaconConfigService.h
- Revision:
- 766:03f1a26f132f
- Parent:
- 728:997ba5e7b3b6
- Child:
- 787:2a6a8313f393
diff -r 4cd91998cd48 -r 03f1a26f132f ble/services/URIBeaconConfigService.h
--- a/ble/services/URIBeaconConfigService.h Fri Aug 07 15:53:50 2015 +0100
+++ b/ble/services/URIBeaconConfigService.h Fri Aug 07 15:53:50 2015 +0100
@@ -178,7 +178,7 @@
ble.gap().setTxPower(params.advPowerLevels[params.txPowerMode]);
ble.gap().setDeviceName(reinterpret_cast<const uint8_t *>(&DEVICE_NAME));
ble.gap().setAdvertisingType(GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED);
- ble.gap().setAdvertisingInterval(Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(ADVERTISING_INTERVAL_MSEC));
+ ble.gap().setAdvertisingInterval(GapAdvertisingParams::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(ADVERTISING_INTERVAL_MSEC));
}
/* Helper function to switch to the non-connectible normal mode for URIBeacon. This gets called after a timeout. */