rudimental version of 'scan result' added.

This commit is contained in:
Roland Jax
2014-11-17 21:06:48 +01:00
parent 46e8aa7a77
commit 48fcf39d53
2 changed files with 4 additions and 3 deletions
+4 -2
View File
@@ -305,8 +305,10 @@ std::string BaseLoop::decodeMessage(const std::string& data)
}
if (strcasecmp(cmd[1].c_str(), "RESULT") == 0) {
//~ m_ebusloop->scan(true);
result << "TODO show result";
// TODO format scan results
for (size_t i = 0; i < m_commands->sizeScanDB(); i++)
result << m_commands->getScanData(i) << std::endl;
break;
}
-1
View File
@@ -251,7 +251,6 @@ void Commands::storeScanData(const std::string& data)
m_scanDB.push_back(data);
}
void Commands::printCommand(const cmd_t& command) const
{
if (command.size() == 0)