Commit Graph
83 Commits
Author SHA1 Message Date
john30 d798815bcd added tests for json and numeric read 2015-06-04 13:05:58 +02:00
john30 7aa153848e updated author address 2015-05-14 10:47:51 +02:00
john30 5bd74035c5 extended max allowed data length to 25 2015-03-22 14:01:51 +01:00
john30 428b9342d2 add another check, better format for read input 2015-03-21 11:26:13 +01:00
john30 2cfa18c4e1 33c8776 2015-03-14 11:04:54 +01:00
john30 0f93369bee allow mixing references to base type and templates in message definition 2015-03-13 22:12:11 +01:00
john30 8333a978ef adjusted to latest data.cpp 2015-03-12 23:29:46 +01:00
john30 b935019aa7 allow empty field list, formatting 2015-03-12 23:29:25 +01:00
john30 6257327aaf extended Message::create to allow specifying multiple destinations (class is then suffixed with .0, .1 etc.) 2015-03-08 14:04:03 +01:00
john30 353404e5b0 added parameter to default skip last symbol in SymbolString::getDataStr (removes CRC from logging and hex result) 2015-03-07 15:36:17 +01:00
john30 6740a6376b solved todo: cache symbols instead of decoded values, use cache for verbose and field-selective read as well, include names and comments in verbose find 2015-03-07 14:07:58 +01:00
john30 ed3ef3f5e4 added support for reciprocal divisor, corrected divisor for derived number types (was combined with base datatype divisor instead of actual field divisor) 2015-03-07 11:48:08 +01:00
john30 d50b3b6cb2 added FIELD.N to 'read' command for retrieving N'th FIELD, fixed getMasterNumber(), check maximum NN in message, use more constants, check all type conversions, added --nodevicecheck to ebusfeed help 2015-02-22 13:57:37 +01:00
john30 41cd38ab75 changed code style 2015-02-21 13:18:36 +01:00
john30 d2d97c399b header 2015-02-15 18:50:43 +01:00
john30 71d8727d2d solved some TODOs, check hex input and message length, simplified SymbolString ctors, fixed extra newline in scan result, no longer include write messages in default find command types, append command type to find result in verbose mode, add source and/or destination to update log when not set in the message definition, documentation 2015-02-15 12:20:06 +01:00
john30 1e150844c3 use relative libs for dist, add missing files, add define for sysconfdir 2015-02-14 14:18:43 +01:00
john30 aa306d9131 reworked and optimized device handling and check network device address, log failed device open, avoid blocking threads with sleep(), optimized shutdown 2015-02-08 10:06:03 +01:00
john30 648588149d no longer read any file, added checks 2014-12-31 10:51:19 +01:00
john30 2253060b8a neither update last found timestamp nor empty last found value if decoding failed, added decode() for combined master/slave decoding 2014-12-31 09:16:33 +01:00
Roland Jax 612270f942 code style 2014-12-30 20:08:48 +01:00
john30 f659788e39 fixed precision for derived types, fixed memory leaks, optimized 2014-12-27 12:40:41 +01:00
john30 e75aedcf2b removed replacement value from bit types
deny replacement value for BTI, HTI, HTM
added replacement value support to BDA and HDA
2014-12-26 19:30:51 +01:00
john30 d7a9d505b7 added support for using hex values in value list 2014-12-26 14:22:52 +01:00
john30 6a46e8cbdb added BCD:2 BCD:3 BCD:4 2014-12-26 13:57:28 +01:00
john30 44b76a27d6 HDA is now in hex instead of BCD 2014-12-26 13:27:15 +01:00
john30 dd4127f57b removed unused buffering in port and count dumped bytes instead of using tellp(), small fix in wait for bus after lost arbitration 2014-12-25 12:09:27 +01:00
john30 0282afc9b7 adjusted to changed template structure 2014-12-18 23:26:53 +01:00
john30 11cec1d47b renamed _types to _templates 2014-12-18 21:00:10 +01:00
Roland Jax 088cf4a6c2 not needed include directory in AM_CXXFLAGS for lib/ebus/test removed. 2014-12-17 15:33:00 +01:00
john30 3a55d7552c fix for new result code empty 2014-12-14 18:55:11 +01:00
Roland Jax cbbca0b40a Merge pull request #21 from john30/master
some fixes, better support for CSV, nicer logging
2014-12-13 15:07:30 +01:00
john30 cda96e6e3b extraced FileReader to separate .h and added support for quoted CSV 2014-12-13 11:07:18 +01:00
Roland Jax a9de53123c set 'silent build' as default; suppression of gcc warnings in main executable from local libraries added. 2014-12-13 09:32:39 +01:00
john30 0bd7df2ce1 switch ";" and "," but keep ";" for values shown in/parsed from UI, added todos, removed "p" for poll (use 1-9 instead), formatting 2014-12-10 23:11:34 +01:00
john30 fa61067a0f file mode 2014-12-07 19:05:04 +01:00
john30 41152a4031 file mode 2014-12-07 14:57:05 +01:00
john30 dc6f5a0980 removed misleading SymbolString copy constructor 2014-12-07 14:44:14 +01:00
john30 2663c0ca76 avoid copying SymbolString 2014-12-07 14:24:38 +01:00
john30 0a87e9d853 avoid copying SymbolString 2014-12-07 14:23:55 +01:00
john30 c0c1cf3966 allow passive messages to be found as well, added leadingSeparator to decode(), fixed default part for passive set 2014-12-06 23:41:14 +01:00
john30 382da6215c reduced DataField::read() and ::write() to a single SymbolString, adjusted message accordingly 2014-12-06 16:44:52 +01:00
john30 1c63392869 unified output 2014-12-06 15:26:53 +01:00
john30 d71a9623e7 unified output 2014-12-06 15:26:33 +01:00
john30 15249302fb reworked result codes, added new base type VTI (vaillant specific time), added support for replacement value for time types 2014-12-06 12:46:15 +01:00
john30 671aa54468 pass log function instead of Logger to avoid dependencies, started decodeMessage for get 2014-12-01 22:14:01 +01:00
john30 31145bb057 added check for decode via loaded MessageMap 2014-11-30 20:02:16 +01:00
john30 43b50875f9 added defaults, allow poll priority as number only, verbose print csv error position, splitted id into pbsb+id again, moved printErrorPos to data.h 2014-11-30 10:23:50 +01:00
john30 f94c981bdc use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream 2014-11-29 20:17:59 +01:00
john30 036036e626 use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream 2014-11-29 20:11:38 +01:00