MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / get_version

Method get_version

cpp_package/src/board_shim.cpp:619–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619std::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}

Callers

nothing calls this directly

Calls 2

BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected