diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2014-11-25 10:46:37 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2014-11-26 14:52:24 +0100 |
commit | 0e3046f29b0e86affeb33c8f6687618cfd1dfae2 (patch) | |
tree | 418db3d38304a8431dc2205c2e6e6cd2c5a0866c /src/bluetooth | |
parent | be750788c7f5276b0a8686e1f11bf4ca12ee9231 (diff) |
Fix missing update of cached characteristic value
When we receive a characteristic update we have to update the cached
value on the Qt side. This was accidentally missed during an earlier
commit.
Change-Id: I0f84e35ee44e38d1e46b7ddcd4e78b7e216e49d5
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth')
-rw-r--r-- | src/bluetooth/qlowenergycontroller_android.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller_android.cpp b/src/bluetooth/qlowenergycontroller_android.cpp index e2624a56..16298c96 100644 --- a/src/bluetooth/qlowenergycontroller_android.cpp +++ b/src/bluetooth/qlowenergycontroller_android.cpp @@ -451,6 +451,8 @@ void QLowEnergyControllerPrivate::characteristicChanged( return; } + updateValueOfCharacteristic(characteristic.attributeHandle(), + data, false); emit service->characteristicChanged(characteristic, data); } |