MuseBleDevice is the low-level Web Bluetooth class that handles device pairing, GATT characteristic subscriptions, and packet decoding. BleTransport wraps it to provide the normalized HeadbandTransport interface.You typically do not use MuseBleDevice directly. Use BleTransport instead.
Athena headbands use a different packet format with two main characteristics:
Characteristic
Data
273e0013-...
EEG (8 channels, multiplexed)
273e0014-...
Auxiliary (optics, accgyro, battery)
Athena requires a decoder factory. Without one, connection will fail:
import { AthenaWasmDecoder } from "@elata-biosciences/eeg-web";const transport = new BleTransport({ deviceOptions: { athenaDecoderFactory: () => new AthenaWasmDecoder(), },});