brainaccess.core.ble_device#

Classes#

BaBleDevice

Represents a Bluetooth Low Energy (BLE) device found during a scan.

Module Contents#

class brainaccess.core.ble_device.BaBleDevice[source]#

Bases: ctypes.Structure

Represents a Bluetooth Low Energy (BLE) device found during a scan.

This class stores the device’s name and MAC address, which are essential for identifying and connecting to a specific BrainAccess device.

name[source]#

The broadcasted name of the BLE device.

Type:

str

Return type:

str

mac_address[source]#

The unique MAC address of the BLE device.

Type:

str

Return type:

str

Initialize self.  See help(type(self)) for accurate signature.
property mac_address: str[source]#

The MAC address of the device, used for connection.

Return type:

str

property name: str[source]#

The human-readable name of the device.

Return type:

str