Commit Graph
110 Commits
Author SHA1 Message Date
john30 6e998909cf fix for getline usage with newer compilers 2016-05-21 10:03:25 +02:00
john30 6983ea0aee fixed previous commit, added test for EXR, added test for EXP+EXR with divider 2016-02-20 14:30:23 +01:00
john30 a91d8ffd3b better comment, added test for BTM 2016-02-07 12:24:16 +01:00
john30 4f48fe1d5c added EXP+EXR data types 2016-02-06 16:32:52 +01:00
john30 bd1587e1c9 corrected termination of NTS 2016-02-06 11:28:23 +01:00
john30 6e41246d42 added null terminated and filled string 2016-01-30 18:38:43 +01:00
john30 5e4d9f3d40 added HCD:1, HCD:2, HCD:3, corrected max values for BCD+HCDdiff 2016-01-30 17:58:48 +01:00
john30 88d3086a6d remove spaces around value list assignment, fix for invalid hex in value list 2016-01-30 17:29:34 +01:00
john30 767cb9bc1f updated copyright year 2016-01-06 13:54:01 +01:00
john30 bc84dd389f added special length '*' for consuming remaining input 2016-01-03 18:55:45 +01:00
john30 d040534752 added pin type, corrected lengths 2016-01-02 13:27:53 +01:00
john30 1928abfe83 allow extreme value list entries 2015-12-29 23:01:34 +01:00
john30 81f490d74f increased max field lengths for STR and HEX to 31, renamed a dataType_s field, added dynamic max field length to DataField::create(), use named objects for JSON fields instead of array (or numbered if field names are not unique) 2015-12-27 22:41:50 +01:00
john30 79cbd5649b added big endian data type variants (UIR for UIN, SIR for SIN, FLR for FLT, ULR for ULG, SLR for SLG) 2015-12-13 13:37:19 +01:00
john30 f26e1d0835 skip everything after and including dot when parsing int values 2015-12-10 08:21:09 +01:00
john30 0f07948e8b removed invalid replacement from types marked as required (BTI,HTI,HTM) and allow replacement value in VTM as documented, documentation 2015-11-08 16:40:32 +01:00
john30 9dbdeffe0c unified copyright notice 2015-11-07 14:47:13 +01:00
john30 5230e2413e added base type VTM (reverse HTM) 2015-10-17 11:39: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 a25c52e486 added data type HCD (for Ochsner) 2015-06-20 10:47:32 +02:00
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 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 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 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 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 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 0282afc9b7 adjusted to changed template structure 2014-12-18 23:26:53 +01:00
john30 3a55d7552c fix for new result code empty 2014-12-14 18:55:11 +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 41152a4031 file mode 2014-12-07 14:57:05 +01:00
john30 0a87e9d853 avoid copying SymbolString 2014-12-07 14:23:55 +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 97f050fb16 introduced DataFieldTemplates,a dded missing type HTI, switched to UTF8 encoding 2014-11-23 14:53:22 +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 2317bd206f removed absolute positions, fix for part def 2014-11-22 13:36:01 +01:00
john30 54de8319c9 better verify message 2014-11-22 09:24:03 +01:00