Skip to content

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

@ptc-mfredriksz

Description

@ptc-mfredriksz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions