ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware

com.github.mrstampy.esp.openbci
Class OpenBCITester

java.lang.Object
  extended by com.github.mrstampy.esp.openbci.OpenBCITester

public class OpenBCITester
extends java.lang.Object

Main class to demonstrate local and remote notifications from the MultiConnectOpenBCISocket.

Author:
burton

Constructor Summary
OpenBCITester()
           
 
Method Summary
static void main(java.lang.String[] args)
          No args == testLocalAggregation(), any args == testRemoteAggregation().
protected static void testLocalAggregation()
          Demonstrates local raw data acquisition from the OpenBCI.
protected static void testRemoteAggregation()
          Connects to the MultiConnectOpenBCISocket on the default port (12345) to receive raw data events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenBCITester

public OpenBCITester()
Method Detail

testLocalAggregation

protected static void testLocalAggregation()
                                    throws java.lang.Exception
Demonstrates local raw data acquisition from the OpenBCI.

Throws:
java.lang.Exception - the exception

testRemoteAggregation

protected static void testRemoteAggregation()
                                     throws java.lang.Exception
Connects to the MultiConnectOpenBCISocket on the default port (12345) to receive raw data events.

Throws:
java.lang.Exception - the exception
See Also:
AbstractSocketConnector#SOCKET_BROADCASTER_KEY}

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
No args == testLocalAggregation(), any args == testRemoteAggregation().

Parameters:
args - the arguments
Throws:
java.lang.Exception - the exception

brought to you by Mr. Stampy