Commit Graph
1977 Commits
Author SHA1 Message Date
John-Michael Baier b00aec4611 add clion ignores 2020-12-06 16:27:31 +01:00
John-Michael Baier 3f7ca96477 add arbitration cancellation 2020-11-29 19:15:18 +01:00
John-Michael Baier e70e474dce fix for cancelling arbitration 2020-11-29 19:13:52 +01:00
John-Michael Baier fe9235e569 documentation 2020-11-01 22:18:03 +01:00
John-Michael Baier 7b4e2eb261 log request start 2020-11-01 16:11:17 +01:00
John-Michael Baier db8fc965df cancel running request on arbitration error 2020-11-01 16:10:48 +01:00
John-Michael Baier 0092320c0f measure arbitration delay in enhanced proto as well 2020-11-01 16:09:58 +01:00
John-Michael Baier 512b9d9456 set entry arbitration state for state machine to work properly 2020-11-01 15:35:39 +01:00
John-Michael Baier df510b8475 better raw log flushing after maximum allowed master length 2020-11-01 13:32:14 +01:00
John-Michael Baier 1b0752f2bf flush raw log after maximum allowed master length 2020-11-01 13:18:52 +01:00
John-Michael Baier dc8de61042 fix logging sent byte when arbitration was lost 2020-11-01 11:08:31 +01:00
John-Michael Baier 91745fe847 add host latency 2020-11-01 10:44:15 +01:00
John-Michael Baier 7342fd0984 switch to milliseconds instead of micros for better readability 2020-11-01 10:43:36 +01:00
John-Michael Baier d02b2bd331 move transfer latency to device 2020-11-01 10:25:57 +01:00
John-Michael Baier e519193797 compiler warning 2020-05-09 09:23:14 +02:00
John-Michael Baier 60a138a045 Merge remote-tracking branch 'origin/master' into enhanced_device
# Conflicts:
#	src/lib/ebus/device.cpp
#	src/lib/ebus/device.h
2020-05-09 09:19:30 +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