From 93af1ec2894ea5cc810efce7e109623635af9b10 Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Mon, 1 Dec 2014 13:34:19 +0000 Subject: [PATCH] updateGATT() should update TxPower related characteristics. --- services/URIBeaconConfigService.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/URIBeaconConfigService.h b/services/URIBeaconConfigService.h index bdd8f8a..6f6e9cb 100644 --- a/services/URIBeaconConfigService.h +++ b/services/URIBeaconConfigService.h @@ -338,6 +338,8 @@ private: updateURIDataCharacteristic(); updateFlagsCharacteristic(); updateBeaconPeriodCharacteristic(); + updateTxPowerLevelsCharacteristic(); + updateTxPowerModeCharacteristic(); } void updateLockedStateCharacteristic(void) { @@ -357,7 +359,7 @@ private: } void updateTxPowerModeCharacteristic(void) { - + ble.updateCharacteristicValue(txPowerModeChar.getValueAttribute().getHandle(), reinterpret_cast(&txPowerMode), sizeof(uint8_t)); } void updateTxPowerLevelsCharacteristic(void) {