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 core (ba_device_model in device_model.h) and written by the firmware (device_information_api.h, device_number_list).

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 — exactly as the C core does (DeviceFeatures.h, eeg_manager.cpp PutAccelerometerData / PutGyroData).

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, which is every unit shipped before the code carried a generation.

Code 6 is the C core's MINI_V3. That board ships as its own product, the EXG8 (advertised "BA EXG8 "), so it resolves only for a device advertising as EXG8; a development unit on that board still advertising as "BA MINI" falls back to MINI_V2 like any mismatched code.

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

Functions

Link copied to clipboard

Raw accelerometer counts → m/s² (the C core's counts * GRAVITY / accelCountsPerG).

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.