Commit Graph
100 Commits
Author SHA1 Message Date
John cff4e4a8cb fix stupid merge 2021-01-10 14:13:07 +01:00
John 248e8d65a7 updated 2021-01-10 13:54:50 +01:00
John c129222ffc Merge remote-tracking branch 'origin/master' into enhanced_device
# Conflicts:
#	docs/enhanced_proto.md
#	src/ebusd/bushandler.cpp
#	src/lib/ebus/device.cpp
#	src/lib/ebus/device.h
2021-01-10 13:51:53 +01:00
John f9943e2fe0 increase default network latency to 30ms, also use host latency of 20ms if WIN32 is defined 2021-01-10 13:42:36 +01:00
John 51eb3af351 fix for non-enhanced mode 2021-01-10 13:25:44 +01:00
JohnandGitHub ab75329141 updated 2020-12-06 18:04:08 +01:00
john30 61feda2f34 Revert "Merge branch 'enhanced_device' of github.com:john30/ebusd"
This reverts commit aaccb15a9b, reversing
changes made to edfe09a383.
2020-12-06 17:57:22 +01:00
john30 358d662e5d fix timespec usage 2020-12-06 17:18:25 +01:00
john30 e67d549525 Merge branch 'enhanced_device' of github.com:john30/ebusd into enhanced_device 2020-12-06 17:10:09 +01:00
john30 5d667fdc9c Merge branch 'enhanced_device' of github.com:john30/ebusd into enhanced_device 2020-12-06 17:04:29 +01:00
john30 4569b04266 add debug defines 2020-12-06 11:40:28 +01:00
john30 aaccb15a9b Merge branch 'enhanced_device' of github.com:john30/ebusd 2020-11-01 18:11:19 +01:00
john30andJohn-Michael Baier edfe09a383 add global/scan topic revealing status of --scanconfig option initiated scan (fixes #304) 2020-06-01 10:56:34 +02:00
john30andJohn-Michael Baier 6168af1f5a allow trailing "*" as wildcard for circuit and name in /list topic 2020-06-01 10:56:32 +02:00
john30 5e97d0864d compiler warning, add another test for exp 2020-05-16 09:51:48 +02:00
john30 80a105f293 compiler warning 2020-05-16 09:51:19 +02:00
john30 9e152daaa8 resolve net device host during connect (fixes #336) 2020-04-11 16:31:47 +02:00
john30 dfa034be18 add --mqttinsecure option (fixes #334) 2020-04-11 16:07:50 +02:00
john30 f313658f90 add global/scan topic revealing status of --scanconfig option initiated scan (fixes #304) 2020-04-11 15:36:24 +02:00
john30 6cea449478 allow trailing "*" as wildcard for circuit and name in /list topic 2020-04-11 15:30:20 +02:00
john30 e61b507615 add dedicated error code for arbitration running 2020-04-11 13:28:40 +02:00
john30 165efcb25f add DEBUG_RAW_TRAFFIC define for debugging low level raw traffic 2020-04-11 13:27:51 +02:00
john30 b2eed484b3 fix potential illegal string usage 2020-04-11 13:26:40 +02:00
john30 a46292468a don't require logging if log file is not set 2020-04-11 13:26:10 +02:00
john30 dae039e563 add FORWARD_RAW_TTY define to use raw output as option to forward data to a serial connection with same params as a usual bus interface 2020-04-11 13:20:10 +02:00
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