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 Samorukov and John
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
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
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
b0e20b7c7c
code style
2017-12-26 14:27:44 +01:00
john30
a87ea4a6d8
file mode
2017-11-19 11:59:33 +01:00
john30
b18d7f38bb
wait some time for initial garbage in tcp mode and fixed dumping garbage, use FIONREAD instead of MSG_PEEK for cygwin ( fixes #132 )
2017-11-19 11:58:31 +01:00
john30
343a443e98
set ASYNC_LOW_LATENCY flag on serial device just like setserial does to fix huge latency found on recent kernel versions
2017-06-03 08:27:55 +02:00
john30
727aca8309
removed unncessary casts, allow more than one file to match, compiler warnings
2017-05-01 17:09:56 +02: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
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
bbc29bdb2f
switched to absolute include dirs, formatting
2017-02-04 19:28:31 +01:00
john30
f1c5c0ab28
updated copyright year
2017-01-15 11:10:08 +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