| 400 | } |
| 401 | |
| 402 | std::vector<int> BoardShim::get_board_presets (int board_id) |
| 403 | { |
| 404 | int presets[512]; |
| 405 | int len = 0; |
| 406 | int res = ::get_board_presets (board_id, presets, &len); |
| 407 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 408 | { |
| 409 | throw BrainFlowException ("failed to get board info", res); |
| 410 | } |
| 411 | return std::vector<int> (presets, presets + len); |
| 412 | } |
| 413 | |
| 414 | std::string BoardShim::get_device_name (int board_id, int preset) |
| 415 | { |
nothing calls this directly
no test coverage detected