Add visual or audible alert support on connect/disconnect

The feature is detailed via the following option:

 --alert none|bell|blink

     Set alert action on connect/disconnect.

     It will sound the bell once or blink once on successful connect.
     Likewise it will sound the bell twice or blink twice on disconnect.

     Default value is "none" for no alert.
This commit is contained in:
Martin Lund 2022-09-10 22:27:31 +02:00
parent 68fc159654
commit dbc9a8e82d
12 changed files with 195 additions and 7 deletions

View file

@ -256,6 +256,16 @@ Receive data even while sending data
If defining more than one key or key value pair, they must be comma separated.
.RE
.TP
.BR "\-\-alert none|bell|blink"
Set alert action on connect/disconnect.
It will sound the bell once or blink once on successful connect. Likewise it
will sound the bell twice or blink twice on disconnect.
Default value is "none".
.TP
.BR \-v ", " \-\-version
@ -389,6 +399,8 @@ Set line response timeout
Enable RS-485 mode
.IP "\fBrs-485-config"
Set RS-485 configuration
.IP "\fBalert"
Set alert action on connect/disconnect
.SH "CONFIGURATION FILE EXAMPLES"