Button initiated config service

Dependencies:   BLE_API_EddystoneConfigService_2 mbed nRF51822

Fork of BLE_EddystoneBeaconConfigService_3 by URIBeacon

Files at this revision

API Documentation at this revision

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);