cerebrust
A library for interfacing with NeuroSky devices over Bluetooth, using Rust.
[!IMPORTANT] Due to limitations in the availability of
bluez, this library is only compatible with Linux systems.
Features
- Connect to NeuroSky devices via RFCOMM.
- Parse data packets, including raw values, signal quality, attention, meditation, and EEG power values.
Usage
Add to your Cargo.toml:
[]
= "0.1.0"
Create a DeviceConfig and connect to the device:
use DeviceConfig;
async
Read packets with DataReader:
use DataReader;
//...
async
See the examples for full usage (requires a NeuroSky device).
License
Licensed under the MIT license.