I don't know why this is happening.
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 255:cdb7231f83df
- Parent:
- 254:fb2a891a0d98
- Child:
- 256:a6e651374060
diff -r fb2a891a0d98 -r cdb7231f83df services/URIBeaconConfigService.h --- a/services/URIBeaconConfigService.h Fri Dec 12 15:52:48 2014 +0000 +++ b/services/URIBeaconConfigService.h Wed Jan 21 09:32:47 2015 +0000 @@ -107,7 +107,7 @@ configureGAP(); uriDataChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::uriDataWriteAuthorizationCallback); - flagsChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::falgsAuthorizationCallback); + flagsChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::flagsAuthorizationCallback); txPowerLevelsChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::denyGATTWritesIfLocked); txPowerModeChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::denyGATTWritesIfLocked); beaconPeriodChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::denyGATTWritesIfLocked); @@ -389,7 +389,7 @@ } } - void falgsAuthorizationCallback(GattCharacteristicWriteAuthCBParams *params) { + void flagsAuthorizationCallback(GattCharacteristicWriteAuthCBParams *params) { if (lockedState || ((*(params->data) & 0xFE) != 0)) { params->authorizationReply = false; }