peripherals.OpenBCIWifiPeripheral

class peripherals.OpenBCIWifiPeripheral
gui_name = 'OpenBCI_WiFi'
__init__()

Initialize the peripheral

property connected

True if the peripheral is connected

disconnect()

Disconnect the peripheral

connect(ip_address: str, ip_port=43210, use_daisy=True)

Connect the peripheral (disconnect first if necessary). Returns True if successful, False otherwise

start_streaming(buffer_size=2048)

Start streaming raw data

stop_streaming()

Stop streaming raw data

get_data()

Get the most recent data from the connected raw input peripheral Shape should be (num samples x num channels) with newest samples first

set_channels(channels)

Enable the given channels in the list, disabling the rest

set_sample_rate(sr)

Set the Sample rate of the peripheral. Will raise Exception if unsupported sample rate is given