From ade25bf13a5a6696e289f433e08136b4d82e29d7 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Thu, 4 Jul 2019 20:03:01 +1200 Subject: [PATCH 1/2] Missing argument 'status' --- lib/hci-socket/bindings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hci-socket/bindings.js b/lib/hci-socket/bindings.js index 75c27908..0ad187c6 100644 --- a/lib/hci-socket/bindings.js +++ b/lib/hci-socket/bindings.js @@ -145,7 +145,7 @@ BlenoBindings.prototype.onLeConnComplete = function(status, handle, role, addres this.emit('accept', address); }; -BlenoBindings.prototype.onLeConnUpdateComplete = function(handle, interval, latency, supervisionTimeout) { +BlenoBindings.prototype.onLeConnUpdateComplete = function(status, handle, interval, latency, supervisionTimeout) { // no-op }; From b9631924fa6e66c8790220118b5f7f632f256b87 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Thu, 4 Jul 2019 21:35:26 +1200 Subject: [PATCH 2/2] attribute spelling error --- lib/hci-socket/acl-stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hci-socket/acl-stream.js b/lib/hci-socket/acl-stream.js index 0fef864f..1428c998 100644 --- a/lib/hci-socket/acl-stream.js +++ b/lib/hci-socket/acl-stream.js @@ -9,7 +9,7 @@ var Smp = require('./smp'); var AclStream = function(hci, handle, localAddressType, localAddress, remoteAddressType, remoteAddress) { this._hci = hci; this._handle = handle; - this.encypted = false; + this.encrypted = false; this._smp = new Smp(this, localAddressType, localAddress, remoteAddressType, remoteAddress); };