| 617 | } |
| 618 | |
| 619 | std::string BoardShim::get_version () |
| 620 | { |
| 621 | char version[64]; |
| 622 | int string_len = 0; |
| 623 | int res = ::get_version_board_controller (version, &string_len, 64); |
| 624 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 625 | { |
| 626 | throw BrainFlowException ("failed to get board info", res); |
| 627 | } |
| 628 | std::string verion_str (version, string_len); |
| 629 | |
| 630 | return verion_str; |
| 631 | } |
nothing calls this directly
no test coverage detected