diff --git a/lib/linux/l2cap-ble.js b/lib/linux/l2cap-ble.js index 09722f42..80a2be85 100644 --- a/lib/linux/l2cap-ble.js +++ b/lib/linux/l2cap-ble.js @@ -817,7 +817,7 @@ L2capBle.prototype.handleWriteRequestOrCommand = function(request) { var value = data.readUInt16LE(0); var handleAttribute = handle.attribute; - handle.value = value; + handle.value = data; if (value & 0x0001) { var updateValueCallback = (function(valueHandle, attribute) {