
Button initiated config service
Dependencies: BLE_API_EddystoneConfigService_2 mbed nRF51822
Fork of BLE_EddystoneBeaconConfigService_3 by
Revision 59:a89c00180058, committed 2015-09-18
- Comitter:
- mbedAustin
- Date:
- Fri Sep 18 04:35:35 2015 +0000
- Parent:
- 58:87afe537345b
- Child:
- 60:e9d8348e7397
- Commit message:
- modified power values to be in line with Nordics values
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);