Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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;
}
