| 207 | } |
| 208 | |
| 209 | int BrainAlive::start_stream (int buffer_size, const char *streamer_params) |
| 210 | { |
| 211 | if (!initialized) |
| 212 | { |
| 213 | return (int)BrainFlowExitCodes::BOARD_NOT_CREATED_ERROR; |
| 214 | } |
| 215 | int res = prepare_for_acquisition (buffer_size, streamer_params); |
| 216 | |
| 217 | if (res == (int)BrainFlowExitCodes::STATUS_OK) |
| 218 | { |
| 219 | res = config_board ("0a038100000d"); |
| 220 | } |
| 221 | if (res == (int)BrainFlowExitCodes::STATUS_OK) |
| 222 | { |
| 223 | safe_logger (spdlog::level::debug, "Start command Send 250sps"); |
| 224 | is_streaming = true; |
| 225 | } |
| 226 | |
| 227 | return res; |
| 228 | } |
| 229 | |
| 230 | int BrainAlive::stop_stream () |
| 231 | { |
nothing calls this directly
no test coverage detected