set rtstoggle
Purpose
Used to:
- Enable or disable RTS toggle on a given serial port. RTS toggle is used to raise RTS when sending data.
- Display current RTS toggle settings.
There is no revert command option for reverting the settings configured by this command.
Required permissions
For Digi products with two or more users, to use this command, permissions must be set to one of the following:
- For a user to display the RTS toggle settings for the line on which they are logged in: set permissions s-rtstoggle=r-self.
- For a user to display the RTS toggle settings for any line: set permissions s-rtstoggle=read.
- For a user to display and set the RTS toggle settings for the line on which they are logged in: set permissions s-rtstoggle=rw-self.
- For a user to display the RTS toggle settings for any line, and set RCI serial settings for the line on which the user is logged in: set permissions s-rtstoggle=w-self-r.
- For a user to display and set the RTS toggle settings on any line: set permissions s-rtstoggle=rw.
See set permissions for details on setting user permissions for commands.
Syntax
Enable or disable RTS toggle
set rtstoggle port=range [state={on|off}]
[predelay=delay]
[postdelay=delay]
Display current RTS toggle settings
set rtstoggle [port=range]
Options
port=range
Used to specify the serial port. Optional on a single-port device.
state={on|off}
Used to enable or disable the RTS toggle feature.
on
Enables the RTS toggle feature.
off
Disables the RTS toggle feature.
The default is off.
predelay=delay
Specifies the time in milliseconds to wait after the RTS signal is turned on before sending data. The range is 0 to 5000 milliseconds. The default is 0.
postdelay=delay
Specifies the time in milliseconds to wait after sending data before turning off the RTS signal. The range is 0 to 5000 milliseconds. The default is 0.
Examples
#> set rtstoggle state=on predelay=10