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

Method stop_stream

src/board_controller/neuromd/callibri.cpp:172–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172int Callibri::stop_stream ()
173{
174 if (is_streaming)
175 {
176 keep_alive = false;
177 is_streaming = false;
178 streaming_thread.join ();
179 std::string command_stop = "CommandStopSignal";
180 std::string tmp = "";
181 int res = config_board (command_stop, tmp);
182 return res;
183 }
184 else
185 {
186 return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING;
187 }
188}
189
190int Callibri::release_session ()
191{

Callers

nothing calls this directly

Calls 1

config_boardFunction · 0.50

Tested by

no test coverage detected