Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
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. */