Package-level declarations
Types
Channel type strings of the BrainAccess Board LSL contract (v1), in their canonical spelling. Board and the SDK classify columns by these exact strings.
Channel unit strings of the BrainAccess Board LSL contract (v1).
Immutable device configuration.
Hardware generation of a headset, as the device itself reports it in the Device Information Service Model Number string (0x2A24): a decimal code shared with the BrainAccess C SDK and the device firmware.
BrainAccess device montages, each with its channel layout and factory defaults; EXG8 (the 8-channel V3 board, advertised as "BA EXG8
One decoded sample (one time-point across all active electrodes), with typed fields for electrodes, IMU, sample index, gap flag and battery.
What every BrainAccess cap and HALO electrode is made of, as the Board contract publishes it (hardware of each channel, cap node). The forehead electrodes PAD_CHANNELS are gold pads, every other electrode has spring-loaded pins.
Electrode impedance measurement mode — config blob byte 0 (codes are the wire contract, shared with the BrainAccess C SDK). Non-OFF modes make the device inject a small AC test current through the bias electrodes at the given frequency; the device computes electrode impedance on-chip (Ohm's law, Z = Vpp / I) and streams it directly in kΩ.
Firmware-update control opcodes for GattUuids.FIRMWARE_UPDATE_SERVICE (vendor OTA contract).
What the device streams on its EEG channels — the one-byte value of the output-mode characteristic (GattUuids.OUTPUT_MODE_CHARACTERISTIC); codes are the wire contract, shared with the BrainAccess C SDK. Firmware 3.7.0 and later expose the characteristic; older firmware has none and always streams NORMAL.
Wire codec for BrainAccess stream packets and the channel-config blob.
Wire protocol v1 of the time-sync characteristic (GattUuids.TIME_SYNC_CHARACTERISTIC, firmware 3.8.0+), shared with the device firmware. The device builds the 20-byte value inside its read handler from its own clock and the sample it numbered last, so one timed read ties the host's clock, the device's clock and the ADS1299 sample counter together (see TimeSync in :core). Little-endian:
One decoded reply of GattUuids.TIME_SYNC_CHARACTERISTIC (wire protocol v1, firmware 3.8.0+). See TimeSyncBlock for the byte layout. Unsigned wire fields are widened so every value is non-negative: 8- and 16-bit fields are Int, 32-bit fields are Long.
Properties
ADC resolution of every BrainAccess amplifier (ADS1299), bits.
ADXL343 as the V2 firmware programs it (DATA_FORMAT = 0, ±2 g, right-justified): 3.9 mg/LSB.
ICM-42670-P gyroscope full scale as the firmware programs it (GYRO_UI_FS_SEL = ±250 dps).
ICM-42670-P at ±2 g full scale, 16-bit two's complement.
Standard gravity in m/s² per g.