Button initiated config service
Dependencies: BLE_API_EddystoneConfigService_2 mbed nRF51822
Fork of BLE_EddystoneBeaconConfigService_3 by
Diff: EddystoneConfigService.h
- Revision:
- 56:f95c72f9c504
- Parent:
- 55:3818a9fa827d
- Child:
- 58:87afe537345b
--- a/EddystoneConfigService.h Thu Sep 17 20:23:46 2015 +0000 +++ b/EddystoneConfigService.h Thu Sep 17 20:48:19 2015 +0000 @@ -172,10 +172,9 @@ } if (resetToDefaultsFlag) { resetToDefaults(); - } else { - updateCharacteristicValues(); } - + updateCharacteristicValues(); + lockChar.setWriteAuthorizationCallback(this, &EddystoneConfigService::lockAuthorizationCallback); unlockChar.setWriteAuthorizationCallback(this, &EddystoneConfigService::unlockAuthorizationCallback); uriDataChar.setWriteAuthorizationCallback(this, &EddystoneConfigService::uriDataWriteAuthorizationCallback);