BLE_API_Tiny_BLE
Fork of BLE_API by
Revision 272:65b9d9c87ed1, committed 2015-01-21
- Comitter:
- rgrover1
- Date:
- Wed Jan 21 09:32:52 2015 +0000
- Parent:
- 271:7f2465b7978e
- Child:
- 273:9b82fc10574a
- Commit message:
- Synchronized with git rev e17ff552
Author: Rohit Grover
need to setup write authorization for lock and unlock characteristics.
Changed in this revision
services/URIBeaconConfigService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/services/URIBeaconConfigService.h Wed Jan 21 09:32:52 2015 +0000 +++ b/services/URIBeaconConfigService.h Wed Jan 21 09:32:52 2015 +0000 @@ -114,6 +114,8 @@ configureGAP(); + lockChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::lockAuthorizationCallback); + unlockChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::unlockAuthorizationCallback); uriDataChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::uriDataWriteAuthorizationCallback); flagsChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::flagsAuthorizationCallback); txPowerLevelsChar.setWriteAuthorizationCallback(this, &URIBeaconConfigService::denyGATTWritesIfLocked);