Expand description
Muse EEG Headband BLE Protocol
This crate provides constants and utilities for the Muse BLE protocol, enabling both real Muse device communication and synthetic emulation.
Modules§
- athena
- Muse S Athena (multiplexed BLE) protocol helpers.
- characteristic
- Muse characteristic UUIDs
- classic
- Classic Muse 2/S BLE Protocol
- command
- Muse control commands
- spec
- Muse device specifications
- utils
Structs§
- PpgFrame
- Decoded PPG frame with 6 samples.
Enums§
- Muse
Variant - Muse device variant
Constants§
- SERVICE_
UUID - Muse BLE service UUID
- SERVICE_
UUID_ U128
Functions§
- decode_
eeg_ packet - Decode a 20-byte Muse EEG packet into samples (in microvolts)
- decode_
ppg_ packet - Decode a 20-byte Muse PPG packet into a PpgFrame.
- encode_
eeg_ packet - Encode 12 EEG samples (in microvolts) into a 20-byte Muse packet
- encode_
ppg_ packet - Encode 6 24-bit PPG samples into a 20-byte Muse packet.