| 206 | } |
| 207 | |
| 208 | int 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 | |
| 224 | int SynchroniBoard::call_stop () |
| 225 | { |
nothing calls this directly
no test coverage detected