updateGATT() should update TxPower related characteristics.

This commit is contained in:
Rohit Grover 2014-12-01 13:34:19 +00:00
parent 78696699c8
commit 93af1ec289

View file

@ -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<uint8_t *>(&txPowerMode), sizeof(uint8_t));
}
void updateTxPowerLevelsCharacteristic(void) {