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:
- 226:ec436a9ceb31
- Parent:
- 225:f6cbfd817d16
- Child:
- 228:db043dbf26f8
diff -r f6cbfd817d16 -r ec436a9ceb31 services/URIBeaconConfigService.h --- a/services/URIBeaconConfigService.h Mon Dec 01 14:31:20 2014 +0000 +++ b/services/URIBeaconConfigService.h Mon Dec 01 14:31:20 2014 +0000 @@ -91,7 +91,7 @@ } strcpy(reinterpret_cast<char *>(uriData), uriDataIn); - if (powerModeIn != NULL) { + if (powerLevelsIn != NULL) { memcpy(powerLevels, powerLevelsIn, sizeof(powerLevels)); updateTxPowerLevelsCharacteristic(); }