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

Method call_open

src/board_controller/synchroni/synchroni_board.cpp:192–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192int SynchroniBoard::call_open ()
193{
194 if (dll_loader == NULL)
195 {
196 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
197 }
198 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("synchroni_open_device");
199 if (func == NULL)
200 {
201 safe_logger (spdlog::level::err, "failed to get function address for open_device");
202 return (int)BrainFlowExitCodes::GENERAL_ERROR;
203 }
204 std::tuple<std::string> info = std::make_tuple (params.mac_address);
205 return func ((void *)&info);
206}
207
208int SynchroniBoard::call_start ()
209{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected