Commit Graph
769 Commits
Author SHA1 Message Date
john30 165efcb25f add DEBUG_RAW_TRAFFIC define for debugging low level raw traffic 2020-04-11 13:27:51 +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 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 177568c537 sharpen net device check keepalive options 2019-12-29 14:45:04 +01:00
john30 a68adba23f fix for new enhanced proto 2019-12-03 08:01:06 +01:00
john30 f84b5bb4ce implemented new enhanced proto 2019-11-30 00:13:36 +01:00
john ede35485d2 documentation 2019-10-06 17:06:55 +02:00
john 0ee454838d Merge remote-tracking branch 'origin/master' into enhanced_device
# Conflicts:
#	src/lib/ebus/device.cpp
2019-10-06 14:26:49 +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 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
Alex SamorukovandJohn 67fc6e59cc FreeBSD and MacOS related fixes and improvements: compilation and serial port access (#290)
fixes for compilation and usage under FreeBSD+MaxOS including setting low latency for FTDI device (thanks @samm-git)
2019-08-11 08:06:13 +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 94932c1fe1 fix for #266 2019-03-16 15:50:45 +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 9cf2f426b6 fixed docu 2018-12-26 16:06:14 +01:00
john30 4dfa163efa code style 2018-12-26 16:03:14 +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 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 be8d772524 avoid using C++11 isnan 2018-12-22 19:16:04 +01:00
john a1254fc2a3 Merge branch 'master' into enhanced_device 2018-12-02 15:57:43 +01:00
john30 8ed1e4f151 fixed NaN in JSON (fixes #225) 2018-12-02 13:13:05 +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
john 23bab07ea0 Merge remote-tracking branch 'origin/master' into enhanced_device 2018-12-02 11:29:29 +01:00
john30 45b9bad57e missing include (fixes #212) 2018-10-21 14:42:00 +02:00
john30 18bd21f23f fix for bit combinations during write to SymbolString (fixes #202) 2018-10-03 11:00:31 +02:00
john30 6bd433af46 fix for bit combinations during write to SymbolString 2018-10-03 10:53:38 +02:00
john30 799f6307be corrected write testing and some test cases, added more tests for bit combinations 2018-10-03 10:51:57 +02:00
john ce4f500198 set baudrate to 115200 for enhanced proto over serial connection 2018-09-23 12:21:51 +02:00
john 8b04eb3d28 better documentation 2018-09-16 19:54:28 +02:00
john 7696cb822b allow enh: prefix for serial device as well 2018-09-16 16:32:04 +02:00
john30 13ee2a1fd7 notify sent master address on arbitration success/failure 2018-09-15 14:06:52 +02:00
john30 76013fbc27 moved buffering to common Device, completed support for enhanced proto 2018-09-15 12:50:40 +02:00
john30 d3120760bc added support for enhanced protocol 2018-05-13 20:26:39 +02:00