Skip to content

Commit

Permalink
- store extended characteristic descriptor value as Buffer (issue #23)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepmistry committed Feb 6, 2014
1 parent 7bba3ee commit 24a8a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linux/l2cap-ble.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 24a8a21

Please sign in to comment.