- sendCommandtoDevice(byte[]) - Method in class com.neurosky.connection.TgStreamReader
-
Send command to device
- setGetDataTimeOutTime(int) - Method in class com.neurosky.connection.TgStreamReader
-
set the timeout time for read thread, the default time is 5s
- setParser(TgStreamReader.ParserType, int) - Method in class com.neurosky.connection.TgStreamReader
-
Set parser for stream reader.
- setReadFileBlockSize(int) - Method in class com.neurosky.connection.TgStreamReader
-
Set the block size for reading file thread, the default size is 8.
- setReadFileDelay(int) - Method in class com.neurosky.connection.TgStreamReader
-
If the working thread read file too fast, give a tiny delay after reading once, the default delay is 2ms
- setRecordStreamFilePath(String) - Method in class com.neurosky.connection.TgStreamReader
-
Set the file path for recording the stream data, the default path is /sdcard /neurosky/year-month-day-hour-minute-second-RawPackageRecording.txt
- setTgStreamHandler(TgStreamHandler) - Method in class com.neurosky.connection.TgStreamReader
-
Set the TgStreamHandler for TgStreamReader
- start() - Method in class com.neurosky.connection.TgStreamReader
-
Start the reading thread.
- startLog() - Method in class com.neurosky.connection.TgStreamReader
-
Enable the debug log.
- startRecordRawData() - Method in class com.neurosky.connection.TgStreamReader
-
Set the record flag for reading thread.
- STATE_COMPLETE - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_CONNECTED - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_CONNECTING - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_DISCONNECTED - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_ERROR - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_FAILED - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_GET_DATA_TIME_OUT - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_INIT - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_RECORDING_END - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_RECORDING_START - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_STOPPED - Static variable in class com.neurosky.connection.ConnectionStates
-
- STATE_WORKING - Static variable in class com.neurosky.connection.ConnectionStates
-
- stop() - Method in class com.neurosky.connection.TgStreamReader
-
Stop the read thread.
- stopConsoleLog() - Static method in class com.neurosky.connection.TgStreamReader
-
Stop the console log process.
- stopLog() - Method in class com.neurosky.connection.TgStreamReader
-
Disable the debug log.
- stopRecordRawData() - Method in class com.neurosky.connection.TgStreamReader
-
Stop record the stream data and flush the store file.