updateGATT() should update TxPower related characteristics.
This commit is contained in:
parent
78696699c8
commit
93af1ec289
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue