| 190 | } |
| 191 | |
| 192 | int 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 | |
| 208 | int SynchroniBoard::call_start () |
| 209 | { |
nothing calls this directly
no test coverage detected