Commit Graph
196 Commits
Author SHA1 Message Date
john30 27778f2255 use defines for values in source mask of message key and simplified a bit (in preparation of #278), documentation 2019-08-15 19:04:51 +02:00
john30 fa434e5151 fix for messages with later set poll priority being preferred before others in the poll sequence 2019-01-13 20:52:00 +01:00
john30 cc6f16e65a fix for messages with later set poll priority being preferred before others in the poll sequence 2019-01-13 18:02:35 +01:00
john30 caedcc6cb5 Revert "remove newline from JSON output"
This reverts commit d3e496ef6b.
2018-12-26 15:27:47 +01:00
john30 d3e496ef6b remove newline from JSON output 2018-12-25 14:11:33 +01:00
john c467f2b245 add MessageMap::findAll changedSince argument to distinguish touched/changed for since/until range 2018-12-02 12:22:37 +01:00
john30 1c17f7c466 use nullptr instead of NULL 2018-05-06 14:54:52 +02:00
john30 10e0c96ac2 fix for potential duplicate free 2018-04-08 19:07:49 +02:00
john30 000d68f3c2 added "-def" option to read and write commands for using inline message definition (fixes #154), added support for replacing messages during load to FileReader and subclasses, added MessageMap::remove(), prepared decode/encode commands 2018-04-08 13:48:49 +02:00
john30 8ad3ad9c5b removed unnecessary check 2018-04-08 09:08:46 +02:00
john30 bd5f800426 code style, missing initializers and imports 2018-04-04 15:48:26 +02:00
john30 a36174c02f added support for retrieving configuration files from config service URL and changed that to be the default, always store loaded files by relative path, changed FileReader to allow reading from stream as well 2018-04-04 10:08:46 +02:00
john30 fa78ae73f0 updated copyright year 2018-01-28 15:17:33 +01:00
john30 b0e20b7c7c code style 2017-12-26 14:27:44 +01:00
john30 c680e87bde corrected using fieldIndex in Message::decodeLastData(bool, ...), corrected finding field in DataFieldSet::read() with index and without name, added optional partType and fieldName to DataField::getCount() 2017-12-26 13:56:26 +01:00
john30 f6aeaae2cc fix for dumping chained messages, load and dump everything (unconditionally) when checking/dumping configuration 2017-09-09 10:04:56 +02:00
john30 ca7c8bd4fa fix for potential access to no longer existing Message instances in DataHandler, validate MQTT topic during argument parsing, extended DataHandler registration to allow registering multiple instances at once, only create MqttHandler if active 2017-08-27 09:40:43 +02:00
john30 6be124f52e fixed compiler warnings 2017-08-22 07:46:01 +02:00
john30 e451e96a90 enhanced JSON interface to retrieve definition and raw messages, fixed for JSON strings with quotes 2017-06-05 18:16:13 +02:00
john30 23d930d653 fix for mqtt topic including field 2017-06-03 12:17:18 +02:00
john30 a0c03779a1 compiler warningsdiff 2017-05-28 09:28:46 +02:00
john30 606292acda corrected uniqueness of json keys, added write as option to json get 2017-05-25 12:54:42 +02:00
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 506ff25063 removed commented line 2017-05-13 08:42:35 +02:00
john30 340f862026 simplified too complex CSV header line interpretation 2017-05-07 15:31:09 +02:00
john30 6d57b3fc61 fix for duplicate lines with --dumpconfig 2017-05-04 07:26:39 +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 cce36d93f5 fix for sigsegv when resolving conditions introduced by 611cb56 2017-04-26 09:33:39 +02:00
john30 43042eec9d style 2017-04-23 11:58:54 +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 ac90586b15 fixed compiler warning 2017-04-16 17:00:31 +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 f933c822e9 fix for picking up value list in condition definition 2017-04-02 13:14:45 +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 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 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