Button initiated config service
Dependencies: BLE_API_EddystoneConfigService_2 mbed nRF51822
Fork of BLE_EddystoneBeaconConfigService_3 by
Diff: main.cpp
- Revision:
- 51:d77639d7a3e4
- Parent:
- 50:52a8b18d5bf1
- Child:
- 53:cc4cb139ef0d
diff -r 52a8b18d5bf1 -r d77639d7a3e4 main.cpp --- a/main.cpp Mon Sep 14 20:13:56 2015 +0000 +++ b/main.cpp Mon Sep 14 21:37:36 2015 +0000 @@ -90,8 +90,8 @@ static EddystoneConfigService::PowerLevels_t defaultAdvPowerLevels = {-20, -4, 0, 10}; // Values for ADV packets related to firmware levels EddystoneBeaconConfig = new EddystoneConfigService(ble, params, defaultAdvPowerLevels); EddystoneBeaconConfig->setDefaultURIFrameData("http://mbed.org",1000); - //EddystoneBeaconConfig->setDefaultUIDFrameData(&uidNamespaceID, &uidInstanceID,10); - //EddystoneBeaconConfig->setDefaultTLMFrameData(tlmVersion,1); + EddystoneBeaconConfig->setDefaultUIDFrameData(&uidNamespaceID, &uidInstanceID,10); + EddystoneBeaconConfig->setDefaultTLMFrameData(tlmVersion,1); EddystoneBeaconConfig->start(!fetchedFromPersistentStorage); if (!EddystoneBeaconConfig->initSuccessfully()) {