Commit Graph
90 Commits
Author SHA1 Message Date
John cf9d0cc030 extract and use common socketConnect method and apply timeout on device connect (potential fix for #594) 2022-09-18 12:01:29 +02:00
john30 ce6ea68f22 formatting, remove unused 2022-09-17 23:57:24 +02:00
John 49a6014c43 add bootloader version and reset info, debugging 2022-08-31 20:25:22 +02:00
John b1893abe7d reset the connection completely if adapter was reset 2022-08-31 20:24:01 +02:00
John 2cb186da46 fix high-speed enhanced serial mode 2022-07-30 17:53:25 +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 980594758a better readbility 2022-03-13 17:52:46 +01:00
John 7552ded150 check arbitration timeout 2022-03-13 17:25:59 +01:00
John 6e9647ffd6 flush on debug raw 2022-03-13 17:05:48 +01:00
John bb965173b4 add more info from next fw version 2022-02-20 19:44:28 +01:00
John d4ae0e9e46 code style 2022-02-12 12:50:11 +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 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 dc1a1ecc56 more DEBUG_RAW_TRAFFIC logging 2021-03-27 16:34:22 +01:00
John 3af8ede096 updated copyright year 2021-01-16 08:32:09 +01:00
John 62221bbdce Merge remote-tracking branch 'origin/enhanced_device' 2021-01-10 21:27:09 +01:00
john30 2f3f04222e fix for UDP connection introduced 20200411 with fix for #336 (fixes #383 2021-01-10 21:25:37 +01:00
john30 5c07889801 formatting 2021-01-10 15:36:02 +01:00
John 8bd35646d3 formatting 2021-01-10 15:12:59 +01:00
John-Michael Baier e70e474dce fix for cancelling arbitration 2020-11-29 19:13:52 +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 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 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 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 7b8ceb7db5 support cygwin build 2020-01-11 12:51:37 +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 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 ce4f500198 set baudrate to 115200 for enhanced proto over serial connection 2018-09-23 12:21:51 +02:00