Victor Antonovich
1efb812013
Fix for "Resource temporarily unavailable" error in tty read() ( #78 )
2021-11-12 18:04:31 +03:00
Victor Antonovich
4cd68c1bb8
Update version to 0.5.1 and year to 2021
2021-11-12 12:20:48 +03:00
Victor Antonovich
a2272c5793
Parse replyonbroadcast config option value #75
2021-07-06 16:37:36 +03:00
Danny
b22ffa0856
feature-reply-on-broadcast
2021-06-19 12:37:55 +07:00
Victor Antonovich
432b7a1a8f
mbusd 0.5.0
2020-11-28 13:47:32 +04:00
Victor Antonovich
252aa45e5d
Improve serial port config handling and logging
2020-08-13 20:43:03 +04:00
Victor Antonovich
461ce8baa0
Do not wait for a reply for RTU broadcast address #61
2020-08-13 17:39:30 +04:00
Victor Antonovich
ad58141b87
Fix division by zero error for default serial port speed
2020-08-13 11:52:18 +04:00
Victor Antonovich
c6301d4250
Merge pull request #63 from KrystianD/feat-baudrate
...
Show an error when trying to use unsupported baudrate
2020-08-13 11:23:27 +04:00
Krystian Dużyński
32344e5f94
Fix log message (baudrate to speed)
2020-08-12 00:35:02 +02:00
Krystian Dużyński
d24b257c13
Make use of baudrate 0 as indicator of default baudrate, show error when trying to use unsupported baudrate
2020-08-12 00:28:23 +02:00
Krystian Dużyński
965ff443c8
Remove unused resppause member
2020-08-12 00:27:48 +02:00
Krystian Dużyński
4bf9d94713
Add more baudrates
2020-08-12 00:08:58 +02:00
Victor Antonovich
5eb74fa568
Fix GCC C99 compatibility error
2020-05-22 16:56:31 +04:00
Victor Antonovich
f5becef211
Take into account tty parity bit in the timing calculations ( #59 )
2020-05-22 15:47:50 +04:00
Victor Antonovich
88916fe82d
Add IPv6 support ( #53 )
2019-07-17 17:04:22 +04:00
Victor Antonovich
2aa063db79
Add command-line and config options to set an TCP socket address ( #53 )
...
Still no IPv6 support though.
2019-07-16 11:14:37 +04:00
Victor Antonovich
caec364ac1
mbusd 0.4.0
2019-07-08 13:45:36 +04:00
Victor Antonovich
c582e6f052
Move queue_next_elem() outside of the switch
block ( fix #52 )
2019-07-08 13:24:45 +04:00
Dustin Lundquist
5c064928ae
modbus: read only a single frame at a time
...
When multiple modbus frames were queued in the socket buffer
conn_read() would read until it completely drained the
kernel's socket buffer or filled the connection buffer. The first modbus
frame in the buffer is then processed and sent to the tty, then the
buffer is reused for the reponse after it is received from the tty
possibly overwritting any subsequent modbus request frames already read.
Avoid this by maintaining pre-connection length to read, so we only read
a single modbus frame at a time.
2019-01-25 14:13:12 -08:00
Victor Antonovich
b5e3c5324a
Implement tty reconnect with exponential backoff
2019-01-04 19:28:22 +04:00
Victor Antonovich
d507507d29
Try to reinit tty on EOF ( #41 )
2019-01-04 12:54:48 +04:00
Victor Antonovich
076120bf6c
Force set tty CLOCAL mode flag (trying to address #41 )
2019-01-03 20:45:52 +04:00
Victor Antonovich
77f1ccd345
Merge branch 'master' of https://github.com/3cky/mbusd.git
2018-04-26 13:55:47 +03:00
Victor Antonovich
fb4f8fb569
Handle incorrect Modbus/TCP data length header field #31
2018-04-26 13:10:57 +03:00
dwyer-employee
8f2ccf1ec0
Modbus RTU Exception Forwarding ( #29 )
...
Add checking for Modbus exception codes returned by RTU slaves
These PDUs are now forwarded to the TCP client.
2018-03-26 13:12:43 +03:00
NickMa
fb3d6d6489
Cmake gitlabci ( #25 )
...
* gitlabci: hardcoded the debian systemd path
* cmake: no failure on forced SYSTEMD_SERVICES_INSTALL_DIR
* gitlabci: added fedora target
* gitlabci: added fedora package
* gitlabci: added another fedora package
* gitlabci: fedora changed rpmbuilder
* fedora...
* fedora package name try4
* rpmdevtools detection
* gitlabci: changed rpm detection
* gitlabci: rpmbuilder detection
* rpmbuilder added references
* gitlabci: changed the expiration timespan to 6months
* removed always false comparison (dbglvl is unsigned)
2018-03-05 17:19:52 +03:00
Nick
cae88552d3
more automake cleanup
...
removed the last *.am and *.in files
2017-11-29 22:32:08 +01:00
Nick
d6cec7305b
Merge branch 'master' into feature_cmake
2017-11-29 15:52:23 +01:00
Victor Antonovich
3ea208491a
Add support for read configuration from file
2017-11-29 15:30:24 +03:00
Victor Antonovich
7fb5309551
Systemd service file generation using autotools
2017-11-23 13:09:03 +03:00
Nick
d26f68ee05
added initial support for cmake
...
Note: make install is currently not supported
2017-11-22 09:46:28 +01:00
luuloe
3e7fefc926
* systemd-support: log to stderr in non-daemon mode to ensure log entries are pushed to journal right away (stdout is buffered)
2017-11-02 11:45:52 +00:00
luuloe
bcc355c6be
* systemd: SIGINT and SIGTERM signals return exit(0) to allow clean termination
2017-11-02 07:57:25 +00:00
luuloe
e45f616520
* updated automake to install systemd unit file
2017-10-29 20:37:42 +00:00
James Jarvis
fe1060b339
Added to man page and cfg header
2017-02-16 16:55:58 -06:00
James Jarvis
54fffd0895
Applied sysfs gpio RS-485 directional control patch from APRS World
2017-02-16 16:34:31 -06:00
Gaute Nilsson
52fcc6120f
Fix illegal characters in comment header
2016-10-17 08:26:26 -07:00
Victor Antonovich
9ebec021fb
Fixed automake build
2016-04-25 19:45:26 +03:00
Victor Antonovich
858931306f
mbusd 0.2.3
2016-04-25 19:10:31 +03:00
Victor Antonovich
58244c0176
RTU response wait time raised to 500 ms
2016-04-25 18:17:11 +03:00
Victor Antonovich
c3b18ab039
Allow 8 bit only character size in tty mode string
2016-02-22 18:19:46 +04:00
Victor Antonovich
265cc23117
Fixed tty mode setup on platforms with cfmakeraw available (see #7 )
2016-02-22 18:17:03 +04:00
Victor Antonovich
e3e050a126
mbusd 0.2.2
2015-12-18 16:00:07 +04:00
Victor Antonovich
85943e89f5
Fix #3
2015-12-17 13:12:32 +04:00
Victor Antonovich
e2a9f262e9
Added serial port mode configuration option (-m
).
2015-06-08 18:36:29 +04:00
Victor Antonovich
dc5cdc80a7
Changed .cvsignore to .gitignore.
2015-06-08 16:47:14 +04:00
kapyar
d04736878d
mbusd 0.2.0:
...
+ RTS RS-485 transmit/receive control
* RTU response receiving by length
* Standard exception codes for receive error (04) and timeout (0x0B)
2015-02-25 10:33:57 +00:00
kapyar
0bb1a8910e
* Updated build infrastructure (x86_64 build fixed);
...
* Fixed serial interface initialization under Linux;
* Default RTU client response wait timeout increased to 50 ms;
+ Added Eclipse CDT project files.
2013-11-18 08:57:00 +00:00
kapyar
07c98cc84e
Zero length of log file name interpreted as no log file needed
2003-10-26 19:26:08 +00:00