Commit Graph
95 Commits
Author SHA1 Message Date
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
john30 15cbb9bbd9 unified parsing of numeric values, documentation 2014-11-20 22:24:21 +01:00
john30 7a2344d9db made maxPos a constant and corrected max pos check 2014-11-20 21:09:54 +01:00
john30 1083ef24b8 again 2014-11-20 10:17:32 +01:00
john30 6d253af691 check maximum position 2014-11-20 10:15:53 +01:00
john30 46bbca5d86 file mode 2014-11-20 09:30:47 +01:00
john30 f80105b6ac Merge branch 'master' of git://github.com/yuhu-/ebusd
Conflicts:
	src/lib/ebus/data.cpp
	src/lib/ebus/data.h
	src/lib/ebus/test/test_data.cpp
2014-11-20 09:30:27 +01:00
john30 5f922f8970 added support for templates and sets of DataFields, simplified DataField creation, added missing bounds checks 2014-11-20 09:23:54 +01:00
Roland Jax a5605c40be namespace 'libebus' removed. 2014-11-19 19:44:04 +01:00
john30 264ba1ca51 formatting 2014-11-16 11:07:46 +01:00
john30 f074ff35a4 added getters, compiler warnings 2014-11-16 10:52:19 +01:00
john30 63cde34e6a introduced type templates, added bit base types, added two-byte time, added precision, added test for any/min/max/replacement/signed min/signed max for all base types 2014-11-16 10:49:47 +01:00
john30 72fcd8623d introduced NULL_VALUE define 2014-11-09 14:20:58 +01:00
john30 eb8a43b909 solved most TODOs, introduced reference types and chains, use result_t where possible, switched to divisor instead of factor, formatting, introduced VALUE_SEPARATOR for possible switch to real CSV (later), added value range check, small optimizations 2014-11-09 14:14:12 +01:00
Roland Jax 793c64d922 file struturce changed. 2014-11-06 16:08:11 +01:00