Commit Graph
257 Commits
Author SHA1 Message Date
john30 e3856c3148 added support for conditions based on raw value of numeric fields, adjust error position cout in case of duplicate, added ostream arg to printErrorPos, added separate RESULT_ERR_DUPLICATE_NAME 2015-10-11 22:35:45 +02:00
john30 03df7511cc allow subclass override behaviour of reading defaults, added ostream arg to printErrorPos 2015-10-11 22:35:07 +02:00
john30 dc356c45e6 added separate RESULT_ERR_DUPLICATE_NAME 2015-10-11 22:34:18 +02:00
john30 94c3b639ca added base type TTH 2015-09-26 17:28:25 +02:00
john30 f3d4bbcc19 added field list to find command (solved #1) 2015-09-26 12:40:57 +02:00
john30 c0b022782f check for invalid divisor/values for string and value list based types 2015-09-26 11:31:24 +02:00
john30 70e0569cd3 use optional comment and unit for first field when deriving a DataFieldSet, use name only for singular template reference, also trim split parts, documentation 2015-09-20 11:29:29 +02:00
john30 90f5702f41 made trim static 2015-09-20 11:23:02 +02:00
john30 fad2276cf8 trim the line and each field 2015-09-19 10:25:05 +02:00
john30 f06e3291fe removed commented code 2015-09-19 10:24:22 +02:00
john30 f34265b818 added findAll(SymbolString) and invalidateCache() 2015-09-19 09:50:54 +02:00
john30 33017c42f7 updated to new DataFieldTemplates 2015-06-20 10:48:07 +02:00
john30 a25c52e486 added data type HCD (for Ochsner) 2015-06-20 10:47:32 +02:00
john30 b0e97b01f5 added support for setting a different name for a template when it appears in a message 2015-06-20 10:10:51 +02:00
john30 d39ef92f3c always update last message update time when actively sending it 2015-06-07 18:48:54 +02:00
john30 d798815bcd added tests for json and numeric read 2015-06-04 13:05:58 +02:00
john30 294c953c99 added option "-n" to read command for retrieving name/value pairs in numeric form, added numeric and verbose options to json, use null for unset values or replacement in json, allow passing raw value when writing name/value pairs, fix for numeric parsing of empty string 2015-06-04 13:04:38 +02:00
john30 b8b52efde4 fix for numeric parsing of empty string 2015-06-04 13:01:47 +02:00
john30 6725cb526f added Message::setPollPriority and MessageMap::addPollMessage 2015-05-25 14:08:29 +02:00
john30 682a157222 added getLastSlaveData() 2015-05-25 11:10:24 +02:00
john30 39c00de51e fixed documentation 2015-05-14 13:05:19 +02:00
john30 7aa153848e updated author address 2015-05-14 10:47:51 +02:00
john30 d573fff746 added Symbol::compareMaster to avoid updating last message change time when only the querying master was modified 2015-05-14 09:50:28 +02:00
john30 605bca9ff0 introduced read-only mode 2015-05-01 08:35:02 +02:00
john30 f1d76a64cc introduced DataFormat and support for JSON 2015-05-01 08:32:58 +02:00
john30 243760f543 expect poll priority immediately after "r" type char 2015-03-27 22:38:29 +01:00
john30 28b866af43 print error position if reading config fails 2015-03-27 22:36:12 +01:00
john30 5bd74035c5 extended max allowed data length to 25 2015-03-22 14:01:51 +01:00
john30 428b9342d2 add another check, better format for read input 2015-03-21 11:26:13 +01:00
john30 5da560b79a less compiler warnings 2015-03-20 23:01:06 +01:00
john30 3377c18c2b fix for reading cached values from master part 2015-03-20 21:21:55 +01:00
john30 2cfa18c4e1 33c8776 2015-03-14 11:04:54 +01:00
john30 33c8776706 renamed class in message definition and commands to circuit 2015-03-14 11:02:24 +01:00
john30 da6149f764 allow larger timeouts 2015-03-14 09:37:56 +01:00
john30 0f93369bee allow mixing references to base type and templates in message definition 2015-03-13 22:12:11 +01:00
john30 bdf0faec1d Merge branch 'master' of github.com:john30/ebusd 2015-03-12 23:56:19 +01:00
john30 be99a12d04 fix for previous commit 2015-03-12 23:40:54 +01:00
john30 8333a978ef adjusted to latest data.cpp 2015-03-12 23:29:46 +01:00
john30 b935019aa7 allow empty field list, formatting 2015-03-12 23:29:25 +01:00
john30 ce9f443dde removed default argument values from DataFiel::create, documentation 2015-03-12 23:20:35 +01:00
john30 9fcda22ee5 removed unnecessary check 2015-03-12 22:03:30 +01:00
john30 0d44c9bacd more bounds checks 2015-03-11 08:42:28 +01:00
john30 10c7981219 fir for previous commit, nicer comments 2015-03-08 14:28:28 +01:00
john30 86e308c68f compiler warning 2015-03-08 14:10:16 +01:00
john30 6257327aaf extended Message::create to allow specifying multiple destinations (class is then suffixed with .0, .1 etc.) 2015-03-08 14:04:03 +01:00
john30 491b107635 pass address type instead of address to Message::create 2015-03-08 14:02:33 +01:00
john30 2faab3f3b4 fixed previous commit 2015-03-07 16:25:40 +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 97561ff87d shortened manufacturer names 2015-03-07 14:47:24 +01:00
john30 6740a6376b solved todo: cache symbols instead of decoded values, use cache for verbose and field-selective read as well, include names and comments in verbose find 2015-03-07 14:07:58 +01:00