BADevice
interface BADevice
Represents a BrainAccess device interface for interacting with Bluetooth peripherals.
Inheritors
Properties
Link copied to clipboard
The battery level of the device.
Link copied to clipboard
The current connection state of the device as a reactive MutableStateFlow.
Link copied to clipboard
The current configuration of the device.
Link copied to clipboard
Index of the last received data sample.
Link copied to clipboard
The associated BluetoothPeripheral containing raw Bluetooth connection data.
Functions
Link copied to clipboard
Applies a new configuration to the device.
Link copied to clipboard
Initiates a connection to the device.
Link copied to clipboard
Disconnects from the device.
Link copied to clipboard
Begins battery level acquisition from the device.
Link copied to clipboard
Starts the data stream from the device.
Link copied to clipboard
Stops battery level acquisition.
Link copied to clipboard
Stops the data stream from the device.