Commit Graph

  • 81ecb0b89d added RESULT_ERR_NO_SIGNAL john30 2014-12-27 12:36:12 +01:00
  • 259fb11051 fixed cleanup and memory leaks, cosmetics john30 2014-12-27 12:35:53 +01:00
  • 72eb26805a made run() protected john30 2014-12-27 12:33:45 +01:00
  • 8d835ed7a9 notify all waiting threads in add(), added waitRemove(), cosmetics john30 2014-12-27 12:33:10 +01:00
  • ffb71a56d3 do not modify iterator content in DataField::create() john30 2014-12-26 20:38:06 +01:00
  • 5b560ea27c deny matching any class if class is explicitly requested john30 2014-12-26 20:03:21 +01:00
  • 7a394bc13b allow empty field list, allow templates to override each other john30 2014-12-26 19:45:31 +01:00
  • e75aedcf2b removed replacement value from bit types deny replacement value for BTI, HTI, HTM added replacement value support to BDA and HDA john30 2014-12-26 19:30:51 +01:00
  • d7a9d505b7 added support for using hex values in value list john30 2014-12-26 14:22:52 +01:00
  • 6a46e8cbdb added BCD:2 BCD:3 BCD:4 john30 2014-12-26 13:57:28 +01:00
  • 44b76a27d6 HDA is now in hex instead of BCD john30 2014-12-26 13:27:15 +01:00
  • 3720cc89ab Merge branch 'master' of github.com:yuhu-/ebusd john30 2014-12-25 12:09:50 +01:00
  • dd4127f57b removed unused buffering in port and count dumped bytes instead of using tellp(), small fix in wait for bus after lost arbitration john30 2014-12-25 12:09:27 +01:00
  • 55ccd3fa0d set default for sysconfdir to /etc; create default configuration directory '/etc/ebusd' during 'make install'. Roland Jax 2014-12-23 23:28:30 +01:00
  • 96da8373f5 configure.ac: possibility to change the CXXFLAGS flags added. [default: -g -O2] (e.g.: ./autogen.sh CXXFLAGS='-g -O0) Roland Jax 2014-12-23 08:50:30 +01:00
  • 5d02119d1e fixed previous commit john30 2014-12-21 09:48:57 +01:00
  • 1b718aefa4 Merge branch 'master' of github.com:yuhu-/ebusd john30 2014-12-21 09:46:07 +01:00
  • f4ee6b7e93 renamed cmd to name Roland Jax 2014-12-21 09:43:42 +01:00
  • cdcb2ec0b6 renamed cmd to name john30 2014-12-21 09:22:35 +01:00
  • 10c8c9165a renamed sub to field john30 2014-12-21 09:08:35 +01:00
  • 917135694f ebusdfeed cosmetics. Roland Jax 2014-12-19 20:58:59 +01:00
  • ac62d1fa00 logger start message added when ebusd start with --checkconfig option. Roland Jax 2014-12-19 17:30:14 +01:00
  • a2f24e353a naming of daemon options and order modified to fit with wiki entries. Roland Jax 2014-12-19 17:19:23 +01:00
  • 0282afc9b7 adjusted to changed template structure john30 2014-12-18 23:26:53 +01:00
  • 92b0f07fdf moved config file reading to ebusd.cpp, enhanced config checking mode john30 2014-12-18 23:21:10 +01:00
  • 985d1f4389 pass iterator to FileReader::addFromFile() in order to keep track of the erroneous column, added verbose mode to FileReader john30 2014-12-18 23:06:31 +01:00
  • 4b7ff1d97f directly forward messages to sinks until Thread is started john30 2014-12-18 23:05:11 +01:00
  • e8b355b85e style john30 2014-12-18 22:04:46 +01:00
  • d078044c36 initialize fields, allow missing pidfile john30 2014-12-18 22:04:23 +01:00
  • cdf7fb6522 file mode john30 2014-12-18 21:15:31 +01:00
  • 6569f46e40 removed part column from templates john30 2014-12-18 21:07:38 +01:00
  • 11cec1d47b renamed _types to _templates john30 2014-12-18 21:00:10 +01:00
  • 0cf45451d5 added ebus class name for logging poll command in error case too. Roland Jax 2014-12-17 17:53:26 +01:00
  • ee21f4d5f4 added ebus class name for poll command event log. Roland Jax 2014-12-17 16:05:13 +01:00
  • d610d8b22b not needed include directory in AM_CXXFLAGS for lib/ebus removed. Roland Jax 2014-12-17 15:52:07 +01:00
  • 088cf4a6c2 not needed include directory in AM_CXXFLAGS for lib/ebus/test removed. Roland Jax 2014-12-17 15:33:00 +01:00
  • 5eb5894b1e checkconfig.... Roland Jax 2014-12-17 15:08:14 +01:00
  • a00b2ab602 compiler warning -Wsign-compare fixed. Roland Jax 2014-12-17 14:16:35 +01:00
  • dc5bc4f961 daemon parameter checkconfig added; ebusconfdir renamed to configpath. Roland Jax 2014-12-17 09:31:35 +01:00
  • 64fa3b9176 added -Wno-unused-parameter to AM_CXXFLAGS. Roland Jax 2014-12-16 15:29:10 +01:00
  • ebde0e3032 class Network: added 'port' to ctor parameter. Roland Jax 2014-12-16 15:00:45 +01:00
  • 817c54da16 cass port: getDeviceName() added. Roland Jax 2014-12-16 14:53:46 +01:00
  • c86655b964 merged john30 2014-12-15 20:28:41 +01:00
  • 970574ed50 Merge branch 'master' of https://github.com/yuhu-/ebusd john30 2014-12-15 20:26:58 +01:00
  • 8e068fa34e disable doc for tools, warn if params miss documentation, convert TODO tags to todo-list john30 2014-12-15 20:14:29 +01:00
  • 4e81fd842b fixed documentation john30 2014-12-15 20:11:39 +01:00
  • 55be6ddfcc help older compilers find the template ctor John 2014-12-15 20:01:50 +01:00
  • 72486436ad help older compilers find the template ctor John 2014-12-15 20:00:57 +01:00
  • 105f5e6e7d documentation for doxygen corrected. Roland Jax 2014-12-15 12:12:38 +01:00
  • b13e597602 corrected typo John 2014-12-15 09:52:58 +01:00
  • 75b0b70877 short option -s of --sendretries removed. Roland Jax 2014-12-14 20:26:32 +01:00
  • 319b1b45b0 README adapted. Roland Jax 2014-12-14 20:24:49 +01:00
  • 417cc2a841 Merge pull request #24 from john30/master Roland Jax 2014-12-14 19:33:51 +01:00
  • 2df7bc75b2 deny invalid destination address in write hex john30 2014-12-14 18:58:44 +01:00
  • 118a0ea7d4 completed individual scanning with definitions in "scan" class, nicer passing of received data to BusRequests john30 2014-12-14 18:58:15 +01:00
  • 3a55d7552c fix for new result code empty john30 2014-12-14 18:55:11 +01:00
  • 5670c05a9a added base type PIN, simplified ident fields john30 2014-12-14 18:54:49 +01:00
  • 6d8a82a524 allow blank destination address (e.g. for scans), added MessageMap::findAll() john30 2014-12-14 18:50:49 +01:00
  • 2af6e55505 added result code for invalid address john30 2014-12-14 18:09:16 +01:00
  • 9668d2702d Merge pull request #23 from john30/master Roland Jax 2014-12-14 13:15:19 +01:00
  • 848a043f8b force refresh if single field is requested john30 2014-12-14 12:45:21 +01:00
  • caa0ddc027 fix for new empty result code john30 2014-12-14 12:44:57 +01:00
  • f2eb31ea1f avoid expensive math operations (logn) john30 2014-12-14 12:35:56 +01:00
  • 8a8d94096c Merge pull request #22 from john30/master Roland Jax 2014-12-14 12:19:55 +01:00
  • e507901d8f optimized handling scan result and remove typeinfo dependency john30 2014-12-14 12:15:40 +01:00
  • 2c2ab1c031 added option to read only a single field john30 2014-12-14 12:08:35 +01:00
  • ad52a84833 implemented reload command, allow reading config from symlinks, added verbose and maxage (defaults to 5 minutes) options to read command, use "write -h" instead "hex" for hex commands john30 2014-12-14 11:43:04 +01:00
  • 0fc2396a12 added missing states in getStateCode john30 2014-12-14 11:37:14 +01:00
  • 83201eb287 removed nonsense formatting in DataFieldSet::read john30 2014-12-14 11:36:41 +01:00
  • a9a9865583 added verbose arg to decode() john30 2014-12-14 11:36:14 +01:00
  • 7a975dd274 Merge branch 'master' of git://github.com/yuhu-/ebusd john30 2014-12-14 10:09:43 +01:00
  • d142756f35 Appl: ability to process a dash after a command added. Roland Jax 2014-12-14 08:54:18 +01:00
  • 0fff38a43a Merge branch 'master' of git://github.com/yuhu-/ebusd john30 2014-12-13 17:56:33 +01:00
  • 1378b4c1e4 even nicer logging john30 2014-12-13 17:52:54 +01:00
  • cbbca0b40a Merge pull request #21 from john30/master Roland Jax 2014-12-13 15:07:30 +01:00
  • 1f116aada7 unified logging john30 2014-12-13 14:56:19 +01:00
  • e4f9306dde unified logging john30 2014-12-13 14:55:52 +01:00
  • 5d2b28f3db fixed ostringstream formatting (again) john30 2014-12-13 14:42:47 +01:00
  • 45c739228c corrected log area for update messages john30 2014-12-13 12:03:12 +01:00
  • 169c6a9460 switched to read/write instead of get/set and added force option to read (automatically picks up updated value if available), nicer response messages for BaseLoop, renamed area cyc to upd john30 2014-12-13 12:01:14 +01:00
  • cda96e6e3b extraced FileReader to separate .h and added support for quoted CSV john30 2014-12-13 11:07:18 +01:00
  • e904ad8d99 missing flush added. Roland Jax 2014-12-13 10:48:05 +01:00
  • bc6cdbd17c configure.ac cosmetics. Roland Jax 2014-12-13 10:28:53 +01:00
  • 5a5ecf9b70 configure.ac missing checks added. Roland Jax 2014-12-13 10:14:28 +01:00
  • a9de53123c set 'silent build' as default; suppression of gcc warnings in main executable from local libraries added. Roland Jax 2014-12-13 09:32:39 +01:00
  • 6eab4f86d1 also collect participant addressed actively john30 2014-12-13 00:14:11 +01:00
  • 4922e6024d Merge pull request #20 from john30/master Roland Jax 2014-12-13 00:08:11 +01:00
  • 27a563ca1d implemented scan, nicer logging john30 2014-12-13 00:02:14 +01:00
  • 3d89fef6ae added scanning and collection of seen bus addresses john30 2014-12-13 00:01:31 +01:00
  • 95d9c5fd08 added static dataType_t instances for string/bcd/uch, optimized and added missing initialization of ostringstream in readSymbols(), added DataFieldSet::createIdentFields() for ident message john30 2014-12-13 00:00:21 +01:00
  • 67549fd787 added simple ctor, added override dstAddress to prepareMaster() john30 2014-12-12 23:58:18 +01:00
  • 3ba98c1fba changed type definition to check first char for r/w, last char of type starting with r for priority digit, and last char of non r/w types (=update type) for "w" indicating update write john30 2014-12-11 22:45:13 +01:00
  • 83605cc24d better naming, updated help john30 2014-12-10 23:12:09 +01:00
  • 0bd7df2ce1 switch ";" and "," but keep ";" for values shown in/parsed from UI, added todos, removed "p" for poll (use 1-9 instead), formatting john30 2014-12-10 23:11:34 +01:00
  • d36b024876 implemented answering queries to ebusd, added missing repetition during bs_sendResAck when NAK was received, always log received data in trace level and reduced message length john30 2014-12-10 21:42:21 +01:00
  • 57dba2cba4 add "done" to result for successful BC+MM messages without other result john30 2014-12-10 21:32:40 +01:00
  • ba2b404900 added prepareSlave for answering requests john30 2014-12-10 21:31:44 +01:00
  • 98a4be5f84 fixd dump to file with direct buffer, moved more complex method implementation from .h to .cpp file john30 2014-12-10 20:46:19 +01:00
  • fa61067a0f file mode john30 2014-12-07 19:05:04 +01:00
  • 20e04787c3 Merge pull request #19 from john30/master Roland Jax 2014-12-07 18:46:16 +01:00