Commit Graph
34 Commits
Author SHA1 Message Date
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
john30 75eb227ade added test for set, better error messages 2014-11-22 08:44:24 +01:00
john30 04f5ec49df added slave data tests and creation fail test 2014-11-20 21:10:26 +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 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 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