| 222 | } |
| 223 | |
| 224 | int SynchroniBoard::call_stop () |
| 225 | { |
| 226 | if (dll_loader == NULL) |
| 227 | { |
| 228 | return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR; |
| 229 | } |
| 230 | int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("synchroni_stop_stream"); |
| 231 | if (func == NULL) |
| 232 | { |
| 233 | safe_logger (spdlog::level::err, "failed to get function address for stop_stream"); |
| 234 | return (int)BrainFlowExitCodes::GENERAL_ERROR; |
| 235 | } |
| 236 | std::tuple<std::string> info = std::make_tuple (params.mac_address); |
| 237 | return func ((void *)&info); |
| 238 | } |
| 239 | |
| 240 | int SynchroniBoard::call_close () |
| 241 | { |
nothing calls this directly
no test coverage detected