Commit Graph
163 Commits
Author SHA1 Message Date
John 34552eab61 fix ignored message id key for NN>3, fix longer message key check (fixes #1436), add log message on exceeded max length 2025-01-12 10:11:04 +01: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 1316291740 also send MQTT definition topic and handle knx subscription for conditional messages evaluated later 2024-01-14 11:04:10 +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
Alex SamorukovandGitHub 329c175b0c message.h: remove std:binary_function
This PR removes   'binary_function' reference to fix error on freebsd/current 
```
 no member named 'binary_function' in namespace 'std';
```

binary_function is deprecated in C++11 and removed in  C++17. Good thing that ebusd is not using it anyway, so IMHO it is safe to remove.
2023-07-19 19:48:23 +02:00
John 2c7cab3dc1 update year 2023-06-16 20:40:35 +02:00
John e419c950d8 separate resolving+scanning to own interface+class and avoid use of extern 2023-05-18 12:24:50 +02:00
John eb007fe381 use preferred language for config file retrieval 2023-01-02 20:00:58 +01:00
Steffen PankratzandGitHub fa3361c014 fix compiler warning: deprecated std::binary_function (#609) 2022-06-19 14:17:44 +02:00
John ea5337fdaa add option to add bits to setDataHandlerState() 2022-04-30 15:37:23 +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 7128a380f3 extend MQTT integration support with seen filter and variable compression 2022-01-23 19:34:45 +01:00
John c499c4e74b spelling 2022-01-22 15:28:52 +01:00
John c14f934837 add filename 2022-01-08 15:18:03 +01:00
John 8370ba72b4 add getField(), getDataType() 2021-11-20 10:11:55 +01:00
John dea6b976e2 add creation time 2021-11-20 09:15:38 +01:00
John 855bcd7b2b formatting 2021-11-04 15:01:06 +01: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 3af8ede096 updated copyright year 2021-01-16 08:32:09 +01:00
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 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 9cf2f426b6 fixed docu 2018-12-26 16:06:14 +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 1eb3518145 code style, documentation 2018-05-10 13:01:21 +02:00
john30 35afd9908c code style 2018-05-06 15:27:44 +02: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 ca0f59e146 documentation 2018-04-08 09:08:26 +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 125cbcd661 use own reentrant mutex implementation 2017-08-27 14:58:23 +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 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 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