
Button initiated config service
Dependencies: BLE_API_EddystoneConfigService_2 mbed nRF51822
Fork of BLE_EddystoneBeaconConfigService_3 by
Revision 56:f95c72f9c504, committed 2015-09-17
- Comitter:
- mbedAustin
- Date:
- Thu Sep 17 20:48:19 2015 +0000
- Parent:
- 55:3818a9fa827d
- Child:
- 57:3853d5428560
- Commit message:
- Modified behavior, now the config service will display the configuration parameters in adv packets, regardless of whether it is reset to default or not.
Changed in this revision
EddystoneConfigService.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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);