Added to man page and cfg header

This commit is contained in:
James Jarvis 2017-02-16 16:55:58 -06:00
parent 0c393d2320
commit fe1060b339
2 changed files with 8 additions and 0 deletions

View File

@ -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.

View File

@ -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 */