Liking cljdoc? Tell your friends :D

brainflow-java.core


-mainclj

(-main)
source

brainflow-initialized?clj

(brainflow-initialized?)

Check if BrainFlow has been initialized.

Check if BrainFlow has been initialized.
sourceraw docstring

check-dll-architectureclj

(check-dll-architecture dll-path)

Check if a DLL matches the current JVM architecture on Windows

Check if a DLL matches the current JVM architecture on Windows
sourceraw docstring

create-dependency-installer-scriptclj

(create-dependency-installer-script)

Create the cross-platform dependency installer script file

Create the cross-platform dependency installer script file
sourceraw docstring

create-input-paramsclj

(create-input-params params-map)

Create a BrainFlowInputParams object with the given parameters. Common parameters include: :serial_port - Serial port name (e.g. 'COM3', '/dev/ttyUSB0') :ip_address - IP address for network boards :ip_port - IP port for network boards
:mac_address - MAC address for Bluetooth boards :other_info - Additional info as needed :serial_number - Serial number :file - File path for file-based boards :timeout - Timeout value :master_board - Master board ID for some boards

Create a BrainFlowInputParams object with the given parameters.
Common parameters include:
:serial_port - Serial port name (e.g. 'COM3', '/dev/ttyUSB0')
:ip_address - IP address for network boards
:ip_port - IP port for network boards  
:mac_address - MAC address for Bluetooth boards
:other_info - Additional info as needed
:serial_number - Serial number
:file - File path for file-based boards
:timeout - Timeout value
:master_board - Master board ID for some boards
sourceraw docstring

ensure-brainflow-loaded!clj

(ensure-brainflow-loaded!)

Ensures BrainFlow is loaded with improved error handling and architecture detection

Ensures BrainFlow is loaded with improved error handling and architecture detection
sourceraw docstring

explain-jna-messagesclj

(explain-jna-messages)

Explain the JNA extraction messages users might see

Explain the JNA extraction messages users might see
sourceraw docstring

fully-qualify-mapclj

(fully-qualify-map m)
source

get-actual-jvm-bitnessclj

(get-actual-jvm-bitness)

More robust JVM bitness detection

More robust JVM bitness detection
sourceraw docstring

get-board-dataclj

(get-board-data board-shim & [num-samples])

Get data from BrainFlow board. Automatically downloads BrainFlow if needed.

Get data from BrainFlow board. Automatically downloads BrainFlow if needed.
sourceraw docstring

get-board-shimclj

(get-board-shim board-id input-params)

Get a BrainFlow board shim. Downloads BrainFlow if needed. Takes board-id (int) and input-params (map with keys like :serial_port, :ip_address, etc.)

Get a BrainFlow board shim. Downloads BrainFlow if needed. Takes board-id (int)
and input-params (map with keys like :serial_port, :ip_address, etc.)
sourceraw docstring

get-cause-chainclj

(get-cause-chain e)

Unwraps an exception into a sequence of causes, starting with the root.

Unwraps an exception into a sequence of causes, starting with the root.
sourceraw docstring

get-default-synth-board-shimclj

(get-default-synth-board-shim board-id)
(get-default-synth-board-shim board-id params-map)

Simplified version that takes a board-id and optional parameters map

Simplified version that takes a board-id and optional parameters map
sourceraw docstring

get-os-typeclj

(get-os-type)
source

install-dependencies-with-babashkaclj

(install-dependencies-with-babashka)

Install all BrainFlow dependencies using cross-platform Babashka script

Install all BrainFlow dependencies using cross-platform Babashka script
sourceraw docstring

is-expected-jna-error?clj

(is-expected-jna-error? exception)

Check if an exception is the expected JNA file extraction behavior

Check if an exception is the expected JNA file extraction behavior
sourceraw docstring

load-all-native-librariesclj

(load-all-native-libraries native-path)

Enhanced native library loading with better error reporting and architecture matching

Enhanced native library loading with better error reporting and architecture matching
sourceraw docstring

load-native-libraryclj

(load-native-library lib-path lib-name)

Enhanced native library loading with architecture verification

Enhanced native library loading with architecture verification
sourceraw docstring

prepare-sessionclj

(prepare-session board-shim)

Prepare a BrainFlow session. Automatically downloads BrainFlow if needed.

Prepare a BrainFlow session. Automatically downloads BrainFlow if needed.
sourceraw docstring

release-sessionclj

(release-session board-shim)

Release BrainFlow session. Automatically downloads BrainFlow if needed.

Release BrainFlow session. Automatically downloads BrainFlow if needed.
sourceraw docstring

start-streamclj

(start-stream board-shim & [buffer-size])

Start BrainFlow data stream. Automatically downloads BrainFlow if needed.

Start BrainFlow data stream. Automatically downloads BrainFlow if needed.
sourceraw docstring

stop-streamclj

(stop-stream board-shim)

Stop BrainFlow data stream. Automatically downloads BrainFlow if needed.

Stop BrainFlow data stream. Automatically downloads BrainFlow if needed.
sourceraw docstring

test-brainflowclj

(test-brainflow)
(test-brainflow board-id input-params)

Test BrainFlow functionality with a synthetic board. Returns true if successful, throws exception if failed.

Test BrainFlow functionality with a synthetic board.
Returns true if successful, throws exception if failed.
sourceraw docstring

update-project-depsclj

(update-project-deps jar-path)
source

verify-native-librariesclj

(verify-native-libraries native-path)

Verify that native libraries exist and are accessible

Verify that native libraries exist and are accessible
sourceraw docstring

with-brainflowcljmacro

(with-brainflow & body)
source

with-suppressed-jna-loggingclj

(with-suppressed-jna-logging f)

Temporarily suppress JNA logging during BrainFlow operations

Temporarily suppress JNA logging during BrainFlow operations
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close