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

Method call_start

src/board_controller/synchroni/synchroni_board.cpp:208–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208int SynchroniBoard::call_start ()
209{
210 if (dll_loader == NULL)
211 {
212 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
213 }
214 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("synchroni_start_stream");
215 if (func == NULL)
216 {
217 safe_logger (spdlog::level::err, "failed to get function address for start_stream");
218 return (int)BrainFlowExitCodes::GENERAL_ERROR;
219 }
220 std::tuple<std::string> info = std::make_tuple (params.mac_address);
221 return func ((void *)&info);
222}
223
224int SynchroniBoard::call_stop ()
225{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected