-
Notifications
You must be signed in to change notification settings - Fork 95
Description
Hi, so I am trying to see my Bangle.js 2 on my pc, I'd rather use VS Code for development than the app, so I am playing around with commandline.
In the web ide I can connect to my bangle with the button in the top left, no issues.
But in commandline I get the following error:
undefined:55
} else throw err;
^
Error: No compatible USB Bluetooth 4.0 device found!
at BluetoothHciSocket.bindUser (C:\Users\tlo\AppData\Roaming\nvm\v16.15.0\node_modules\espruino\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:91:11)
at BluetoothHciSocket.bindRaw (C:\Users\tlo\AppData\Roaming\nvm\v16.15.0\node_modules\espruino\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:47:8)
at Hci.init (C:\Users\tlo\AppData\Roaming\nvm\v16.15.0\node_modules\espruino\node_modules\@abandonware\noble\lib\hci-socket\hci.js:121:20)
at NobleBindings.init (C:\Users\tlo\AppData\Roaming\nvm\v16.15.0\node_modules\espruino\node_modules\@abandonware\noble\lib\hci-socket\bindings.js:93:13)
at C:\Users\tlo\AppData\Roaming\nvm\v16.15.0\node_modules\espruino\node_modules\@abandonware\noble\lib\noble.js:61:24
at processTicksAndRejections (node:internal/process/task_queues:78:11)
I suspect that the culprit is bluetooth-hci-socket
is in a folder called @abandonware
and when I went to their page I could see that the last release was 6 years old and the last code edit was 4 years old.
So it's likely woefully outdated at this point :(
I did find this
noble/node-bluetooth-hci-socket#118
but it doesn't really seem like a viable solution, and I can't get it working for my self either.
It seems that the @abandonware project is an attempt to save orphaned projects, but it hasn't really helped this one xD
Not sure what the solution is though :/