Button initiated config service
Dependencies: BLE_API_EddystoneConfigService_2 mbed nRF51822
Fork of BLE_EddystoneBeaconConfigService_3 by
Diff: EddystoneConfigService.h
- Revision:
- 46:46bb40f60816
- Parent:
- 45:1827e4f496a7
- Child:
- 47:c191b7b7521d
--- a/EddystoneConfigService.h Fri Sep 11 21:48:41 2015 +0000 +++ b/EddystoneConfigService.h Fri Sep 11 22:18:37 2015 +0000 @@ -163,6 +163,7 @@ * */ void start(bool resetToDefaultsFlag){ + printf("reset to defaults flag = %d\r\n", resetToDefaultsFlag); if (!resetToDefaultsFlag && (params.uriDataLength > URI_DATA_MAX)) { resetToDefaultsFlag = true; } @@ -368,6 +369,7 @@ } } } else if (handle == resetChar.getValueHandle()) { + INFO("Reset triggered from Config Service, resetting to defaults"); resetToDefaults(); } updateCharacteristicValues();