Commit Graph
214 Commits
Author SHA1 Message Date
john30 8864ce55b8 fix for getline usage with newer compilers 2016-05-15 17:18:57 +02:00
john30 042f6655d1 added callback function to store files loaded by instructions to MessageMap::executeInstructions and Instruction::execute, moved list of loaded files from BusHandler to MessageMap 2016-04-30 16:50:02 +02:00
john30 d1e4a838b9 added message direction selectors to MessageMap::find(SymbolString) 2016-04-24 11:12:00 +02:00
john30 fab8752a01 fix for dumpconfig 2016-04-23 11:50:22 +02:00
john30 5f5fbca959 fix for traversing instructions 2016-04-10 12:17:40 +02:00
john30 d203f8c285 initialize m_lastError, missing separator in LoadInstruction::execute 2016-03-26 11:06:12 +01:00
john30 adcf3e0d33 log included/loaded files by instruction 2016-03-20 12:25:47 +01:00
john30 6e6e05c10e pass default destination address, circuit and suffix to load instruction, fix for instruction cleanup 2016-03-13 16:04:20 +01:00
john30 59d2cdd25b introduced instructions, added "include" and "load" instructions for including/loading configuration data depending on conditions, added support for on-the-fly creation of conditions, added support for string based conditions 2016-03-13 15:05:42 +01:00
john30 f60b29fe16 fix for checking duplicate messages with condition 2016-01-27 08:31:01 +01:00
john30 767cb9bc1f updated copyright year 2016-01-06 13:54:01 +01:00
john30 4fec638b78 solved some TODOs 2016-01-06 13:37:35 +01:00
john30 bc84dd389f added special length '*' for consuming remaining input 2016-01-03 18:55:45 +01:00
john30 62317ea47b also store derived scan messages with circuit name extended by address on success 2016-01-03 11:23:26 +01:00
john30 a5ffaf89a2 fix for previous commit 2016-01-02 12:13:59 +01:00
john30 d3e077b32e fixes for answer mode, fix for duplicate counting of own master address, fix for empty scan and missing seen state, added answer to scan message in answer mode, solved TODO 2016-01-02 01:13:48 +01:00
john30 af997ea9a2 do not print conditions prefix with "find -f" 2015-12-31 12:11:37 +01:00
john30 0efe16a24e added chained messages, removed unused methods 2015-12-27 22:49:08 +01:00
john30 5b7aea8564 corrected MessageMap::invalidateCache() 2015-12-12 17:57:16 +01:00
john30 76d1adde59 no longer limit allowed message ID length (was 4 bytes) 2015-12-05 10:33:12 +01:00
john30 07f278d66a insert default suffix in circuit if found in filename 2015-11-22 15:10:20 +01:00
john30 0d97462dee extended "-i" parameter of find command to accept further ID parts 2015-11-22 14:19:38 +01:00
john30 89d8167580 corrected Message::dump 2015-11-22 10:20:42 +01:00
john30 bf172b3688 removed template param, moved tolower() to FileReader 2015-11-22 09:31:11 +01:00
john30 331820f7ee moved handling of defaults row to MessageMap, added documentation 2015-11-21 14:32:52 +01:00
john30 9d098164c7 support for read and write with identical ID parts 2015-11-14 16:34:16 +01:00
john30 0fbf448584 corrected message count logging, dump all messages when in scanconfig 2015-11-14 15:13:29 +01:00
john30 7f8dcff0f0 added Condition::dump(), simplified Message::dump() and added prefixed condition dump, report invalid condition if field was defined but no values 2015-11-08 22:13:33 +01:00
john30 abc3cf7cef do not invalidate cached data of scan messages 2015-11-08 16:04:01 +01:00
john30 dc3796959e use default destination and circuit in condition, check destination address for scan conditions and improved error message 2015-11-08 14:00:03 +01:00
john30 e19173ff73 corrected deallocation of messages stored by key only 2015-11-08 12:12:17 +01:00
john30 f29219396b also calculate key for temporary message, keep initial leadingSeparator if it was passed true in decode() and decodeLastData(), use empty condition messagename for referencing scan result, added MessageMap::getScanMessage(), do not poll for scan message, store derived scan message by key only, removed unnecessary minIdLength determination 2015-11-07 18:24:59 +01:00
john30 9dbdeffe0c unified copyright notice 2015-11-07 14:47:13 +01:00
john30 6307049a0a compiler warning 2015-11-07 14:22:33 +01:00
john30 6814cdf3a1 enhanced MessageMap to allow duplicates for full check, fix to avoid multiple identical derived messages 2015-10-25 19:44:16 +01:00
john30 c2c3462134 allow querying for first field in hasField(), support cloning message for conditions with specific destination address, support message seen check in condition, fix for parsing destination address in condition, more error messages 2015-10-18 12:11:12 +02:00
john30 dc8bdcdaeb extracted method readConditions() 2015-10-18 11:08:23 +02:00
john30 0492a4db1e added combined conditions, fix for Condition::create() 2015-10-18 10:16:29 +02:00
john30 1d2d8f8511 comment 2015-10-17 19:20:20 +02:00
john30 8f48070be8 extract default destination and circuit from filename 2015-10-17 19:05:55 +02:00
john30 92a446e3bb added getLastMasterData(), fix for storing last master data in prepareMaster() 2015-10-17 12:51:10 +02:00
john30 f0f779cf69 added support for conditions based on raw value of numeric fields, adjust error position cout in case of duplicate, corrected getDefault() size check 2015-10-11 22:36:00 +02:00
john30 f3d4bbcc19 added field list to find command (solved #1) 2015-09-26 12:40:57 +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 f34265b818 added findAll(SymbolString) and invalidateCache() 2015-09-19 09:50:54 +02:00
john30 d39ef92f3c always update last message update time when actively sending it 2015-06-07 18:48:54 +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 6725cb526f added Message::setPollPriority and MessageMap::addPollMessage 2015-05-25 14:08:29 +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