Commit Graph
52 Commits
Author SHA1 Message Date
Roland Jax cbbca0b40a Merge pull request #21 from john30/master
some fixes, better support for CSV, nicer logging
2014-12-13 15:07:30 +01:00
john30 cda96e6e3b extraced FileReader to separate .h and added support for quoted CSV 2014-12-13 11:07:18 +01:00
Roland Jax a9de53123c set 'silent build' as default; suppression of gcc warnings in main executable from local libraries added. 2014-12-13 09:32:39 +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 fa61067a0f file mode 2014-12-07 19:05:04 +01:00
john30 41152a4031 file mode 2014-12-07 14:57:05 +01:00
john30 dc6f5a0980 removed misleading SymbolString copy constructor 2014-12-07 14:44:14 +01:00
john30 2663c0ca76 avoid copying SymbolString 2014-12-07 14:24:38 +01:00
john30 0a87e9d853 avoid copying SymbolString 2014-12-07 14:23:55 +01:00
john30 c0c1cf3966 allow passive messages to be found as well, added leadingSeparator to decode(), fixed default part for passive set 2014-12-06 23:41:14 +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 1c63392869 unified output 2014-12-06 15:26:53 +01:00
john30 d71a9623e7 unified output 2014-12-06 15:26:33 +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 671aa54468 pass log function instead of Logger to avoid dependencies, started decodeMessage for get 2014-12-01 22:14:01 +01:00
john30 31145bb057 added check for decode via loaded MessageMap 2014-11-30 20:02:16 +01:00
john30 43b50875f9 added defaults, allow poll priority as number only, verbose print csv error position, splitted id into pbsb+id again, moved printErrorPos to data.h 2014-11-30 10:23:50 +01:00
john30 f94c981bdc use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream 2014-11-29 20:17:59 +01:00
john30 036036e626 use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream 2014-11-29 20:11:38 +01:00
john30 02a04f00e2 removed unused files 2014-11-23 20:53:40 +01:00
john30 8b3f72211e added message.h/cpp 2014-11-23 20:26:51 +01:00
john30 922217602b added FileReader 2014-11-23 20:25:48 +01:00
john30 59700b0084 added some real examples 2014-11-23 15:18:48 +01:00
john30 0068a5f8f7 fix tests 2014-11-23 14:56:56 +01:00
john30 4d68d443e4 introduced DataFieldTemplates,a dded missing type HTI, added reading of "_types.csv" 2014-11-23 14:54:27 +01:00
john30 97f050fb16 introduced DataFieldTemplates,a dded missing type HTI, switched to UTF8 encoding 2014-11-23 14:53:22 +01:00
john30 d19d89a0b0 introduced MessageMap, nicer method names 2014-11-23 13:33:31 +01:00
john30 aa443d1eb7 adjusted to included weekday on write 2014-11-22 20:57:51 +01:00
john30 3a34267bee using namespace std; 2014-11-22 20:56:53 +01:00
john30 d97bc1bc34 Merge branch 'master' of git://github.com/yuhu-/ebusd 2014-11-22 20:46:25 +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
Roland Jax 4a1033122c 'using namespace std;' added. 2014-11-22 20:42:11 +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 1f33218692 removed absolute positions, fix for part def 2014-11-22 13:37:24 +01:00
john30 2317bd206f removed absolute positions, fix for part def 2014-11-22 13:36:01 +01:00
john30 60f29cecd4 Merge branch 'master' of git://github.com/yuhu-/ebusd 2014-11-22 10:08:42 +01:00
john30 64e353737c added check for prepare, print error pos 2014-11-22 09:58:51 +01:00
john30 54de8319c9 better verify message 2014-11-22 09:24:03 +01:00
john30 7bbceec8ed started development of new Message class 2014-11-22 08:47:02 +01:00
john30 75eb227ade added test for set, better error messages 2014-11-22 08:44:24 +01:00
Roland Jax 8555526ec6 Merge pull request #14 from john30/master
documentation, max pos
2014-11-20 21:40:35 +01:00
john30 04f5ec49df added slave data tests and creation fail test 2014-11-20 21:10:26 +01:00
Roland Jax 835c901da6 documentation for class BaseLoop added; most enum types adapted. 2014-11-20 18:43:07 +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