Extract debug tool firmware version at startup

This commit is contained in:
Nav
2023-11-18 23:15:11 +00:00
parent 221d931add
commit 1600888624
6 changed files with 21 additions and 0 deletions

View File

@@ -121,6 +121,11 @@ namespace DebugToolDrivers
return std::string(data.begin(), data.end());
}
std::string EdbgDevice::getFirmwareVersionString() {
// TODO: Implement this
return "UNKNOWN";
}
void EdbgDevice::startSession() {
using namespace CommandFrames::HouseKeeping;
using ResponseFrames::HouseKeeping::ResponseId;

View File

@@ -74,6 +74,13 @@ namespace DebugToolDrivers
*/
std::string getSerialNumber() override;
/**
* Retrieves the EDBG firmware version.
*
* @return
*/
std::string getFirmwareVersionString() override;
/**
* Starts a session with the EDBG device using the "Housekeeping" EDBG sub-protocol.
*/