diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/BlueGigaBluetoothDevice.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/BlueGigaBluetoothDevice.java index c8a0ba8b93055..e853131bc64de 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/BlueGigaBluetoothDevice.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/BlueGigaBluetoothDevice.java @@ -417,6 +417,8 @@ public void bluegigaEventReceived(BlueGigaResponse event) { if (characteristic == null) { logger.debug("BlueGiga didn't find characteristic for event {}", event); } else { + characteristic.setValue(valueEvent.getValue().clone()); + // If this is the characteristic we were reading, then send a read completion if (procedureProgress == BlueGigaProcedure.CHARACTERISTIC_READ && procedureCharacteristic != null && procedureCharacteristic.getHandle() == valueEvent.getAttHandle()) { @@ -427,7 +429,7 @@ public void bluegigaEventReceived(BlueGigaResponse event) { } // Notify the user of the updated value - notifyListeners(BluetoothEventType.CHARACTERISTIC_UPDATED, procedureCharacteristic); + notifyListeners(BluetoothEventType.CHARACTERISTIC_UPDATED, characteristic); } } }