WeDo 2.0 Connectivity

Hi:

I can connect my Windows 10 WeDo app to the smarthub, however when I try to toggle on LegoHub in Vuforia Spatial Edge Server the server crashes with a “No compatible USB Bluetooth 4.0 device found”. My laptop has an INTEL® WIRELESS-AC 9260. Any thoughts on how to recognize my particular bluetooth device?

Thanks, Dan

Hi @dmittelstadt Welcome to the Spatial Toolbox Community!

Have you tried the official Lego Wedo 2.0 Software on your Windows Computer?
https://education.lego.com/en-us/downloads/wedo-2/software

Can you get it connected? This could help us to make sure that your device works.

Hi @valentin. Yes, I can connect via the WeDo 2.0 app installed on my laptop (Windows 10) to the WeDo 2.0 smarkhub. The smarthub light turns blue and the WeDo 2.0 app shows it connected.

The next step would be to test a simple example from the noble community. This is the open source software used to connect nodejs to your Bluetooth LE devices.

In that repository you can find a test folder. Try to execute “test-noble.js”

C:\GITHUB\noble-master>node test.js
noble
C:\GITHUB\noble-master\node_modules\bluetooth-hci-socket\lib\usb.js:70
throw new Error(‘No compatible USB Bluetooth 4.0 device found!’);
^
C:\GITHUB\noble-master\test>node test-noble.js
C:\GITHUB\noble-master\test\test-noble.js:6
describe(‘Noble’, () => {
^

ReferenceError: describe is not defined
at Object. (C:\GITHUB\noble-master\test\test-noble.js:6:1)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)

I also looked briefly at a suggestion to use zadig to apply a more generic driver (WinUSB). This seemed to just remove my bluetooth drivers, so I reverted back.

I think the best next step is to ask the noble community to support your device. The Bluetooth LE driver layer is out of our reach.

If you find a solution, please post it back to the community in case others have the same problem. I would love to learn how we can solve it.