Commit Graph
80 Commits
Author SHA1 Message Date
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