DeviceHardware

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.

The advertised name ("BA HALO 108") only says which montage the headset has (DeviceModel). The code says which sensors sit in the stream-packet footer and how they scale: a HALO V3 has an IMU that the earlier HALOs lack, and the V3 IMU (ICM-42670-P) counts 64× finer than the ADXL343 on the V2 boards. Every byte after the EEG payload depends on this, so the decoder and the unit conversion both key on it.

Code 3 (EMG) is a montage this SDK does not model and resolves to null; legacyDefault is what a device is assumed to be when the string is missing or unparseable — the V2 board of its model.

Code 6 is the EXG8 board (advertised "BA EXG8 "). fromDeviceInfo also uses the DIS hardware revision to tell the HALO generations apart.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Raw accelerometer counts per 1 g — the sensitivity of the part; 0 when there is no accelerometer.

Link copied to clipboard
val code: Int

The DIS Model Number value.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Bytes the IMU adds to the stream-packet footer: 3 × int16 per present sensor.

Link copied to clipboard

Montage this generation carries.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sample rates this board streams: 250/500 Hz everywhere, 1 kHz on HALO V3, 1 and 2 kHz on EXG8. The firmware refuses a faster rate (stream status 2 on 3.7.0+).

Functions

Link copied to clipboard

Raw accelerometer counts → m/s².

Link copied to clipboard
fun carries(advertised: DeviceModel): Boolean

Whether a headset advertising advertised can be on this board. com.neurotec.brainaccess.core.DeviceSession applies the Model Number only when true.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.