README adapted.
This commit is contained in:
@@ -13,6 +13,7 @@ Features
|
|||||||
* collect data of cycle messages
|
* collect data of cycle messages
|
||||||
* poll messages and collect received data
|
* poll messages and collect received data
|
||||||
* write raw data into dump files (for debugging purpose)
|
* write raw data into dump files (for debugging purpose)
|
||||||
|
* scan ebus to identifies bus participants
|
||||||
|
|
||||||
* available daemon commands:
|
* available daemon commands:
|
||||||
- get fetch data from ebus participant
|
- get fetch data from ebus participant
|
||||||
@@ -20,6 +21,10 @@ Features
|
|||||||
- cyc fetch data from collected cycle messages
|
- cyc fetch data from collected cycle messages
|
||||||
- hex send given hex value to ebus (ZZPBSBNNDx)
|
- hex send given hex value to ebus (ZZPBSBNNDx)
|
||||||
|
|
||||||
|
- scan scan kown slave addresses (collected)
|
||||||
|
- scan full scan all possible slave addresses
|
||||||
|
- scan result show scanning results
|
||||||
|
|
||||||
- log areas change log areas
|
- log areas change log areas
|
||||||
- log level change log level
|
- log level change log level
|
||||||
|
|
||||||
@@ -29,12 +34,29 @@ Features
|
|||||||
- reload reload ebus configuration
|
- reload reload ebus configuration
|
||||||
|
|
||||||
- stop stop daemon
|
- stop stop daemon
|
||||||
|
|
||||||
- quit close connection
|
- quit close connection
|
||||||
|
|
||||||
- help print help page
|
- help print help page
|
||||||
|
|
||||||
|
|
||||||
|
vendor specific configuration files for ebusd
|
||||||
|
---------------------------------------------
|
||||||
|
|
||||||
|
See https://github.com/yuhu-/ebus-configuration
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ebusctl - client program for ebusd
|
||||||
|
----------------------------------
|
||||||
|
|
||||||
|
server commands:
|
||||||
|
* connect to ebusd (socket) and execute server commands (commands see above)
|
||||||
|
|
||||||
|
local commands:
|
||||||
|
* 'feed' ebusd with raw data from dump files (or telnet) to ebusd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
@@ -43,32 +65,6 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
|
|
||||||
|
|
||||||
Daemon Configuration
|
|
||||||
--------------------
|
|
||||||
|
|
||||||
See ./ebusd -h
|
|
||||||
|
|
||||||
|
|
||||||
Vendor specific configuration files
|
|
||||||
-----------------------------------
|
|
||||||
|
|
||||||
See https://github.com/yuhu-/ebus-configuration
|
|
||||||
|
|
||||||
|
|
||||||
Tools
|
|
||||||
-----
|
|
||||||
|
|
||||||
ebusctl - client program for ebusd.
|
|
||||||
|
|
||||||
local commands:
|
|
||||||
* 'feed' ebusd with raw data from dump files (or telnet) to ebusd
|
|
||||||
* 'scan' ebus and identifies the participants
|
|
||||||
|
|
||||||
remote commands:
|
|
||||||
* connect to ebusd (socket) and execute server commands (see above)
|
|
||||||
|
|
||||||
See ./ebusctl -h
|
|
||||||
|
|
||||||
|
|
||||||
For usage and further information take a look on help page.
|
For usage and further information take a look on help page.
|
||||||
|
|
||||||
|
|||||||
+13
-13
@@ -292,16 +292,9 @@ std::string BaseLoop::decodeMessage(const std::string& data)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case scan:
|
case scan:
|
||||||
if (cmd.size() < 1 || cmd.size() > 2) {
|
if (cmd.size() == 1) {
|
||||||
result << "usage: 'scan'" << std::endl
|
m_ebusloop->scan();
|
||||||
<< " 'scan full'" << std::endl
|
result << "done";
|
||||||
<< " 'scan result'";
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (strcasecmp(cmd[1].c_str(), "RESULT") == 0) {
|
|
||||||
//~ m_ebusloop->scan(true);
|
|
||||||
result << "TODO show result";
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -311,8 +304,15 @@ std::string BaseLoop::decodeMessage(const std::string& data)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_ebusloop->scan();
|
if (strcasecmp(cmd[1].c_str(), "RESULT") == 0) {
|
||||||
result << "done";
|
//~ m_ebusloop->scan(true);
|
||||||
|
result << "TODO show result";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
result << "usage: 'scan'" << std::endl
|
||||||
|
<< " 'scan full'" << std::endl
|
||||||
|
<< " 'scan result'";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case log:
|
case log:
|
||||||
@@ -390,7 +390,7 @@ std::string BaseLoop::decodeMessage(const std::string& data)
|
|||||||
<< " hex - send given hex value 'hex type value' (value: ZZPBSBNNDx)" << std::endl << std::endl
|
<< " hex - send given hex value 'hex type value' (value: ZZPBSBNNDx)" << std::endl << std::endl
|
||||||
<< " scan - scan ebus kown addresses 'scan'" << std::endl
|
<< " scan - scan ebus kown addresses 'scan'" << std::endl
|
||||||
<< " - scan ebus all addresses 'scan full'" << std::endl
|
<< " - scan ebus all addresses 'scan full'" << std::endl
|
||||||
<< " - scan show results 'scan result'" << std::endl << std::endl
|
<< " - show results 'scan result'" << std::endl << std::endl
|
||||||
<< " log - change log areas 'log areas area,area,..' (areas: bas|net|bus|cyc|all)" << std::endl
|
<< " log - change log areas 'log areas area,area,..' (areas: bas|net|bus|cyc|all)" << std::endl
|
||||||
<< " - change log level 'log level level' (level: error|event|trace|debug)" << std::endl << std::endl
|
<< " - change log level 'log level level' (level: error|event|trace|debug)" << std::endl << std::endl
|
||||||
<< " raw - toggle log raw data 'raw'" << std::endl
|
<< " raw - toggle log raw data 'raw'" << std::endl
|
||||||
|
|||||||
Reference in New Issue
Block a user