biolink
v1.4.2
Published
Cross-platform BLE library for Nexus and other BCIs
Downloads
77
Readme
Biolink
Muse and Insai headband JavaScript Library (using Web Bluetooth)
- Usage with Jupyter (tslab)
Getting Started
- yarn install
Run using Nodejs
Use forked version of BLE capacitor plugin
- git clone https://github.com/Insai/bluetooth-le
- cd into project, yarn install, then yarn link
In the biolink project:
- yarn link "@capacitor-community/bluetooth-le" (this links to the forked version on your local computer)
- ts-node src/devices/[device].sandbox.ts
- device: muse, nexus, neorhythm
Common problems
If you are a Windows user, you may run into issues with bluetooth. Follow the instructions located here. After completing these steps, you may encounter runtime issues. If you encounter the following errors:
- No compatible USB Bluetooth 4.0 device found on supported device
- You need to add the USB ID values to the ../node_modules/@abandonware/bluetooth-hci-socket/lib/usb.js file under the VENDOR_DEVICE_LIST section. The USB ID values can be found when updating the driver through the Zadig program.
- LIBUSB_ERROR_ACCESS
- You need to run your script/notebook as an administrator.