
Button initiated config service
Dependencies: BLE_API_EddystoneConfigService_2 mbed nRF51822
Fork of BLE_EddystoneBeaconConfigService_3 by
Revision 60:e9d8348e7397, committed 2015-09-18
- Comitter:
- mbedAustin
- Date:
- Fri Sep 18 04:37:16 2015 +0000
- Parent:
- 59:a89c00180058
- Child:
- 61:1d3dded2c205
- Commit message:
- safety commit
Changed in this revision
EddystoneConfigService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/EddystoneConfigService.h Fri Sep 18 04:35:35 2015 +0000 +++ b/EddystoneConfigService.h Fri Sep 18 04:37:16 2015 +0000 @@ -421,8 +421,8 @@ */ void updateCharacteristicValues(void) { ble.updateCharacteristicValue(lockedStateChar.getValueHandle(), ¶ms.lockedState, 1); - ble.updateCharacteristicValue(uriDataChar.getValueHandle(), params.uriData, params.uriDataLength); - INFO("updating URI, %s : %d",params.uriData, params.uriDataLength); + ble.updateCharacteristicValue(uriDataChar.getValueHandle(), params.uriData, params.uriDataLength); // TODO: this isnt updating the initial URI in config mode, need to figure out why. + //INFO("updating URI, %s : %d",params.uriData, params.uriDataLength); ble.updateCharacteristicValue(flagsChar.getValueHandle(), ¶ms.flags, 1); ble.updateCharacteristicValue(beaconPeriodChar.getValueHandle(), reinterpret_cast<uint8_t *>(¶ms.beaconPeriod), sizeof(uint16_t));