MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / stop_stream

Method stop_stream

src/board_controller/pieeg/pieeg_board.cpp:153–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153int PIEEGBoard::stop_stream ()
154{
155 if (keep_alive)
156 {
157 keep_alive = false;
158 if (streaming_thread.joinable ())
159 {
160 streaming_thread.join ();
161 }
162 return send_command (0x0A); // stop
163 }
164 else
165 {
166 return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING;
167 }
168}
169
170int PIEEGBoard::release_session ()
171{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected