Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 223:01a71f5e0ce4
- Parent:
- 222:33b04c693e83
- Child:
- 224:c55213f24647
diff -r 33b04c693e83 -r 01a71f5e0ce4 services/URIBeaconConfigService.h --- a/services/URIBeaconConfigService.h Mon Dec 01 14:31:19 2014 +0000 +++ b/services/URIBeaconConfigService.h Mon Dec 01 14:31:20 2014 +0000 @@ -145,6 +145,7 @@ */ void setTxPowerLevels(const int8_t powerLevelsIn[NUM_POWER_MODES]) { memcpy(powerLevels, powerLevelsIn, sizeof(powerLevels)); + configureGAP(); updateTxPowerLevelsCharacteristic(); }