Commit Graph
162 Commits
Author SHA1 Message Date
john30 4ffc6155a1 fixed escaping and crc 2014-12-07 09:43:49 +01:00
john30 8089dab4b4 solved todo 2014-12-06 23:50:31 +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 e173ba6ad5 removed commented stuff 2014-12-06 22:26:13 +01:00
john30 62fc5046e2 added optional direct buffer to write to (instead of queuing the data), extended raw logging to include sent symbols 2014-12-06 21:24:24 +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 b831df5eca corrected prepareMaster() 2014-12-06 15:33:46 +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 fe66df7afa added missing code, formatting 2014-12-06 15:23:23 +01:00
john30 482e849a1e use result code 2014-12-06 15:22:41 +01:00
john30 2bd88f45db fix for walking through added messages 2014-12-06 13:46:52 +01:00
john30 38f0ddbe78 simplified message type detection 2014-12-06 12:47:48 +01:00
john30 0e1e724f62 reworked result codes, added new base type VTI (vaillant specific time), added support for replacement value for time types 2014-12-06 12:47:01 +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 9cea334407 better ==, added commented code for debug, added todo 2014-12-06 12:35:41 +01:00
john30 09b2d969be added SymbolString(SymbolString), optimized 2014-12-03 23:02:30 +01:00
Roland Jax b68e346120 revert: modify serial device settings instead of using empty template. 2014-12-03 15:16:12 +01:00
john30 c9015eb4f4 fixed storage for messages by name only 2014-12-01 22:15:30 +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 3da2c42c0e added getPollPriority() 2014-11-30 20:18:35 +01:00
john30 377c9c61c0 changed from m_isActive to m_isPassive, made defaults more flexible (every char besides r/w/p/0-9 can be used for defining messages to listen to - aka cyc), fix for defaults field list and duplicate message definitions, multiple message types now need to be separated by comma, optimized finding messages 2014-11-30 20:12:59 +01:00
john30 46fb6763bc do not override name when referencing templates, added DataField::dump() 2014-11-30 20:05:35 +01:00
john30 7d46a58ba5 switched to using priority in getMasterNumber() 2014-11-30 20:03:58 +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 fb3574de8c added defaults, added printErrorPos 2014-11-30 10:22:36 +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 29f60af55c use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream 2014-11-29 20:10:57 +01:00
john30 637800125c changed default arg for push_back 2014-11-29 19:04:16 +01:00
john30 11d43843c0 renamed a method, pass some class instances as reference 2014-11-29 19:03:21 +01:00
Roland Jax 10839f770f modify serial device settings instead of using empty template; check if serial fd is a valid terminal 2014-11-28 14:19:31 +01:00
john30 02a04f00e2 removed unused files 2014-11-23 20:53:40 +01:00
john30 eb8fed70a3 removed unused files 2014-11-23 20:52:10 +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 4141f8e091 more result codes 2014-11-23 20:23:43 +01:00
john30 59700b0084 added some real examples 2014-11-23 15:18:48 +01:00
john30 da6a5563a6 fix for prepare() 2014-11-23 15:18:30 +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 9a5fb321a6 introduced DataFieldTemplates,a dded missing type HTI 2014-11-23 14:50:03 +01:00
john30 2922d25539 introduced DataFieldTemplates,a dded missing type HTI 2014-11-23 14:41:08 +01:00
john30 42ee567e63 introduced DataFieldTemplates,a dded missing type HTI 2014-11-23 14:40:18 +01:00
john30 d19d89a0b0 introduced MessageMap, nicer method names 2014-11-23 13:33:31 +01:00
john30 ea63e9d461 use result_t, added getMasterNumber(), documentation 2014-11-23 13:32:38 +01:00
john30 6e0ddb1e8b removed pt_masterDataID again 2014-11-23 13:31:23 +01:00
john30 aa443d1eb7 adjusted to included weekday on write 2014-11-22 20:57:51 +01:00