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

Method stop_stream

src/board_controller/enophone/enophone.cpp:76–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76int Enophone::stop_stream ()
77{
78 if (keep_alive)
79 {
80 keep_alive = false;
81 streaming_thread.join ();
82 state = (int)BrainFlowExitCodes::SYNC_TIMEOUT_ERROR;
83 return bluetooth_close_device ();
84 }
85 else
86 {
87 return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING;
88 }
89}
90
91int Enophone::release_session ()
92{

Callers

nothing calls this directly

Calls 1

bluetooth_close_deviceFunction · 0.85

Tested by

no test coverage detected