John
d8b2ae1bc8
fix constant field dump
Build / build (push) Failing after 1m52s
Coverage / coverage (push) Failing after 3m13s
2025-02-21 06:37:03 +01:00
John
e795ce604a
add value range and step support, fix value list validation
2025-01-06 22:08:49 +01:00
John
88b039e58e
simplify value list parsing
2025-01-06 19:48:52 +01:00
John
fab1dd1b1f
fix constant value encoding in json
2025-01-01 16:30:48 +01:00
John
776cf05812
missed commit
2024-12-25 15:22:57 +01:00
John
85a3eef0a6
fix dump of divisor
2024-12-12 22:04:35 +01:00
John
5d8c9735d2
formatting, lint
2024-10-01 06:44:52 +02:00
John
e703e9b705
assert names are valid identifier with little exceptions only ( closes #1302 )
2024-07-13 10:09:32 +02:00
John
08515d1167
unify decodeLastData usage, add raw logging to read cmd
2024-06-27 18:34:45 +02:00
John
5bf0ab8eaa
updated year
2024-02-04 09:36:20 +01:00
John
077d09b620
lint
2023-11-04 09:31:08 +01:00
John
b901232678
add /templates endpoint and include types+templates+conditions+chains in dump output
2023-10-22 12:17:43 +02:00
John
2c7cab3dc1
update year
2023-06-16 20:40:35 +02:00
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