biolink
TypeScript icon, indicating that this package has built-in type declarations

1.4.7 • Public • Published

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i biolink

Weekly Downloads

5

Version

1.4.7

License

MIT

Unpacked Size

296 kB

Total Files

141

Last publish

Collaborators

  • markdyousef
  • kac1509