Commit Graph
123 Commits
Author SHA1 Message Date
john30 d36315ae35 corrected uniqueness of json keys, added write as option to json get 2017-05-25 12:54:09 +02:00
john30 a4e1aa65b4 optimized 2017-05-13 17:22:08 +02:00
john30 727aca8309 removed unncessary casts, allow more than one file to match, compiler warnings 2017-05-01 17:09:56 +02:00
john30 7b11a540b6 added conditional messages to find command with "-a" option and include condition prefix for CSV format
also allow passing scan messages with --checkconfig and --scanconfig (without --inject)
be more verbose on errors in configuration files
improved code style
2017-05-01 15:31:09 +02:00
john30 611cb562e2 fixed potential iterator misuse, use auto and const where reasonable 2017-04-23 11:57:02 +02:00
john30 07091c17cc more const, use relative filenames 2017-04-22 12:20:26 +02:00
john30 47ed6dde3f added SymbolString::adjustHeader(), avoid strcasecmp, code style 2017-04-17 17:46:32 +02:00
john30 50d1aee7d3 added support for multi language column selection in configuration files 2017-04-17 09:56:46 +02:00
john30 f5c5e34d90 removed fieldIds again in favor of strings (to support custom attributes), corrected JSON format, require circuit in message definition, support custom message attributes in find command 2017-04-16 16:53:39 +02:00
john30 b36efd4086 added circuit level attributes for JSON output, corrected sorting of messages in result of MessageMap::findAll() 2017-04-16 15:03:29 +02:00
john30 80e6f48cf1 fixed compiler warnings 2017-04-09 16:46:22 +02:00
john30 a19a38266a added output of used-defined attributes, use const where appropriate, enhanced http global node, added base class AttributedItem 2017-04-09 16:38:40 +02:00
john30 c9287ee8e0 added/updated documentation 2017-03-25 16:50:43 +01:00
john30 28a30a67fb store loaded files with more details, moved field defintion to message/data, reworked filereader 2017-03-19 21:18:13 +01:00
john30 f7965f8781 added broadcast scan message, keep file names and comments of loaded files separate 2017-03-05 12:52:50 +01:00
john30 fcdf6cb9a2 compiler warning 2017-03-04 21:23:18 +01:00
john30 9461e64cc5 avoid virtual with override 2017-03-04 14:08:19 +01:00
john30 18fc12499b introduced symbol_t, added SymbolString::dataAt() and ::isMaster(), renamed SymbolString::getDataStr() to getStr(), use size_t/ssize_t where appropriate, simplified by use of new SymbolString methods, corrected broadcast scan conversion, use override declaration 2017-03-04 14:01:20 +01:00
john30 cc59b32f0d clearly separate master/slave symbolstrings 2017-02-26 17:34:22 +01:00
john30 1a878694d2 made SymbolString master/slave aware and contain only unescaped data, moved CRC tracking and escpaing/enscaping to BusHandler, moved parseInt/parseSignedInt from datatype.h to symbol.h, added new error code for retrival of unexpted symbol after a send to the bus 2017-02-26 16:31:32 +01:00
john30 ca164185dc fix doxygen and put everything besides main function in namespace ebusd 2017-02-25 16:12:09 +01:00
john30 e87b4fec21 include all users messages if level was not requested in find command 2017-02-18 13:40:42 +01:00
john30 e2a3776903 fix argument order, corrected find 2017-02-18 13:29:05 +01:00
john30 515f412113 separate access level from circuit, introduce type for columns 2017-02-18 11:43:42 +01:00
john30 bbc29bdb2f switched to absolute include dirs, formatting 2017-02-04 19:28:31 +01:00
john30 0771e8ee6b updated copyright year 2017-02-04 08:04:20 +01:00
john30 5bf2f124b3 code style 2017-01-14 19:00:47 +01:00
john30 ebcb260d5f use spaces instead of tab 2017-01-14 18:01:37 +01:00
john30 917414a6f8 code style 2017-01-14 17:58:47 +01:00
john30 0217096b6b code style 2017-01-14 17:34:02 +01:00
john30 774e01e937 use own namespace 2017-01-14 16:41:54 +01:00
john30 54a6c0f673 code style 2017-01-14 15:02:10 +01:00
john30 b3bb2e08ac code style 2017-01-14 13:00:04 +01:00
john30 9ca9964919 added getFieldName() 2017-01-08 12:07:43 +01:00
john30 2c0216a73b added since and until params to MessageMap::findAll(), added column constants 2017-01-07 16:04:33 +01:00
john30 a2770f567c only include matched value in conditions of loaded files 2016-12-17 12:12:58 +01:00
john30 6e2b293067 add reason for load instruction 2016-12-04 14:53:43 +01:00
john30 54e3ad872b extracted helper methods for creating the key and determining the key length, correected key calculation in MessageMap::findAll 2016-11-20 16:07:41 +01:00
john30 ba2cfd157b removed extra function call overhead again 2016-11-19 12:24:25 +01:00
john30 d8f98d0658 moved ScanMessage functionality to base Message, added Message::createScanMessage(), removed name from ebusd generated scan messages 2016-10-29 21:00:16 +02:00
john30 abaad92c13 added ScanMessage and isScanMessage() to skip from polling, added support for immediate message querying from bus for execution of singleton instructions, extended and optimized MessageMap::findAll for ignoring security suffix 2016-10-29 20:24:32 +02:00
john30 012ff3d9af fix for storing own prepared master data, set m_lastUpdateTime only if reasonable data was seen 2016-09-17 16:33:28 +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 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 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 62317ea47b also store derived scan messages with circuit name extended by address on success 2016-01-03 11:23:26 +01:00