mirror of
https://github.com/3cky/mbusd.git
synced 2025-02-05 23:21:28 +01:00
Added to man page and cfg header
This commit is contained in:
parent
0c393d2320
commit
fe1060b339
@ -37,6 +37,12 @@ Usage help.
|
||||
Instruct \fImbusd\fR not to fork itself (non-daemonize).
|
||||
.IP \fB-t\fR
|
||||
Enable RTS RS-485 data direction control (if not disabled while compile).
|
||||
.IP "\fB-y \fIfile\fR"
|
||||
Enable RS-485 direction data direction control by writing '1' to file
|
||||
for transmitter enable and '0' to file for transmitter disable
|
||||
.IP "\fB-Y \fIfile\fR"
|
||||
Enable RS-485 direction data direction control by writing '0' to file
|
||||
for transmitter enable and '1' to file for transmitter disable
|
||||
.IP "\fB-v \fIlevel\fR"
|
||||
Specifies log verbosity level. 0 enables logging of errors only,
|
||||
1 also enables warnings and 2 enables information messages.
|
||||
|
@ -56,6 +56,8 @@ typedef struct
|
||||
char *ttymode;
|
||||
/* trx control type (0 - ADDC, 1 - by RTS, 2 - by sysfs GPIO with 1 activating transmit, 3 - by sysfs GPIO with 0 activating transmit) */
|
||||
int trxcntl;
|
||||
/* trx control sysfs file */
|
||||
char trxcntl_file[INTBUFSIZE + 1];
|
||||
/* TCP server port number */
|
||||
int serverport;
|
||||
/* maximum number of connections */
|
||||
|
Loading…
Reference in New Issue
Block a user