Skip to main content

Module parse

Module parse 

Source
Expand description

Binary decoders for Hermes V1 BLE notification payloads.

All public functions in this module are pure (no I/O, no allocation beyond the returned collections) and are safe to call from any async or sync context.

Functions§

decode_i24_be
Decode a signed 24-bit big-endian integer from 3 bytes.
detect_missing_packets
Detect missing packets between last and current in the 0–127 ring.
parse_eeg_packet
Parse one EEG BLE notification into a vector of EegSamples.
parse_motion
Parse a 9-DOF motion notification into a MotionData.