Commit Graph
74 Commits
Author SHA1 Message Date
John 82693fb51f rework ebus protocol engine (consume buffered data in a row, avoid starting arbitration when data is buffered, separate transport to/from device) 2023-11-26 15:32:03 +01:00
John dd3721e7f4 rework info transfer, missed commit 2023-11-11 09:30:01 +01:00
John 307786e08b move factory method 2023-11-10 18:52:57 +01:00
John 0468643817 add enum, small optimization, formatting 2023-11-10 18:32:30 +01:00
John 009729cbdf extract method 2023-11-10 07:24:21 +01:00
John e345b40d34 rename method 2023-11-10 07:14:15 +01:00
John 5e2509b60c allow initsend for enhanced as well, cleaner separation 2023-10-14 16:23:04 +02:00
John 2c7cab3dc1 update year 2023-06-16 20:40:35 +02:00
John 0ede430ece extra layer for device, more abstraction 2023-06-16 20:26:30 +02:00
John 1895339e45 add timeout for info request and allow more being optional, support shorter config response, comments 2023-05-01 19:32:14 +02:00
John 5d3c6f097e only send device update info when it is extractable 2022-12-18 09:45:56 +01:00
John 68540b1d6c handle enhanced side data without bus signal as well 2022-12-17 18:57:13 +01:00
John f3d030c137 reveal enhanced device version in info cmd and add to update check, unify wait 2022-12-17 17:20:19 +01:00
john30 ce6ea68f22 formatting, remove unused 2022-09-17 23:57:24 +02:00
John b1893abe7d reset the connection completely if adapter was reset 2022-08-31 20:24:01 +02:00
John aa50e2388c add high speed serial mode 2022-04-10 16:37:54 +02:00
John 4172c7d6a1 add arbitration state timeout 2022-03-13 18:01:21 +01:00
John 7552ded150 check arbitration timeout 2022-03-13 17:25:59 +01:00
John 7ae43351da code style 2022-02-12 12:42:35 +01:00
John 0135dc9100 update year 2022-02-06 13:37:08 +01:00
John a75acb5d46 documentation 2022-02-05 19:15:56 +01:00
John 8af96e41d0 set min host latency to 10ms 2021-12-11 17:15:18 +01:00
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