Commit Graph
176 Commits
Author SHA1 Message Date
john30 f92a047c09 better constant name 2020-01-11 12:41:21 +01:00
john30 3b569a01e1 fix for bad string.c_str() usage on temporary strings (seems to be problematic starting with gcc>=6.3.0, fixes #325 and #326) 2020-01-11 12:39:23 +01:00
john30 b23d8c32dc formatting 2019-08-15 19:05:25 +02:00
john30 c26f7b3b07 also detect subsequent fields with less than 8 bits not fitting into 1 byte 2019-06-29 08:16:26 +02: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
john30 1c17f7c466 use nullptr instead of NULL 2018-05-06 14:54:52 +02:00
john30 1955e4862f added decode/encode commands, use [DD]* instead of Dx in help 2018-04-08 13:48:54 +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 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 77d2a805b1 fix for input string suddenly vanishing on certain compiler versions (at least gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609) 2017-10-21 12:03:57 +02:00
john30 46078f8c88 fix for wrong dump of value list and constant fields (fixes #112) 2017-10-15 19:14:54 +02:00
john30 6be124f52e fixed compiler warnings 2017-08-22 07:46:01 +02:00
john30 b8a4e5e032 added DataField::getCount(), exclude name wrap when fieldIndex is used in SingleDataField::read(), corrected json indent 2017-07-02 10:09:47 +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 340f862026 simplified too complex CSV header line interpretation 2017-05-07 15:31:09 +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 b9a9e7ba53 added -N argument to read command 2017-04-22 16:06:52 +02:00
john30 de456b3774 potential memory fix 2017-04-22 11:32:27 +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 61c3aeddf9 enhanced AttributedItem and corrected number detection in appendJson 2017-04-16 15:01:47 +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 380ba2d19d moved field defintion to message/data, reworked filereader 2017-03-19 21:18:26 +01:00
john30 b88922fb40 allow less than 8 bits for non-numeric types as well, corrected TTQ/TTH decoding 2017-03-19 14:26:49 +01:00
john30 f41266e36f added short output format, also use numeric fields for json when names are not requested 2017-03-05 12:51:03 +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 1fd682ba51 added getDayName(), formatting 2017-02-19 11:37:09 +01:00
john30 bbc29bdb2f switched to absolute include dirs, formatting 2017-02-04 19:28:31 +01:00
john30 5b66b4fe3c formattingdiff 2017-01-15 13:10:04 +01:00
john30 f1c5c0ab28 updated copyright year 2017-01-15 11:10:08 +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 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 41ac7a5591 extendd getName with optional field index 2017-01-08 12:07:11 +01:00
john30 37fddea559 removed unnecessary include 2017-01-07 21:17:47 +01:00
john30 f4d0348679 corrected csv err position reporting 2016-12-23 14:01:21 +01:00
john30 71117b40b6 formatting 2016-12-11 16:29:56 +01:00
john30 1fec0f693c added constant value data types 2016-12-10 23:51:10 +01:00
john30 c3b341d1ba added missing check for invalid position in *DataField::read() and require remainder to be at least 1 byte long, formatting 2016-11-19 11:56:17 +01:00