Commit Graph
64 Commits
Author SHA1 Message Date
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
john30 46fb6763bc do not override name when referencing templates, added DataField::dump() 2014-11-30 20:05:35 +01:00
john30 fb3574de8c added defaults, added printErrorPos 2014-11-30 10:22:36 +01:00
john30 922217602b added FileReader 2014-11-23 20:25:48 +01:00
john30 9a5fb321a6 introduced DataFieldTemplates,a dded missing type HTI 2014-11-23 14:50:03 +01:00
john30 42ee567e63 introduced DataFieldTemplates,a dded missing type HTI 2014-11-23 14:40:18 +01:00
john30 6e0ddb1e8b removed pt_masterDataID again 2014-11-23 13:31:23 +01:00
john30 3a34267bee using namespace std; 2014-11-22 20:56:53 +01:00
john30 f509d68912 write weekday in BDA/32 and HDA/32, added constant, small fixes, added test cases for HDA 2014-11-22 20:42:39 +01:00
john30 24e46f5b44 store bit count separately, added ignored type (IGN), moved field length definition from part to type and allow adjusting length for bit types, added PartType masterDataID, simplfied 2014-11-22 19:17:30 +01:00
john30 e18d3af04f removed absolute positions, fix for part def 2014-11-22 13:36:28 +01:00
john30 2317bd206f removed absolute positions, fix for part def 2014-11-22 13:36:01 +01:00
john30 8461c66103 fixed getNextOffset() and added optional PartType argument, renamed pt_template to pt_any, added getPartType() 2014-11-22 09:41:11 +01:00
john30 80c42df040 add optional length to parseInt() and set result on success, remove unused stuff, avoid reading beyond eof, check divisor in StringDataField::derive(), fix for NumberDataField::writeSymbols() 2014-11-22 08:34:18 +01:00
john30 25196e4852 add optional length to parseInt() and set result on success, remove unused stuff, avoid reading beyond eof, check divisor in StringDataField::derive(), fix for NumberDataField::writeSymbols() 2014-11-22 08:33:11 +01:00
john30 b3a96cc2c0 made parseInt public 2014-11-20 22:29:44 +01:00