Button initiated config service
Dependencies: BLE_API_EddystoneConfigService_2 mbed nRF51822
Fork of BLE_EddystoneBeaconConfigService_3 by
Diff: main.cpp
- Revision:
- 59:a89c00180058
- Parent:
- 55:3818a9fa827d
- Child:
- 63:2478203aa555
--- a/main.cpp Fri Sep 18 03:57:09 2015 +0000 +++ b/main.cpp Fri Sep 18 04:35:35 2015 +0000 @@ -85,8 +85,8 @@ uint8_t tlmVersion = 0x00; /* Initialize a EddystoneBeaconConfig service providing config params, default URI, and power levels. */ - static EddystoneConfigService::PowerLevels_t defaultAdvPowerLevels = {-20, -4, 0, 10}; // Values for ADV packets related to firmware levels, calibrated based on measured values at 1m - static EddystoneConfigService::PowerLevels_t radioPowerLevels = {-20, -4, 0, 10}; // Values for radio power levels, provided by manufacturer. + static EddystoneConfigService::PowerLevels_t defaultAdvPowerLevels = {-30, -16, -4, 4}; // Values for ADV packets related to firmware levels, calibrated based on measured values at 1m + static EddystoneConfigService::PowerLevels_t radioPowerLevels = {-30, -16, -4, 4}; // Values for radio power levels, provided by manufacturer. EddystoneBeaconConfig = new EddystoneConfigService(ble, params, defaultAdvPowerLevels, radioPowerLevels); EddystoneBeaconConfig->setDefaultURIFrameData("http://mbed.org",1000); EddystoneBeaconConfig->setDefaultUIDFrameData(&uidNamespaceID, &uidInstanceID,10);