John
9d08eec68e
better iterator
2023-06-16 19:45:29 +02:00
John
7ae43351da
code style
2022-02-12 12:42:35 +01:00
John
0135dc9100
update year
2022-02-06 13:37:08 +01:00
John
916f31fab0
fix getName() and getField() with ignored count (again)
2022-02-05 16:21:06 +01:00
John
03ea563afe
fix getName() and getField() with ignored count
2022-01-29 12:43:34 +01:00
John
5f54d560a7
optimized
2022-01-23 17:55:37 +01:00
John
8370ba72b4
add getField(), getDataType()
2021-11-20 10:11:55 +01:00
Steffen Pankratz
251ddce131
fix compiler warning: loop variable creates a copy from type
...
Signed-off-by: Steffen Pankratz <kratz00@gmx.de >
2021-09-06 20:07:52 +02:00
John
38bfc7a751
new enum type for OutputFormat, add level/pollprio/condition to HTTP GET and extend message key by circuit/direction/condition for OF_ALL_ATTRS, start message dump in JSON format
2021-04-02 10:41:50 +02:00
John
02d2845878
fix escaping '"' in config format
2021-02-14 11:33:25 +01:00
John
3af8ede096
updated copyright year
2021-01-16 08:32:09 +01:00
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