Commit Graph

18 Commits

Author SHA1 Message Date
Victor Antonovich 2b32d097d2 Move string trim functions to util.c 2023-12-25 17:55:55 +03:00
kpr0th 7475bdf141
Logging fix and enhancement (#90)
* Logging fix and enhancement

Corrected issue where loglevel in mbusd.conf wasn't parsed correctly. Added support for logfile in mbusd.conf.  Updated README and mbusd..conf.example to true-up with "-h" output and new logging options.

* Updated README

Sync'd up verbiage in the usage details with the usage summary.

* Additional adjustments to sync up README w/ -h output
2023-12-25 12:52:43 +03:00
Victor Antonovich 20c87df994 Add `rts_1` config value as an alias for `rts` 2023-11-27 15:43:34 +03:00
Cían Hughes 4ee7e8a834
Add new flag (-r) to support inverted RTS flow control\n\nThis is useful if you have a MAX485 connected to a Raspberry PI where you pull want RST low to transmit (#98) 2023-11-27 15:14:38 +03:00
Victor Antonovich 6517dea57f Make use of Linux RS-485 support #97 2023-09-29 18:04:09 +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 252aa45e5d Improve serial port config handling and logging 2020-08-13 20:43:03 +04:00
Victor Antonovich ad58141b87 Fix division by zero error for default serial port speed 2020-08-13 11:52:18 +04: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
Victor Antonovich f5becef211 Take into account tty parity bit in the timing calculations (#59) 2020-05-22 15:47:50 +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 3ea208491a Add support for read configuration from file 2017-11-29 15:30:24 +03:00
Victor Antonovich e2a9f262e9 Added serial port mode configuration option (`-m`). 2015-06-08 18:36:29 +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 0696cbd292 Initial revision 2003-09-13 20:34:30 +00:00