Commit Graph
52 Commits
Author SHA1 Message Date
John 9a4b132e35 add extra latency needed for enhanced mode 2021-11-01 13:36:30 +01:00
John e5b5df79c2 backdrop enhanced info delay, check enhanced info request result, formatting 2021-09-12 19:46:06 +02:00
John 3f347d059a prepare upcoming adapter3 firmware enhancements 2021-09-11 08:59:20 +02:00
John 61958107af log read only, enhanced, and device 2021-01-30 20:14:28 +01:00
John 3af8ede096 updated copyright year 2021-01-16 08:32:09 +01:00
john30 5c07889801 formatting 2021-01-10 15:36:02 +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-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 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 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 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 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
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
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
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 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
john30 f3d12a321c moved arbitration logic to device 2018-05-13 18:18:31 +02:00
john30 1c17f7c466 use nullptr instead of NULL 2018-05-06 14:54:52 +02:00
john30 4013ecd14c close device on error 2018-04-15 08:37:34 +02:00
john30 fa78ae73f0 updated copyright year 2018-01-28 15:17:33 +01: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 f8463fbf74 release memory upon destruction of NetworkDevice 2017-04-22 12:06:29 +02:00
john30 9461e64cc5 avoid virtual with override 2017-03-04 14:08:19 +01:00
john30 18fc12499b introduced symbol_t, added SymbolString::dataAt() and ::isMaster(), renamed SymbolString::getDataStr() to getStr(), use size_t/ssize_t where appropriate, simplified by use of new SymbolString methods, corrected broadcast scan conversion, use override declaration 2017-03-04 14:01:20 +01:00
john30 ca164185dc fix doxygen and put everything besides main function in namespace ebusd 2017-02-25 16:12:09 +01:00
john30 bbc29bdb2f switched to absolute include dirs, formatting 2017-02-04 19:28:31 +01:00
john30 0771e8ee6b updated copyright year 2017-02-04 08:04:20 +01:00
john30 5bf2f124b3 code style 2017-01-14 19:00:47 +01:00
john30 ebcb260d5f use spaces instead of tab 2017-01-14 18:01:37 +01:00
john30 0217096b6b code style 2017-01-14 17:34:02 +01:00
john30 774e01e937 use own namespace 2017-01-14 16:41:54 +01:00
john30 54a6c0f673 code style 2017-01-14 15:02:10 +01:00
john30 b3bb2e08ac code style 2017-01-14 13:00:04 +01:00
john30 cdbcb4664d added --lograwdatafile and --lograwdatasize options similar to --dumpfile/--dumpsize for logging received/sent bytes to a dedicated text file, extracted dump/raw file handling to a separate class, switched to an interface instead of a method for dumping/logging raw data, changed default dump file name to /tmp/ebusd_dump.bin, use "s_" for static variables, formatting 2016-12-04 17:21:47 +01:00
john30 eff7355ef5 added isReadOnly 2016-11-20 16:58:52 +01:00
john30 681e988570 fix serial close 2016-05-22 10:46:37 +02:00
john30 d5b07f5783 added support for UDP devices, added buffer for network devices, added option for sending an initial symbol after opening a network device, added option for setting transfer latency and use default 10 ms for network device, set TCP_NODELAY for TCP device socket, flush potentially buffered input on network device when connecting 2016-05-05 12:39:52 +02:00
john30 767cb9bc1f updated copyright year 2016-01-06 13:54:01 +01:00
john30 e5da097b60 added documentation 2015-11-21 14:31:17 +01:00
john30 0b4cbf1cf6 better initialization 2015-11-08 12:11:05 +01:00
john30 9dbdeffe0c unified copyright notice 2015-11-07 14:47:13 +01:00
john30 39c00de51e fixed documentation 2015-05-14 13:05:19 +02:00
john30 7aa153848e updated author address 2015-05-14 10:47:51 +02:00