rudimental version of 'scan result' added.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user