I don't know why this is happening.
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 273:9b82fc10574a
- Parent:
- 272:65b9d9c87ed1
- Child:
- 274:f540619754bb
--- a/services/URIBeaconConfigService.h Wed Jan 21 09:32:52 2015 +0000 +++ b/services/URIBeaconConfigService.h Wed Jan 21 09:32:53 2015 +0000 @@ -123,7 +123,14 @@ beaconPeriodChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::denyGATTWritesIfLocked); resetChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::denyGATTWritesIfLocked); - GattCharacteristic *charTable[] = {&lockedStateChar, &lockChar, &unlockChar, &uriDataChar, &flagsChar, &txPowerLevelsChar, &beaconPeriodChar, &resetChar}; + GattCharacteristic *charTable[] = {&lockedStateChar, + &lockChar, + &unlockChar, + &uriDataChar, + &flagsChar, + &txPowerLevelsChar, + &beaconPeriodChar, + &resetChar}; GattService beaconControlService(URIBeacon2ControlServiceUUID, charTable, sizeof(charTable) / sizeof(GattCharacteristic *)); ble.addService(beaconControlService);