From f71411aacd49493b68e0068baced6f5d47b5ec57 Mon Sep 17 00:00:00 2001 From: Nathan Kellenicki Date: Tue, 18 Jan 2022 20:45:38 -0800 Subject: [PATCH] Fixed Raspberry Pi discovery --- docs/PoweredUP.html | 34 +++++++++++++++++----------------- docs/poweredup-node.js.html | 4 +++- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/docs/PoweredUP.html b/docs/PoweredUP.html index d985027..58fcd62 100644 --- a/docs/PoweredUP.html +++ b/docs/PoweredUP.html @@ -482,7 +482,7 @@
@@ -774,7 +774,7 @@
@@ -956,7 +956,7 @@
@@ -1248,7 +1248,7 @@
@@ -1540,7 +1540,7 @@
@@ -1722,7 +1722,7 @@
@@ -1813,7 +1813,7 @@
@@ -2161,7 +2161,7 @@
@@ -2271,7 +2271,7 @@
@@ -2592,7 +2592,7 @@
@@ -2884,7 +2884,7 @@
@@ -3066,7 +3066,7 @@
@@ -3358,7 +3358,7 @@
@@ -3650,7 +3650,7 @@
@@ -3832,7 +3832,7 @@
@@ -3923,7 +3923,7 @@
@@ -4271,7 +4271,7 @@
diff --git a/docs/poweredup-node.js.html b/docs/poweredup-node.js.html index 932e7f6..c2f2a97 100644 --- a/docs/poweredup-node.js.html +++ b/docs/poweredup-node.js.html @@ -132,7 +132,9 @@ let discoveryEventAttached = false; const startScanning = () => { noble.startScanning([ Consts.BLEService.LPF2_HUB, - Consts.BLEService.WEDO2_SMART_HUB + Consts.BLEService.LPF2_HUB.replace(/-/g, ""), + Consts.BLEService.WEDO2_SMART_HUB, + Consts.BLEService.WEDO2_SMART_HUB.replace(/-/g, "") ]); }; noble.on("stateChange", (state) => {