moving 'scan' functionality from ebusctl into ebusd continued.

This commit is contained in:
Roland Jax
2014-11-16 21:50:35 +01:00
parent e5452282ad
commit b6cae7884a
7 changed files with 166 additions and 47 deletions
+2 -2
View File
@@ -22,8 +22,8 @@
namespace libebus
{
BusCommand::BusCommand(const std::string commandStr, const bool isPoll)
: m_isPoll(isPoll), m_command(commandStr), m_result(), m_resultCode(RESULT_OK)
BusCommand::BusCommand(const std::string commandStr, const bool poll, const bool scan)
: m_poll(poll), m_scan(scan), m_command(commandStr), m_result(), m_resultCode(RESULT_OK)
{
unsigned char dstAddress = m_command[1];