Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server breaks if you have no Bluetooth device and enable the LEGO hardware interface #27

Open
ptc-mfredriksz opened this issue Jul 6, 2021 · 0 comments

Comments

@ptc-mfredriksz
Copy link

If you enable the LEGO Hub hardware interface and don't have a Bluetooth device connected to your server it throws an exception at the start up of the server:
addons\vuforia-spatial-core-addon\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:91 throw new Error('No compatible USB Bluetooth 4.0 device found!');

It is not possible to change this setting anymore since the server won't start up.

Quick fix is disabling the LEGO hub by go to this path:
addons\vuforia-spatial-core-addon\interfaces\LegoHub\index.js
and change line 56 from if (exports.enabled) { to if (exports.enabled && false) {.
This will disable the LEGO hub hardware interface and makes it possible to run the server again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant