Commit Graph
179 Commits
Author SHA1 Message Date
john30 e3856c3148 added support for conditions based on raw value of numeric fields, adjust error position cout in case of duplicate, added ostream arg to printErrorPos, added separate RESULT_ERR_DUPLICATE_NAME 2015-10-11 22:35:45 +02:00
john30 94c3b639ca added base type TTH 2015-09-26 17:28:25 +02:00
john30 c0b022782f check for invalid divisor/values for string and value list based types 2015-09-26 11:31:24 +02:00
john30 70e0569cd3 use optional comment and unit for first field when deriving a DataFieldSet, use name only for singular template reference, also trim split parts, documentation 2015-09-20 11:29:29 +02:00
john30 a25c52e486 added data type HCD (for Ochsner) 2015-06-20 10:47:32 +02:00
john30 b0e97b01f5 added support for setting a different name for a template when it appears in a message 2015-06-20 10:10:51 +02:00
john30 294c953c99 added option "-n" to read command for retrieving name/value pairs in numeric form, added numeric and verbose options to json, use null for unset values or replacement in json, allow passing raw value when writing name/value pairs, fix for numeric parsing of empty string 2015-06-04 13:04:38 +02:00
john30 7aa153848e updated author address 2015-05-14 10:47:51 +02:00
john30 f1d76a64cc introduced DataFormat and support for JSON 2015-05-01 08:32:58 +02:00
john30 0f93369bee allow mixing references to base type and templates in message definition 2015-03-13 22:12:11 +01:00
john30 bdf0faec1d Merge branch 'master' of github.com:john30/ebusd 2015-03-12 23:56:19 +01:00
john30 ce9f443dde removed default argument values from DataFiel::create, documentation 2015-03-12 23:20:35 +01:00
john30 9fcda22ee5 removed unnecessary check 2015-03-12 22:03:30 +01:00
john30 0d44c9bacd more bounds checks 2015-03-11 08:42:28 +01:00
john30 491b107635 pass address type instead of address to Message::create 2015-03-08 14:02:33 +01:00
john30 97561ff87d shortened manufacturer names 2015-03-07 14:47:24 +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 2dec01535b Merge branch 'master' of github.com:john30/ebusd 2015-03-07 12:13:11 +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 382f7e175d fix for non-default unsigned char 2015-02-25 21:59:13 +01:00
john30 453ffd2477 corrected dump for divider 2015-02-23 23:36:56 +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 e484bf57b9 added helper for dumping messages, corrected line number printing 2015-02-21 16:19:02 +01:00
john30 41cd38ab75 changed code style 2015-02-21 13:18:36 +01:00
john30 be7a8e9828 updated copyright year 2015-02-01 13:12:29 +01:00
john30 676a0e60c0 documentation 2015-02-01 12:58:30 +01:00
john30 a865dfe322 return error when part or name was defined and part is last item 2014-12-31 10:47:22 +01:00
john30 699ee88b5b fixed bounds check for time types 2014-12-31 09:59:54 +01:00
john30 be8ae316ed renamed isSet to isWrite 2014-12-31 07:42:41 +01:00
Roland Jax 612270f942 code style 2014-12-30 20:08:48 +01:00
john30 088d99d4bc allow replacement value for PIN type 2014-12-27 16:10:16 +01:00
john30 f659788e39 fixed precision for derived types, fixed memory leaks, optimized 2014-12-27 12:40:41 +01:00
john30 ffb71a56d3 do not modify iterator content in DataField::create() 2014-12-26 20:38:06 +01:00
john30 7a394bc13b allow empty field list, allow templates to override each other 2014-12-26 19:45:31 +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 985d1f4389 pass iterator to FileReader::addFromFile() in order to keep track of the erroneous column, added verbose mode to FileReader 2014-12-18 23:06:31 +01:00
john30 cdf7fb6522 file mode 2014-12-18 21:15:31 +01:00
john30 6569f46e40 removed part column from templates 2014-12-18 21:07:38 +01:00
john30 5670c05a9a added base type PIN, simplified ident fields 2014-12-14 18:54:49 +01:00
john30 2c2ab1c031 added option to read only a single field 2014-12-14 12:08:35 +01:00
john30 83201eb287 removed nonsense formatting in DataFieldSet::read 2014-12-14 11:36:41 +01:00
john30 5d2b28f3db fixed ostringstream formatting (again) 2014-12-13 14:42:47 +01:00
john30 cda96e6e3b extraced FileReader to separate .h and added support for quoted CSV 2014-12-13 11:07:18 +01:00
john30 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 2014-12-13 00:00:21 +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 382da6215c reduced DataField::read() and ::write() to a single SymbolString, adjusted message accordingly 2014-12-06 16:44:52 +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