Commit Graph
100 Commits
Author SHA1 Message Date
john30 78d8aa4d94 apply transfer latency also to auto SYN 2020-03-29 18:28:23 +02:00
john30 5a6920afd5 simplified, fix for repeating read when first was incomplete 2020-02-16 10:49:17 +01:00
john30 b26bd2d941 fix for handling arbitration result 2020-02-15 13:14:12 +01:00
john30 2ddd7df758 add enhanced error codes 2020-02-15 12:39:24 +01:00
john30 f2aae4cb2b avoid unnecessary host traffic 2020-02-09 12:06:09 +01:00
john30 4174531a9d added notifyStatus to DeviceListener and log errors/info from enhanced device, switch to send error instead of duplicate when starting arbitration if that is already in progress, fix enhanced arbitration, also send initial reset if enhanced device is on network 2020-02-02 15:57:22 +01:00
john30 6d35c90c9c shorten timeout for receiving second part of enhanced proto 2020-02-02 09:53:19 +01:00
john30 3a77957e28 make terminal change immediate (otherwise sometimes causes params not being set under cygwin) 2020-02-02 09:00:53 +01:00
john30 a82ef6631f fix for two-byte enhanced transfer polling, fix unnecessary buffer allocation, fix skip for invalid protocol bytes 2020-01-25 19:44:41 +01:00
john30 b8658f8f2c Merge remote-tracking branch 'origin/master' into enhanced_device
# Conflicts:
#	src/lib/ebus/device.cpp
2020-01-25 15:27:11 +01:00
john30 fb32960402 add option to reduce dump flush buffer size to 1 2020-01-25 15:22:30 +01:00
john30 7b8ceb7db5 support cygwin build 2020-01-11 12:51:37 +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 1834b59e8b fix extra send retry (fixes #328) 2020-01-11 08:58:08 +01:00
john30 2eb6f5f574 fix duplicate /global entry (fixes #327) 2020-01-11 08:41:13 +01:00
john30 177568c537 sharpen net device check keepalive options 2019-12-29 14:45:04 +01:00
john30 7ad5098451 added some basic info to non-ebusd clients 2019-12-14 16:36:43 +01:00
john30 a68adba23f fix for new enhanced proto 2019-12-03 08:01:06 +01:00
john30 f8f4d216ff fix for locking during update notification/handling 2019-12-01 09:34:37 +01:00
john30 05e629a742 changed FAILED to include the sent master address instead of the received one, renamed device to interface, corrected traffic example, added SYN generator example 2019-11-30 10:08:04 +01:00
john30 2af779edf9 added traffic examples 2019-11-30 09:38:09 +01:00
john30 3513290478 Merge branch 'enhanced_device' of github.com:john30/ebusd into enhanced_device 2019-11-30 00:15:50 +01:00
john30 f84b5bb4ce implemented new enhanced proto 2019-11-30 00:13:36 +01:00
JohnandGitHub 8e41736056 changed STARTED to report used master address 2019-11-30 00:00:24 +01:00
john30 5d8db10fbf updated to next generation of enhanced protocol 2019-11-26 20:57:20 +01:00
john30 f15279815e fix for use with xargs 2019-11-24 12:15:00 +01:00
john30 87b3705e3a fix for concatenation of several update messages (fixes #309 and fixes #312) 2019-11-17 10:22:20 +01:00
john30 f55101d9a6 update rpi as well 2019-11-10 19:30:35 +01:00
john30 3e7e4c7a3c add RPi version (fix #267) 2019-11-10 19:04:05 +01:00
john30 819463fc27 add info for browsers 2019-10-27 14:31:18 +01:00
john30 43f7660d66 updated to 3.4 md5sum 2019-10-27 11:20:08 +00:00
john30 57eae053c7 updated version to 3.4 2019-10-27 10:27:58 +01:00
john30 0038c3a2d2 removed outdated ref 2019-10-27 10:27:19 +01:00
john30 d6e59c8422 set exit code in checkconfig (fixes #297) 2019-10-27 10:15:27 +01:00
john30 3a4bd476e6 updated 2019-10-27 10:00:22 +01:00
john30 bbfe10b9b9 add option to listen to unknown messages (fixes #80) 2019-10-27 09:59:37 +01:00
john30 af77f4bc1e add adjustable verbosity to listen command (fixes #163) 2019-10-27 09:27:22 +01:00
john30 82d6a5b4a4 formatting 2019-10-27 09:23:54 +01:00
john30 ae91be0874 simplified hiding secrets from cmdline (fixes #300) 2019-10-27 08:17:22 +01:00
john30 4cfdb4d97c hide secrets from cmdline 2019-10-24 09:01:05 +02:00
john30 67a42543f9 also check reconnect when loop reports connection loss 2019-10-19 15:40:04 +02:00
john30 28e5f90002 add other to areas 2019-10-19 15:33:05 +02:00
john30 d9d1b9a9fe updated, prepared for v3.4 2019-10-06 14:16:55 +02:00
john30 fa977f45f4 add support for logging to syslog (fixes #293), log exit on errors during daemonization, log config path on error, better variable names 2019-10-06 14:12:52 +02:00
john30 0c46fb57ff missing ebusd version 2019-10-06 13:14:07 +02:00
john30 3202d55d70 added config service 2019-10-06 13:05:32 +02:00
john30 450d01b6f2 added a readme 2019-10-06 11:35:35 +02:00
john30 0fa718b5b9 added a readme 2019-10-06 11:32:36 +02:00
john30 20a8f4f7f6 distinguish between problematic binaries before commit 94932c1 and after 2019-10-06 11:25:33 +02:00
john30 f8733a5e6b fix required arguments check for write -h 2019-09-08 11:10:27 +02:00
john30 3926e9cbf8 updated 2019-08-15 19:13:03 +02:00
john30 be370c487b missing include 2019-08-15 19:05:36 +02:00
john30 b23d8c32dc formatting 2019-08-15 19:05:25 +02: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 c2163d683e stop if logfile cannot be opened in daemon mode 2019-08-15 18:38:49 +02:00
john30 28f79290ed fix compiler warning 2019-08-11 08:21:44 +02:00
john30 595d1dd73a re-added accidentially removed HAVE_LINUX_SERIAL check from previous commit 2019-08-11 08:19:39 +02:00
JohnandGitHub 958a9a8cda add paypal 2019-06-30 11:06:29 +02:00
JohnandGitHub f3bfe77db0 Merge pull request #253 from andr2000/pr_non_lsb_init
support for non-LSB distributions
2019-06-29 09:07:00 +02:00
john30 dc994d223e updated 2019-06-29 09:01:27 +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 a3f49994ad added /list topic (fixes #277) 2019-04-07 21:00:30 +02:00
john30 82ae8480d3 added new direct command and mode (fixes #269) 2019-03-24 14:52:44 +01:00
john30 3514515b4d added last time to GrabbedMessage in preparation of direct mode 2019-03-24 14:51:08 +01:00
john30 cdd26bbfe8 added last time to GrabbedMessage in preparation of direct mode 2019-03-24 14:50:35 +01:00
john30 4a78328e92 updated 2019-03-16 15:53:49 +01:00
john30 94932c1fe1 fix for #266 2019-03-16 15:50:45 +01:00
john30 d366bbb6b3 log loop communication error at most every 10 seconds and wait at least 1 second before doing the loop again on error (#262) 2019-02-16 17:38:36 +01:00
john30 5af41dfab0 updated 2019-01-27 10:13:42 +01:00
john30 753cde6773 fixed escaping with quote or dquote (fixes #256) 2019-01-27 10:00:02 +01: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 eb39103cd7 retain signal 2019-01-13 09:10:25 +01:00
john30 f32714a8a7 added option to set poll priority with /get topic and message with question mark plus priority number (fixes #246) 2019-01-12 16:53:55 +01:00
john30 859987ec89 formatted, corrected attrs (fixes #245) 2019-01-02 07:57:40 +01:00
john30 2f6b2bba85 fix for always enabled --mqttchanges option (fixes #241) 2018-12-30 11:58:28 +01:00
john30 212b22dd1a switched to stretch, use entrypoint.sh from release 2018-12-26 19:11:06 +01:00
john30 6fb32d4005 Merge branch 'master' of github.com:john30/ebusd 2018-12-26 18:06:37 +01:00
john30 5e92c6d729 updated md5sum 2018-12-26 17:06:05 +00:00
john30 ce53e75c0d removed unused runtime 2018-12-26 18:04:26 +01:00
john30 b5ade5734c mosquitto_threaded_set not available in 1.3.2 yet 2018-12-26 16:38:15 +01:00
john30 95f0c7e804 updated version to 3.3 2018-12-26 16:19:41 +01:00
john30 194ea9d8aa updated version to 3.3 2018-12-26 16:18:22 +01:00
john30 beb929b095 updated version to 3.3 2018-12-26 16:09:39 +01:00
john30 9cf2f426b6 fixed docu 2018-12-26 16:06:14 +01:00
john30 4dfa163efa code style 2018-12-26 16:03:14 +01:00
john30 eb8f63c80e code style 2018-12-26 16:02:53 +01:00
john30 caedcc6cb5 Revert "remove newline from JSON output"
This reverts commit d3e496ef6b.
2018-12-26 15:27:47 +01:00
john30 4d742f5b33 Revert "fixed tests for changed JSON format"
This reverts commit 187a92f722.
2018-12-26 15:27:45 +01:00
john30 7d57d92aad Revert "remove newline from JSON output"
This reverts commit b2c63ac261.
2018-12-26 15:27:25 +01:00
john30 b2c63ac261 remove newline from JSON output 2018-12-25 16:28:06 +01:00
john30 187a92f722 fixed tests for changed JSON format 2018-12-25 14:23:09 +01:00
john30 d3e496ef6b remove newline from JSON output 2018-12-25 14:11:33 +01:00
john30 90eeb20466 updated 2018-12-25 13:48:38 +01:00
john30 cb78d98185 added --mqttlog and --mqttversion options, check return code of calls to mosquitto library, log library version, set threaded mode 2018-12-25 13:40:16 +01:00
john30 c475e6ce0e fix for deadlock in libmosquitto (https://github.com/eclipse/mosquitto/issues/1090), fixes #231 2018-12-23 15:32:34 +01:00
john30 be8d772524 avoid using C++11 isnan 2018-12-22 19:16:04 +01:00
john30 768bd5c299 added RestartSec=30 (fixes #229) 2018-12-16 15:29:36 +01:00
john30 92d6294600 added repository hint 2018-12-16 12:45:38 +01:00